MiniGUI API Reference (MiniGUI-Standalone)  v4.0.0
A mature and proven cross-platform GUI system for embedded and smart IoT devices
Data Fields
_DLGTEMPLATE Struct Reference

#include <window.h>

Data Fields

DWORD dwStyle
 
DWORD dwExStyle
 
int x
 
const char * caption
 
HICON hIcon
 
HMENU hMenu
 
int controlnr
 
PCTRLDATA controls
 
DWORD dwAddData
 

Detailed Description

Structure which defines a dialogbox.

Example:

static DLGTEMPLATE DlgInitProgress =
{
120, 150, 400, 130,
"VAM-CNC is initializing",
0, 0,
3, NULL,
0
};
static CTRLDATA CtrlInitProgress [] =
{
{
"static",
10, 10, 380, 16,
IDC_PROMPTINFO,
"Initialize...",
0
},
{
"progressbar",
10, 40, 380, 20,
IDC_PROGRESS,
0
},
{
"button",
170, 70, 60, 25,
IDOK,
"OK",
0
}
};

Definition at line 9991 of file window.h.

Field Documentation

◆ caption

const char* caption

Dialog box caption

Definition at line 10000 of file window.h.

◆ controlnr

int controlnr

Number of controls

Definition at line 10006 of file window.h.

◆ controls

PCTRLDATA controls

Poiter to control array

Definition at line 10008 of file window.h.

◆ dwAddData

DWORD dwAddData

Addtional data, must be zero

Definition at line 10010 of file window.h.

◆ dwExStyle

DWORD dwExStyle

Dialog box extended style

Definition at line 9996 of file window.h.

◆ dwStyle

DWORD dwStyle

Dialog box style

Definition at line 9994 of file window.h.

◆ hIcon

HICON hIcon

Dialog box icon

Definition at line 10002 of file window.h.

◆ hMenu

HMENU hMenu

Dialog box menu

Definition at line 10004 of file window.h.

◆ x

int x

Dialog box position

Definition at line 9998 of file window.h.


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