Re: Catch WM_SIZE
- From: "David Ching" <dc@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 14 Aug 2008 09:01:42 -0700
"Erakis" <Erakis@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E9056F9B-9215-4E8C-A55A-7A075264A8FE@xxxxxxxxxxxxxxxx
Thank for your anwser but this is not what I need.
I want to intercept this message IN my DIALOG. Not in my derived class.
The only messages you can intercept in dialog class are the ones with
_REFLECT in the name (because the message is reflected from the control,
where it goes to initially, to the parent window, the dialog). WM_SIZE is
not here. If you want the parent window to handle this, you need to
intercept WM_SIZE in your control and then do a PostMessage() of it to the
parent.
But why should the parent care when the child is sized? Usually it's the
parent who orders the child to resize in the first place.
-- David
.
- References:
- Catch WM_SIZE
- From: Erakis
- Re: Catch WM_SIZE
- From: Scott McPhillips [MVP]
- Re: Catch WM_SIZE
- From: Erakis
- Catch WM_SIZE
- Prev by Date: Re: Catch WM_SIZE
- Next by Date: Re: Catch WM_SIZE
- Previous by thread: Re: Catch WM_SIZE
- Next by thread: Re: Catch WM_SIZE
- Index(es):
Relevant Pages
|