Burk Royer
April 23rd, 1999, 08:53 AM
How can you set the dialog window of a dialog application, to be always on top of all other windows on the desktop?
Burk Royer
Burk Royer
|
Click to See Complete Forum and Search --> : Always On Top property for Dialog Applicaton? Burk Royer April 23rd, 1999, 08:53 AM How can you set the dialog window of a dialog application, to be always on top of all other windows on the desktop? Burk Royer SKB April 23rd, 1999, 09:37 AM Use SetWindowPos() using the flag HWND_TOPMOST RPR April 23rd, 1999, 09:40 AM BOOL CTestDlg::OnInitDialog() { CDialog::OnInitDialog(); ::SetWindowPos (this->GetSafeHwnd(), HWND_TOPMOST, 0, 0, 0, 0, SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOSIZE); //activate return TRUE; } codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |