Tuesday, March 20th 2018, 2:53pm UTC+1

You are not logged in.

  • Login
  • Register

Search results

Search results 1-20 of 30.

Thursday, December 14th 2017, 5:14pm

Author: mjanas10

Why child window preserves what was drawn by the grandparent?

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

Thursday, December 14th 2017, 4:56pm

Author: mjanas10

Simple pixel draw outside WM_PAINT???

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

Thursday, December 14th 2017, 3:57pm

Author: mjanas10

Simple pixel draw outside WM_PAINT???

Dear all All I want to do is draw a pixel calling GUI_DrawPixel anywhere in the code. It works only in the window WM_PAINT. However every call outside the WM_PAINT isn't drawing any pixels even though I make sure I call WM_InvalidateWindow. Is there some kind a trick I'm misisng? Thanks

Thursday, December 7th 2017, 5:07pm

Author: mjanas10

Please help!

Any more info on that please? I would like X axis to start from StartValue and end at EndValue. Thanks

Thursday, December 7th 2017, 1:13pm

Author: mjanas10

CHECKBOX in SWIPELIST - how to check which one selected?

Dear all How to check which checkbox has been selected when it's embedded as a child of SWIPELIST parent? Thanks

Wednesday, December 6th 2017, 4:57pm

Author: mjanas10

How to force window to invalidate itself such that it jumps to WM_PAINT?

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...

Tuesday, December 5th 2017, 12:58pm

Author: mjanas10

Button SKIN - change button colour upon button press.

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

Wednesday, November 29th 2017, 10:56am

Author: mjanas10

DROPDOWN selection clicks on the background widgets

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?...

Monday, November 27th 2017, 4:47pm

Author: mjanas10

SKINNING - font size change using the same skin?

Dear all How to make the Font size change using the same button skin? Thanks

Sunday, November 26th 2017, 12:24pm

Author: mjanas10

Skinning EDIT widget?

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

Saturday, November 25th 2017, 12:03pm

Author: mjanas10

SKINNING - ways to pass a value (text) to a skinning callback

Dear all How can I pass a text to a common skinning callback without having to check what widget it has been? I would like to do it without using: - globals - WM_GetId(); - <WIDGET>_GetUserData to get, for example, the index Thanks very much for support so far

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'.