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

#include <window.h>

Data Fields

DWORD dwStyle
 
DWORD dwExStyle
 
const char * spCaption
 
HMENU hMenu
 
HCURSOR hCursor
 
HICON hIcon
 
HWND hHosting
 
LRESULT(* MainWindowProc )(HWND, UINT, WPARAM, LPARAM)
 
int lx
 
gal_pixel iBkColor
 
DWORD dwAddData
 
DWORD dwReserved
 

Detailed Description

Structure defines a main window.

Definition at line 6761 of file window.h.

Field Documentation

◆ dwAddData

DWORD dwAddData

The first private data associated with the main window

Definition at line 6795 of file window.h.

◆ dwExStyle

DWORD dwExStyle

The extended style of the main window

Definition at line 6766 of file window.h.

◆ dwReserved

DWORD dwReserved

Reserved, do not use

Definition at line 6798 of file window.h.

◆ dwStyle

DWORD dwStyle

The style of the main window

Definition at line 6763 of file window.h.

◆ hCursor

HCURSOR hCursor

The handle to the cursor of the main window

Definition at line 6775 of file window.h.

◆ hHosting

HWND hHosting

The hosting main window

Definition at line 6781 of file window.h.

◆ hIcon

HICON hIcon

The handle to the icon of the main window

Definition at line 6778 of file window.h.

◆ hMenu

HMENU hMenu

The handle to the menu of the main window

Definition at line 6772 of file window.h.

◆ iBkColor

gal_pixel iBkColor

The background pixel value of the main window.

Definition at line 6792 of file window.h.

◆ lx

int lx

The position of the main window in the screen coordinates

Definition at line 6787 of file window.h.

◆ MainWindowProc

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

The window callback procedure

Definition at line 6784 of file window.h.

◆ spCaption

const char* spCaption

The caption of the main window

Definition at line 6769 of file window.h.


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