转自:http://blog.csdn.net/lqxandroid2012/article/details/8542965
在WinCe下如何让程序全屏
;修改任务栏
[HKEY_LOCAL_MACHINESoftwareMicrosoftShellAutoHide]
"Default"
=dword:1
[HKEY_LOCAL_MACHINESoftwareMicrosoftClock]
"SHOW_CLOCK"
=dword:0
[HKEY_LOCAL_MACHINESoftwareMicrosoftShellOnTop]
"Default"
=dword:0
或者:
1 将dialog属性中的styles的title bar去掉
2 在dialog初始化时加入:
int
iFullWidth = GetSystemMetrics(SM_CXSCREEN);
int
iFullHeight = GetSystemMetrics(SM_CYSCREEN);
::SetWindowPos(
this
->m_hWnd, HWND_TOPMOST, 0, 0, iFullWidth, iFullHeight, SWP_NOOWNERZORDER|SWP_SHOW