Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Screen on top of others

Status
Not open for further replies.

Kocky

Programmer
Oct 23, 2002
357
0
0
NL
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top