Search Results
Search results 1-20 of 30.
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
Dear all I created a child window and I called GUI_Clear() in WM_PAINT of the parent window hoping that it would clear the background of the child window. What happens is the parent window gets cleared leaving a hole in the place where the child window is. Why child window preserves what was drawn by the grandparent? Thanks
-
Hi Sven Thanks for the quick reply. To answer your question whether there is a specific reason why I want to draw the pixel without WM_PAINT, it is simply because I'd like to draw a simple x-y graph without the overhead of GRAPH widget and to add 'pinch-and-zoom' capability. Hence I created a window in which I drew x-y axes and now I want to start filling the window with x, y data. Simple as that and yet seems not possible? Cheers
-
Please help!
PostAny more info on that please? I would like X axis to start from StartValue and end at EndValue. Thanks
-
Dear all How to force window to invalidate itself such that it jumps to WM_PAINT? I have been trying to invalidate windows such that a different button is displayed depending which window I find myself in. For example, I have a top window and a bottom window. Inside the top window there are child windows. If I select TopChild1 then different buttons should appear at the bottom window. I managed to get that to work only once. That is thanks to WM_GET_ID with which I communicate from the TopChild1…
-
Dear all Having this quick question: how to toggle the background colour of a skinned button? Where shall I change the colour: in the WM_NOTIFICATION_RELEASED of the pertinent window callback or in the button skin callback itself? Could you provide a different example than the WIDGET_ButtonRound, please? Thanks
-
Dear all Thanks very much for the brilliant support. This time I'm wondering if you come across the situation where by selecting an element from a dropdown box, the click impacts the background widgets. I tried disabling and then enabling background window but that is not working either, as shown below. case ID_DROPDOWN: { switch(NCode) { case WM_NOTIFICATION_SEL_CHANGED: { WM_DisableWindow(pMsg->hWin); DROPDOWN_Collapse(pMsg->hWinSrc); WM_EnableWindow(pMsg->hWin); break; } } break; } Any clues?…
-
Dear all Is it possible to skin the EDIT widget? On that topic, how to make one callback for skinning that would apply to all widgets? Thanks
-
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…
-
File System
PostDear 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