MiniGUI API Reference (MiniGUI-Standalone)  v5.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 6729 of file window.h.

Field Documentation

◆ dwAddData

DWORD dwAddData

The first private data associated with the main window

Definition at line 6763 of file window.h.

◆ dwExStyle

DWORD dwExStyle

The extended style of the main window

Definition at line 6734 of file window.h.

◆ dwReserved

DWORD dwReserved

Reserved, do not use

Definition at line 6766 of file window.h.

◆ dwStyle

DWORD dwStyle

The style of the main window

Definition at line 6731 of file window.h.

◆ hCursor

HCURSOR hCursor

The handle to the cursor of the main window

Definition at line 6743 of file window.h.

◆ hHosting

HWND hHosting

The hosting main window

Definition at line 6749 of file window.h.

◆ hIcon

HICON hIcon

The handle to the icon of the main window

Definition at line 6746 of file window.h.

◆ hMenu

HMENU hMenu

The handle to the menu of the main window

Definition at line 6740 of file window.h.

◆ iBkColor

gal_pixel iBkColor

The background pixel value of the main window.

Definition at line 6760 of file window.h.

◆ lx

int lx

The position of the main window in the screen coordinates

Definition at line 6755 of file window.h.

◆ MainWindowProc

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

The window callback procedure

Definition at line 6752 of file window.h.

◆ spCaption

const char* spCaption

The caption of the main window

Definition at line 6737 of file window.h.


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