Re: how to bring app to forderground
- From: pinguin <oneneno@xxxxxxx>
- Date: Mon, 13 Jul 2009 07:48:02 -0700
Thanks Michael,
Now i want to hide the modal dialog.
The dialog is hided with:
ShowWindows(SW_HIDE)
but the soft menubar is still showing.
I use m_pCommandBar->ShowWindow(FALSE);
but all menu bar is hided( closed ) include menubar of today screen ?!
"Michael Salamone" wrote:
Is the window's owner thread pumping messages?.
Is there a modal window open? If so, try SetForegroundWindow((HWND)
(((ULONG) hwnd) | 0x01)).
Also I would use ShowWindow(SW_SHOWNORMAL).
--
Michael Salamone
Entrek Software, Inc.
www.entrek.com
"pinguin" <oneneno@xxxxxxx> wrote in message
news:9324B994-C5A9-4F09-A232-3B07178AB5A6@xxxxxxxxxxxxxxxx
I hide my app dialog with ShowWindows(SW_HIDE).
When i call it back with:
ShowWindow(SW_SHOW);
SetForegroundWindow();
SetFocus();
SetActiveWindow();
*** i can only see my App dialog name on the task bar and the menu bar on
the bottom.
What have i doing wrong ?
- References:
- how to bring app to forderground
- From: pinguin
- Re: how to bring app to forderground
- From: Michael Salamone
- how to bring app to forderground
- Prev by Date: Device Command Shell
- Next by Date: Capturing a still image from my camera into memory using DirectShow
- Previous by thread: Re: how to bring app to forderground
- Next by thread: Options for managed graphics API?
- Index(es):