SendDlgItemMessage (Windows CE 5.0)

Send Feedback

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

LONGSendDlgItemMessage( HWNDhDlg, intnIDDlgItem, UINTMsg, WPARAMwParam, LPARAMlParam);

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 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.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Winuser.h.
Link Library: Dlgmgr.lib.

See Also

SendMessage | Dialog Boxes Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.