Re: how to bring app to forderground
- From: "Michael Salamone" <mikesa#at#entrek#do#com>
- Date: Sun, 5 Jul 2009 11:51:51 +0800
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 ?
.
- Follow-Ups:
- Re: how to bring app to forderground
- From: pinguin
- Re: how to bring app to forderground
- References:
- how to bring app to forderground
- From: pinguin
- how to bring app to forderground
- Prev by Date: Options for managed graphics API?
- Next by Date: Mounting external storage areas WM6
- Previous by thread: how to bring app to forderground
- Next by thread: Re: how to bring app to forderground
- Index(es):