Re: CreateDialog and sending a WM_NOTIFY from it
Woodrow Reece <[email protected]>
| Newsgroups | alt.comp.os.windows-xp,alt.windows7.general,comp.os.ms-windows.programmer.win32 |
|---|---|
| Message-ID | <[email protected]> |
R.Wieser wrote:
> Woodrow,
>
>> The WM_NOTIFY message is for a control on a dialog to send to the dialog.
>> Not for a dialog to send to its parent.
>
> Do you have some (preferrably MS origionated) documentation to support that
> ?
Yes. Quoted further down, with URL.
> The dialog in question is, for all intents and purposes, a child of the
> dialog that created it (they share the same message-loop).
In Microsoft's documentation, that is not what what a child window is.
<https://learn.microsoft.com/en-us/windows/win32/winmsg/window-features#child-windows>
Child Windows
A child window has the WS_CHILD style and is confined to the
client area of its parent window. An application typically
uses child windows to divide the client area of a parent window
into functional areas. You create a child window by specifying
the WS_CHILD style in the CreateWindowEx function.
Microsoft's documentation for WM_NOTIFY
<https://learn.microsoft.com/en-us/windows/win32/controls/wm-notify>
Sent by a common control to its parent window when an event
has occurred or the control requires some information.