CWnd::SendDlgItemMessage
LRESULTSendDlgItemMessage(intnID**,UINTmessage,WPARAMwParam=0,LPARAMlParam=0);**
Return Value
Specifies the value returned by the control’s window procedure, or 0 if the control was not found.
Parameters
nID
Specifies the identifier of the dialog control that will receive the message.
message
Specifies the message to be sent.
wParam
Specifies additional message-dependent information.
lParam
Specifies additional message-dependent information.
Remarks
Sends a message to a control.
The SendDlgItemMessage member function does not return until the message has been processed.
Using SendDlgItemMessage is identical to obtaining a CWnd* to the given control and calling the SendMessage member function.
CWnd Overview | Class Members | Hierarchy Chart
See Also CWnd::SendMessage,