在windows mobile 5.0中实现全屏的方法,和隐藏SIP的方法差不多,只要稍稍改一下就可以了:
::CommandBar_Show(m_hWnd, FALSE);//隐藏菜单
::SHFullScreen(m_hWnd,SHFS_HIDETASKBAR | SHFS_HIDESIPBUTTON);//隐藏taskbar与sip
SetForegroundWindow();
MoveWindow(0,22,240,300, TRUE);
::CommandBar_Show(m_hWnd, FALSE);//隐藏菜单
::SHFullScreen(m_hWnd,SHFS_HIDETASKBAR | SHFS_HIDESIPBUTTON);//隐藏taskbar与sip
SetForegroundWindow();
MoveWindow(0,22,240,300, TRUE);