Thursday, November 23rd 2017, 11:59am UTC+1

You are not logged in.

  • Login
  • Register

Search results

Search results 1-19 of 19.

Friday, November 17th 2017, 3:00pm

Author: mjanas10

Bug in GUI_ALLOC_GetNumFreeBlocks?

Dear all Would you be so kind as to help me understand why number of free blocks increases when number of free bytes decreases, please? I'm updating GUI via GUI_Delay. Then I'm checking the memory status as follows: while (true) { GUI_Delay(1); lgGUIFreeBytes = GUI_ALLOC_GetNumFreeBytes(); lgGUIUsedBytes = GUI_ALLOC_GetNumUsedBytes(); lgGUIFreeBlocks = GUI_ALLOC_GetNumFreeBlocks(); lgGUIUsedBlocks = GUI_ALLOC_GetNumUsedBlocks(); } What I've noticed is that by opening a new window, with edit widg...

Friday, November 17th 2017, 11:50am

Author: mjanas10

MESSAGE does not disapper after clicking OK

Dear all GUI_MessageBox pops up but does not disappear when I hit OK, any idea? Thanks

Wednesday, November 15th 2017, 1:06pm

Author: mjanas10

GRAPH Scale - start offset

Dear all Regarding GRAPH widget, is it possible to start the x-axis from 200 and stop at 800? Do I need YT or XY graph? Thanks

Monday, November 13th 2017, 4:54pm

Author: mjanas10

How to get the window ID?

Dear all A very simple question, how to get the ID of a window rather than its handle? Thanks

Wednesday, November 8th 2017, 6:48pm

Author: mjanas10

Edit not displaying chars created with Font Converter?

Dear all Trying to print characters I've created with a Font Converter but they ain't displayed in EDIT widget. They are being displayed in a BUTTON widget though. Any ideas? Thanks

Wednesday, November 8th 2017, 4:33pm

Author: mjanas10

Re-initialising DIALOG???

Dear all Is it possible to reinitialise Dialog such that WM_INIT_DIALOG message is sent again? Basically what I want to do is create a dialog, then hide it and then reopen it with new init params. Thanks

Friday, November 3rd 2017, 10:38am

Author: mjanas10

Changing the parent on the go?

Dear all Is it possible to change the parent of a child on the go? For example, I'd define one unique child window for a keyboard and hide it. Then I'd show it for a chosen parent. Thanks

Wednesday, November 1st 2017, 1:47pm

Author: mjanas10

File System

Dear all Is it possible to customise CHOOSEFILE dialog such that more buttons or extra columns could be added? If not what the best way to create a custom file system dialog as shown in the attached picture? Best regards Thanks

Thursday, October 26th 2017, 11:53am

Author: mjanas10

FONT - more detail please!

What I'm doing prior to that and which I hadn't shown is set the foucs on the edit widget to make sure it gets the key input. So I am printing but in the edit box. All characters are being printed apart from '!, ", euro sign'.

Tuesday, October 24th 2017, 3:32pm

Author: mjanas10

FONT - more detail please!

Hi there Thanks for the quick reply. So I tried displaying exclamation mark as follows and none of the options works: uint16_t c; c = 0x0021; c = '!'; c = "!"; // does not even compile "char*" cannot be assigned to an entitiy of type "unit16_t" GUI_StoreKeyMsg(c, 1); // Pressed state. GUI_StoreKeyMsg(c, 0); // Released (unpressed) state. Similarly, quotation mark isn't working. Any idea? Thanks

Tuesday, October 24th 2017, 1:09pm

Author: mjanas10

FONT - more detail please!

Dear all I don't understand what is meant by first and last character in GUI_FONT_PROP_EXT. Could you please explain in more detail please? I managed to convert Arial into .c file using Font Converter. However I still don't understand how compiler knows that a given font code corresponds to a given character, i.e. I'm trying to print out an exclamation mark (0x0021) but it isn't working. Thanks

Thursday, October 19th 2017, 5:59pm

Author: mjanas10

Focus - why buttons not focussable?

Dear all I'm struggling to understand why you would want Buttons in an exemplary Keypad to be set non-focussable, as in example WIDGET_NumPad where BUTTON_SetFocussable(hItem, 0)? What's the use of focusability in general and why it doesn't suit in this particular case? Wouldn't it be easier if you had known that the user has focused exactly on a given button? Cheers

Thursday, October 19th 2017, 3:47pm

Author: mjanas10

Global Keyboard for different Edit widgets

Dear all I have various non-related windows (i.e. they could be siblings but not necessarily) with Edit widgets. Now I want to create a separate Keyboard dialog in a separate source file and make it pop up whenever user taps Edit widget to start typing. The thing is I want this Keyboard dialog to be universal and used by any Edit widget anywhere. Any idea how that could be achieved? Thanks

Monday, October 16th 2017, 3:52pm

Author: mjanas10

What is the behaviour of CHOOSEFILE widget?

Dear all I'm trying to figure out how to respond to keypresses in the CHOOSEFILE widget ("OK", "Cancel" and "UP"). I thought I was going to be able to control it via GetData() callback. However it is not evident how to know what button has been pressed. Could you clarify how to interact with CHOOSEFILE buttons, please? E.g. I press "OK", I do something with the file. At the moment, if I press "Cancel", the dialog disappears irreversibly. Thanks

Tuesday, October 10th 2017, 1:27pm

Author: mjanas10

Hide Parent with Children - keep children hidden when showing parent again

Dear all I have an active parent window with children. I'd like to hide the parent including its children. It appears that I need to hide individual child windows one by one, otherwise if I show the parent the unhidden children will be painted. Is it possible to hide the all of the windows at once such that once I show the parent again the children would still be hidden?

Thursday, October 5th 2017, 2:53pm

Author: mjanas10

Window to Window comms - Parent to Parent

Dear all I wondered if you could help me solve this puzzle. Scenario is as follows: there are two unrelated windows (i.e. both windows are parents to different children), defined in two different source files. For example, I have a main window and a footer window, both visible. Then how do I communicate to the main window that the footer window wants to, for example, display something else on the main window? I know I can use WM_SendMessageNoPara(hWinMain, WM_FOOTER_BUTTON_BACK); in the footer c...