From: kenshin1101 on
How to show modal a window on another window ?
From: nico on
kenshin1101 wrote:
> How to show modal a window on another window ?

and DialogBox() ?
From: kenshin1101 on
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
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
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 :(