Hello together,
I just want to write some text in the client area of a frame window.
The parent of the frame window is WM_HBKWIN (Desktop).
I first retrieve the handle of the client window and therafter set it as the active window
to receive text:
handle = WM_GetClientWindow(hFrameWin);
//at this stage the handle of the child of framewin (client area) is valid
handle = WM_SelectWindow(handle);
//at this stage the handle equals to WM_HBKWIN!!
GUI_DispStringAt("Text",10,180);
However the WM_SelectWindow(handle) function obviously doesn´t accept the handle of the client area,
so it returns the current active window (WM_HBKWIN).
How can I make the client area of a frame window to be the active window in order to receive simple text instructions?
Or is it only possible to place text in the client area by modifying the WM_PAINT message in the callback function of the
client area?
Thanks a lot in advance for your help
Andy
I just want to write some text in the client area of a frame window.
The parent of the frame window is WM_HBKWIN (Desktop).
I first retrieve the handle of the client window and therafter set it as the active window
to receive text:
handle = WM_GetClientWindow(hFrameWin);
//at this stage the handle of the child of framewin (client area) is valid
handle = WM_SelectWindow(handle);
//at this stage the handle equals to WM_HBKWIN!!
GUI_DispStringAt("Text",10,180);
However the WM_SelectWindow(handle) function obviously doesn´t accept the handle of the client area,
so it returns the current active window (WM_HBKWIN).
How can I make the client area of a frame window to be the active window in order to receive simple text instructions?
Or is it only possible to place text in the client area by modifying the WM_PAINT message in the callback function of the
client area?
Thanks a lot in advance for your help
Andy