BN_CLICKED

This message is sent when the user taps the pen on the touch screen. The parent window of the button receives this notification message through the WM_COMMAND message. Unlike the other button notification messages, this message is intended for applications written for any version of Windows.

BN_CLICKED idButton = (int)LOWORD(wParam);
hwndButton = (HWND) lParam;

Parameters

  • idButton
    Identifier of the button.
  • hwndButton
    Handle to the button.

Remarks

A disabled button does not send a BN_CLICKED notification message to its parent window.

Requirements

Runs On Versions Defined in Include Link to
Windows CE OS 1.0 and later Winuser.h    

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

WM_COMMAND

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.