MiniGUI API Reference (MiniGUI-Processes)  v5.0.6
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Data Fields
_WNDCLASS Struct Reference

#include <window.h>

Data Fields

const char * spClassName
 
DWORD opMask
 
DWORD dwStyle
 
DWORD dwExStyle
 
HCURSOR hCursor
 
DWORD dwBkColor
 
LRESULT(* WinProc )(HWND, UINT, WPARAM, LPARAM)
 
DWORD dwAddData
 

Detailed Description

Structure defines a window class

Definition at line 9677 of file window.h.

Field Documentation

◆ dwAddData

DWORD dwAddData

The private additional data associated with this window class

Definition at line 9741 of file window.h.

◆ dwBkColor

DWORD dwBkColor

The background color for all instances of this window class.

Note that under compositing schema, you must use this field to specify the background color of a control class instead of the pixel value (iBkColor).

The value of this field is a 32-bit RGBA quadruple essentially. You should use a value returned by MakeRGBA macro for this field.

Definition at line 9734 of file window.h.

◆ dwExStyle

DWORD dwExStyle

Extended window style for all instances of this window class

Definition at line 9699 of file window.h.

◆ dwStyle

DWORD dwStyle

Window style for all instances of this window class

Definition at line 9696 of file window.h.

◆ hCursor

HCURSOR hCursor

Cursor handle to all instances of this window class

Definition at line 9702 of file window.h.

◆ opMask

DWORD opMask

The mask of class information, can be OR'd with the following values:

  • COP_STYLE
    Retrieve the style of the window class.
  • COP_HCURSOR
    Retrieve the cursor of the window class.
  • COP_BKCOLOR
    Retrieve the background pixel value of the window class.
  • COP_WINPROC Retrieve the window procedure of the window class.
  • COP_ADDDATA
    Retrieve the additional data of the window class.

Definition at line 9693 of file window.h.

◆ spClassName

const char* spClassName

The class name

Definition at line 9679 of file window.h.

◆ WinProc

LRESULT(* WinProc(HWND, UINT, WPARAM, LPARAM)

Window callback procedure of all instances of this window class

Definition at line 9738 of file window.h.


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