Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SendDlgItemMessage

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This function sends a message to the specified control in a dialog box.


LONG SendDlgItemMessage( 
  HWND hDlg, 
  int nIDDlgItem, 
  UINT Msg, 
  WPARAM wParam, 
  LPARAM lParam
); 

hDlg

[in] Handle to the dialog box that contains the control.

nIDDlgItem

[in] Specifies the identifier of the control that receives the message.

Msg

[in] Specifies the message to be sent.

wParam

[in] Specifies additional message-specific information.

lParam

[in] Specifies additional message-specific information.

The return value specifies the result of the message processing and depends on the message sent.

The SendDlgItemMessage function does not return until the message has been processed.

Using SendDlgItemMessage is identical to retrieving a handle of the specified control and calling the SendMessage function.

Headerwinuser.h
LibraryDlgmgr.lib
Windows Embedded CEWindows CE 1.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show:
© 2015 Microsoft