Prev: How to AdjustTokenPrivileges() after ImpersonateLoggedOnUser() ?
Next: WriteProcessMemory : error 5 and 998
From: kenshin1101 on 7 Dec 2009 00:51 How to show modal a window on another window ?
From: nico on 7 Dec 2009 01:57 kenshin1101 wrote: > How to show modal a window on another window ? and DialogBox() ?
From: kenshin1101 on 7 Dec 2009 02:06 On Dec 7, 1:57 pm, nico <n...(a)nico.com> wrote: > kenshin1101 wrote: > > How to show modal a window on another window ? > > and DialogBox() ? Hello! But i have a two windows with CreateWindow function
From: Christian ASTOR on 7 Dec 2009 05:34 On 7 déc, 08:06, kenshin1101 <kenshin1...(a)gmail.com> wrote: > > kenshin1101 wrote: > > > How to show modal a window on another window ? > > and DialogBox() ? > Hello! > But i have a two windows with CreateWindow function Do the same thing that DialogBox() does (enable parent on creation and disable it on destruction)
From: kenshin1101 on 7 Dec 2009 22:29 On Dec 7, 5:34 pm, Christian ASTOR <casto...(a)club-internet.fr> wrote: > On 7 déc, 08:06, kenshin1101 <kenshin1...(a)gmail.com> wrote: > > > > kenshin1101 wrote: > > > > How to show modal a window on another window ? > > > and DialogBox() ? > > Hello! > > But i have a two windows with CreateWindow function > > Do the same thing that DialogBox() does (enable parent on creation and > disable it on destruction) Thanks, i think that's the only way, but when i close the child by use Alt+F4 then the parent lose focus, I have try in WM_DESTROY : EnableWindow(OwnerFrm, TRUE) BringWindowToTop(OwnerFrm) SetForegroundWindow(OwnerFrm) but no work :(
|
Next
|
Last
Pages: 1 2 Prev: How to AdjustTokenPrivileges() after ImpersonateLoggedOnUser() ? Next: WriteProcessMemory : error 5 and 998 |