braindead
September 21st, 2007, 03:52 PM
Hi, I created a Window CE appliaction and I don't manage it to remove the title bar. I tried nearly all attributes of CreateWindow (~WS_Caption, WS_POPUP, ...) or SetWindowPos but it didn't work out. I cannot use the MFC neither I have the aygshell.lib (there something like SHFullScreen exists).
Any more ideas?
Ali Imran
September 22nd, 2007, 10:34 PM
WS_POPUP | WS_VISIBLE style must work, since it works on my pc so must work in WINCE too.
1.what kind of window you get once created?
2.or you get nothing created ?
btw try this (assumed that window creation did not fail):
//assumed handle of window is hWnd
SetWindowLong(hWnd, GWL_STYLE,WS_POPUP | WS_VISIBLE);
SetWindowPos(hWnd, NULL, 0, 0, 0, 0, SWP_FRAMECHANGED | SWP_NOSIZE | SWP_NOMOVE | SWP_NOZORDER);
regards