Hello Everybody...
I've been playing around with doing a skinable UI for an application so i tried to attach a window region to my window using the following code:
It seems to work so far, but when i tap the visible part of window with the stylus the window disappears (gets hidden). Activating the application in the task manager will not show the window again.
I'm using PocketPC 2000 and eVC 3.0.
Is it possible to use window regions under PPC2000?
Please help!
Regards,
Peter
I've been playing around with doing a skinable UI for an application so i tried to attach a window region to my window using the following code:
- Code:
HRGN hRegion1 = CreateRectRgn(0,0,159,119);
HRGN hRegion2 = CreateRectRgn(160,120,319,239);
CombineRgn(hRegion1, hRegion1, hRegion2, RGN_OR);
SetWindowRgn(hWnd, hRegion1, true);
DeleteObject(hRegion1);
DeleteObject(hRegion2);
It seems to work so far, but when i tap the visible part of window with the stylus the window disappears (gets hidden). Activating the application in the task manager will not show the window again.
I'm using PocketPC 2000 and eVC 3.0.
Is it possible to use window regions under PPC2000?
Please help!
Regards,
Peter