Hello Folks,
I am back with yet another Win CE / Windows Mobile articles, i don't want call this as an articles rather i would like to call it as some quick peek into WinCE / Windows Mobile useful functions. Lately i have a requirement where i need to run my application in full screen mode which means i have to disable task bar to let my application run n full screen mode. Initially this sounds like BIG task but after peeping into MSDN i found that it is a cakewalk. Following snippet does the trick.
You are welcome to use this Function and let me know if you need any help.
// blnHide = true means HIDE and false means SHOW
void ShowHideTaskBar(bool blnHide)
{
// Find the taskbar window.
CWnd* pWnd = CWnd::FindWindow(L"HHTaskBar", L"");
if( pWnd ) {
if( blnHide )
pWnd->ShowWindow(SW_HIDE);
else
pWnd->ShowWindow(SW_SHOW);
}
return;
} //ShowHideTaskBar
Thats it ... simple right !!!!!
I am back with yet another Win CE / Windows Mobile articles, i don't want call this as an articles rather i would like to call it as some quick peek into WinCE / Windows Mobile useful functions. Lately i have a requirement where i need to run my application in full screen mode which means i have to disable task bar to let my application run n full screen mode. Initially this sounds like BIG task but after peeping into MSDN i found that it is a cakewalk. Following snippet does the trick.
You are welcome to use this Function and let me know if you need any help.
// blnHide = true means HIDE and false means SHOW
void ShowHideTaskBar(bool blnHide)
{
// Find the taskbar window.
CWnd* pWnd = CWnd::FindWindow(L"HHTaskBar", L"");
if( pWnd ) {
if( blnHide )
pWnd->ShowWindow(SW_HIDE);
else
pWnd->ShowWindow(SW_SHOW);
}
return;
} //ShowHideTaskBar
Thats it ... simple right !!!!!
Comments