MiniGUI API Reference (MiniGUI-Threads)  v3.2.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 4991 of file window.h.

Field Documentation

DWORD dwAddData

The first private data associated with the main window

Definition at line 5024 of file window.h.

DWORD dwExStyle

The extended style of the main window

Definition at line 4997 of file window.h.

DWORD dwReserved

Reserved, do not use

Definition at line 5027 of file window.h.

DWORD dwStyle

The style of the main window

Definition at line 4994 of file window.h.

HCURSOR hCursor

The handle to the cursor of the main window

Definition at line 5006 of file window.h.

HWND hHosting

The hosting main window

Definition at line 5012 of file window.h.

HICON hIcon

The handle to the icon of the main window

Definition at line 5009 of file window.h.

HMENU hMenu

The handle to the menu of the main window

Definition at line 5003 of file window.h.

gal_pixel iBkColor

The pixel value of background color of the main window

Definition at line 5021 of file window.h.

int lx

The position of the main window in the screen coordinates

Definition at line 5018 of file window.h.

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

The window callback procedure

Definition at line 5015 of file window.h.

const char* spCaption

The caption of the main window

Definition at line 5000 of file window.h.


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