Hello There,
I am developing a very small app for a Pocket PC device using Microsoftw Embedded Visual C++ 3.0.
What I want is a screen that is for example 30 pixels in height and is always on top of other screens. I would also like it to be on top of the Start menu button all of the time.
The code I have so far is this:
BOOL COnTopOfOthersDlg::OnInitDialog()
{
m_bFullScreen = FALSE;
CDialog::OnInitDialog();
SetWindowPos(&wndTopMost,0,0,0,0,SWP_NOMOVE|SWP_NOSIZE);
return TRUE;
}
The problem is that when I for example start Pocket Word my small screen becomes full screen all of a sudden. Also it is not yet on top of the start button.
Does someone know how to solve these two issues ?
Greetings,
Pascal.
I am developing a very small app for a Pocket PC device using Microsoftw Embedded Visual C++ 3.0.
What I want is a screen that is for example 30 pixels in height and is always on top of other screens. I would also like it to be on top of the Start menu button all of the time.
The code I have so far is this:
BOOL COnTopOfOthersDlg::OnInitDialog()
{
m_bFullScreen = FALSE;
CDialog::OnInitDialog();
SetWindowPos(&wndTopMost,0,0,0,0,SWP_NOMOVE|SWP_NOSIZE);
return TRUE;
}
The problem is that when I for example start Pocket Word my small screen becomes full screen all of a sudden. Also it is not yet on top of the start button.
Does someone know how to solve these two issues ?
Greetings,
Pascal.