Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
WinSendDlgItemMsg (1.2)
◄Function Group► ◄Overview► ◄Up► ◄Next► ◄Previous►
────────────────────────────────────────────────────────────────────────────
#define INCL_WINDIALOGS
MRESULT WinSendDlgItemMsg(hwndDlg, idItem, msg, mp1, mp2)
HWND hwndDlg; /* handle of the dialog box */
USHORT idItem; /* dialog-item identifier */
USHORT msg; /* message */
MPARAM mp1; /* first message parameter */
MPARAM mp2; /* second message parameter */
The WinSendDlgItemMsg function sends a message to the specified dialog item
in the dialog window. The function does not return until the message has
been processed by the dialog item.
This function is equivalent to the following:
WinSendMsg(WinWindowFromID(hwndDlg, idItem), msg, mp1, mp2);
Parameter Description
────────────────────────────────────────────────────────────────────────────
hwndDlg Identifies the dialog window.
idItem Identifies the dialog item that receives the message.
msg Specifies the message.
mp1 Specifies message parameter 1.
mp2 Specifies message parameter 2.
Return Value
The return value is the result returned by the dialog item to which the
message was sent.
See Also
WinSendMsg, WinWindowFromID
♦