Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
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.
CWnd::SendDlgItemMessage
CWnd                                        Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  LONG SendDlgItemMessage( int nID, UINT message, UINT wParam = 0,
                           LONG lParam = 0 );
 
  Parameter   Description
 
  <nID>       Specifies the integer identifier of the dialog item that is
              to receive the message.
 
  <message>   Specifies the message value.
 
  <wParam>    Specifies additional message information. The content of
              this parameter depends on the message being sent.
 
  <lParam>    Specifies additional message information. The content of
              this parameter depends on the message being sent.
 
  Remarks
 
  Sends a message to the specified 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.
 
  Return Value
 
  Specifies the value returned by the control's window procedure, or 0 if
  the control identifier is not valid.
 
  See Also
 
  CWnd::SendMessage, ::SendDlgItemMessage
 
 
                                     -♦-