Skip to content

Latest commit

 

History

History
82 lines (49 loc) · 1.91 KB

bn-pushed.md

File metadata and controls

82 lines (49 loc) · 1.91 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
BN_PUSHED notification code (Winuser.h)
Sent when the push state of a button is set to pushed.
34000def-189c-4a37-bcef-4ca09a67df00
BN_PUSHED notification code Windows Controls
apiref
BN_PUSHED
Winuser.h
HeaderDef
reference
05/31/2018

BN_PUSHED notification code

Sent when the push state of a button is set to pushed.

Note

This notification code is provided only for compatibility with 16-bit versions of Windows earlier than version 3.0. Applications should use the BS_OWNERDRAW button style and the DRAWITEMSTRUCT structure for this task.

The parent window of the button receives this notification code through the WM_COMMAND message.

BN_PUSHED

    WPARAM wParam;
    LPARAM lParam; 

Parameters

wParam

The LOWORD contains the button's control identifier. The HIWORD specifies the notification code.

lParam

A handle to the button.

Remarks

BN_PUSHED is the same as the BN_HILITE notification code.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Winuser.h (include Windows.h)

See also

BN_UNPUSHED