hi all,
i know this sounds very basic, but somehow i'm not getting this right. my program is running as fullscreen. at a specific point i need to execute another non-fullscreen application (let's say calc.exe) and then switch back to my application. so here is what i'm currently doing:
i know that this is maybe a little bit too much but i wanted to make sure i'm missing nothing. my problem is that after i switch back, my application looks fullscreen, but actually is not since clicking on the area where the title bar would be does not work anymore (all stylus messages are sent to the title bar...)
any help would be greatly appreciated
thx,
Daniel
i know this sounds very basic, but somehow i'm not getting this right. my program is running as fullscreen. at a specific point i need to execute another non-fullscreen application (let's say calc.exe) and then switch back to my application. so here is what i'm currently doing:
- Code:
::MoveWindow(hWnd, 0, 0, 1,1, TRUE);
::UpdateWindow(hWnd);
::ShowWindow(hWnd, FALSE);
::UpdateWindow(hWnd);
::SHFullScreen( hWnd, SHFS_SHOWTASKBAR | SHFS_SHOWSIPBUTTON | SHFS_SHOWSTARTICON );
::GXSuspend();
::UpdateWindow(hWnd);
startApp();
::Sleep(10000);
::SHFullScreen( hWnd, SHFS_HIDETASKBAR | SHFS_HIDESIPBUTTON | SHFS_HIDESTARTICON );
::MoveWindow(hWnd, 0, 0, getWidth(),getHeight(), TRUE);
::UpdateWindow(hWnd);
::ShowWindow(hWnd, TRUE);
::GXResume();
::SetForegroundWindow(hWnd);
::UpdateWindow(hWnd);
i know that this is maybe a little bit too much but i wanted to make sure i'm missing nothing. my problem is that after i switch back, my application looks fullscreen, but actually is not since clicking on the area where the title bar would be does not work anymore (all stylus messages are sent to the title bar...)
any help would be greatly appreciated
thx,
Daniel