MiniGUI API Reference (MiniGUI-Processes)  v5.0.6
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Macros
Notification codes of button control

Macros

#define BN_CLICKED   0
 The BN_CLICKED notification message is sent when the user clicks a button. More...
 
#define BN_DBLCLK   BN_DOUBLECLICKED
 The BN_DBLCLK notification message is sent when the user double-clicks a button. More...
 
#define BN_HILITE   2
 The BN_HILITE notification message is sent when the user hilite a button (the user moves the mouse onto it) More...
 
#define BN_UNHILITE   3
 The BN_UNHILITE notification message is sent when the user unhilite a button, (the user moves the mouse leaving it) More...
 
#define BN_PUSHED   4
 The BN_PUSHED notification message is sent when the user pushes a button. More...
 
#define BN_UNPUSHED   5
 The BN_UNPUSHED notification message is sent when the user unpushes a button. More...
 
#define BN_DISABLE   6
 The BN_DISABLE notification message is sent when the user disables a button. (the user sends BM_ENABLE(wParam == FALSE) to it) More...
 
#define BN_ENABLE   7
 The BN_DISABLE notification message is sent when the user disables a button. (the user sends BM_ENABLE(wParam == TRUE) to it) More...
 
#define BN_SETFOCUS   8
 The BN_SETFOCUS notification message is sent when a button receives the keyboard focus. More...
 
#define BN_KILLFOCUS   9
 The BN_KILLFOCUS notification message is sent when a button loses the keyboard focus. More...
 

Detailed Description

Macro Definition Documentation

◆ BN_CLICKED

#define BN_CLICKED   0

The BN_CLICKED notification message is sent when the user clicks a button.

Definition at line 628 of file button.h.

◆ BN_DBLCLK

#define BN_DBLCLK   BN_DOUBLECLICKED

The BN_DBLCLK notification message is sent when the user double-clicks a button.

Definition at line 634 of file button.h.

◆ BN_DISABLE

#define BN_DISABLE   6

The BN_DISABLE notification message is sent when the user disables a button. (the user sends BM_ENABLE(wParam == FALSE) to it)

Definition at line 667 of file button.h.

◆ BN_ENABLE

#define BN_ENABLE   7

The BN_DISABLE notification message is sent when the user disables a button. (the user sends BM_ENABLE(wParam == TRUE) to it)

Definition at line 674 of file button.h.

◆ BN_HILITE

#define BN_HILITE   2

The BN_HILITE notification message is sent when the user hilite a button (the user moves the mouse onto it)

Definition at line 641 of file button.h.

◆ BN_KILLFOCUS

#define BN_KILLFOCUS   9

The BN_KILLFOCUS notification message is sent when a button loses the keyboard focus.

Definition at line 686 of file button.h.

◆ BN_PUSHED

#define BN_PUSHED   4

The BN_PUSHED notification message is sent when the user pushes a button.

Definition at line 654 of file button.h.

◆ BN_SETFOCUS

#define BN_SETFOCUS   8

The BN_SETFOCUS notification message is sent when a button receives the keyboard focus.

Definition at line 680 of file button.h.

◆ BN_UNHILITE

#define BN_UNHILITE   3

The BN_UNHILITE notification message is sent when the user unhilite a button, (the user moves the mouse leaving it)

Definition at line 648 of file button.h.

◆ BN_UNPUSHED

#define BN_UNPUSHED   5

The BN_UNPUSHED notification message is sent when the user unpushes a button.

Definition at line 660 of file button.h.