MiniGUI API Reference (MiniGUI-Threads)  v5.0.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Data Fields

#include <window.h>

Data Fields

const char * spCaption
 
LINT id
 
WNDPROC WinProc
 
NOTIFPROC NotifProc
 
DWORD dwAddData
 
DWORD dwAddData2
 
int left
 
int cl
 
DWORD dwStyle
 
DWORD dwExStyle
 
int idx_znode
 
gal_pixel iBkColor
 
HMENU hMenu
 
HACCEL hAccel
 
HCURSOR hCursor
 
HICON hIcon
 
HMENU hSysMenu
 
PLOGFONT pLogFont
 
LFSCROLLBARINFO vscroll
 
LFSCROLLBARINFO hscroll
 
WINDOW_ELEMENT_RENDERERwe_rdr
 

Detailed Description

The window information structure.

Note
The layout of this structure changed since 5.0.0 to support virtual window.

Definition at line 5568 of file window.h.

Field Documentation

◆ cl

int cl

The position and size of client area. N/A for virtual window.

Definition at line 5605 of file window.h.

◆ dwAddData

DWORD dwAddData

The first additional data of this window

Definition at line 5590 of file window.h.

◆ dwAddData2

DWORD dwAddData2

The second additional data of this window

Definition at line 5592 of file window.h.

◆ dwExStyle

DWORD dwExStyle

The extended styles of window. N/A for virtual window.

Definition at line 5611 of file window.h.

◆ dwStyle

DWORD dwStyle

The styles of window. N/A for virtual window.

Definition at line 5609 of file window.h.

◆ hAccel

HACCEL hAccel

The handle of accelerator table. N/A for virtual window.

Definition at line 5624 of file window.h.

◆ hCursor

HCURSOR hCursor

The handle of cursor. N/A for virtual window.

Definition at line 5626 of file window.h.

◆ hIcon

HICON hIcon

The handle of icon. N/A for virtual window.

Definition at line 5628 of file window.h.

◆ hMenu

HMENU hMenu

The handle of menu. N/A for virtual window.

Definition at line 5622 of file window.h.

◆ hscroll

LFSCROLLBARINFO hscroll

The horizontal scrollbar information. N/A for virtual window.

Definition at line 5637 of file window.h.

◆ hSysMenu

HMENU hSysMenu

The handle of system menu. N/A for virtual window.

Definition at line 5630 of file window.h.

◆ iBkColor

gal_pixel iBkColor

The background pixel value of this window. N/A for virtual window.

Definition at line 5619 of file window.h.

◆ id

LINT id

The identifier of window.

Note
The type changed from int to LINT since 3.2.

Definition at line 5581 of file window.h.

◆ idx_znode

int idx_znode

The index of z-node for this window (only for a main window and a control as main window. N/A for virtual window.

Definition at line 5616 of file window.h.

◆ left

int left

The position and size of the window. N/A for virtual window.

Definition at line 5601 of file window.h.

◆ NotifProc

NOTIFPROC NotifProc

The notification callback procedure.

Definition at line 5587 of file window.h.

◆ pLogFont

PLOGFONT pLogFont

The pointer to logical font. N/A for virtual window.

Definition at line 5632 of file window.h.

◆ spCaption

const char* spCaption

The caption of window.

Definition at line 5576 of file window.h.

◆ vscroll

LFSCROLLBARINFO vscroll

The vertical scrollbar information. N/A for virtual window.

Definition at line 5635 of file window.h.

◆ we_rdr

The window renderer. N/A for virtual window.

Definition at line 5640 of file window.h.

◆ WinProc

WNDPROC WinProc

The window procedure

Definition at line 5584 of file window.h.


The documentation for this struct was generated from the following file: