MiniGUI API Reference (MiniGUI-Standalone)  v4.0.0
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 5772 of file window.h.

Field Documentation

◆ dwAddData

DWORD dwAddData

The first private data associated with the main window

Definition at line 5805 of file window.h.

◆ dwExStyle

DWORD dwExStyle

The extended style of the main window

Definition at line 5778 of file window.h.

◆ dwReserved

DWORD dwReserved

Reserved, do not use

Definition at line 5808 of file window.h.

◆ dwStyle

DWORD dwStyle

The style of the main window

Definition at line 5775 of file window.h.

◆ hCursor

HCURSOR hCursor

The handle to the cursor of the main window

Definition at line 5787 of file window.h.

◆ hHosting

HWND hHosting

The hosting main window

Definition at line 5793 of file window.h.

◆ hIcon

HICON hIcon

The handle to the icon of the main window

Definition at line 5790 of file window.h.

◆ hMenu

HMENU hMenu

The handle to the menu of the main window

Definition at line 5784 of file window.h.

◆ iBkColor

gal_pixel iBkColor

The pixel value of background color of the main window

Definition at line 5802 of file window.h.

◆ lx

int lx

The position of the main window in the screen coordinates

Definition at line 5799 of file window.h.

◆ MainWindowProc

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

The window callback procedure

Definition at line 5796 of file window.h.

◆ spCaption

const char* spCaption

The caption of the main window

Definition at line 5781 of file window.h.


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