Microsoft Windows CE 3.0  

SendDlgItemMessage

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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
);

Parameters

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.

Return Values

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

Remarks

The SendDlgItemMessagefunction does not return until the message has been processed.

Using SendDlgItemMessageis identical to retrieving a handle of the specified control and calling the SendMessagefunction.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later Winuser.h   Dlgmgr.lib
Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

SendMessage