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

Field Documentation

const char* caption

Dialog box caption

Definition at line 9218 of file window.h.

int controlnr

Number of controls

Definition at line 9224 of file window.h.

PCTRLDATA controls

Poiter to control array

Definition at line 9226 of file window.h.

DWORD dwAddData

Addtional data, must be zero

Definition at line 9228 of file window.h.

DWORD dwExStyle

Dialog box extended style

Definition at line 9214 of file window.h.

DWORD dwStyle

Dialog box style

Definition at line 9212 of file window.h.

HICON hIcon

Dialog box icon

Definition at line 9220 of file window.h.

HMENU hMenu

Dialog box menu

Definition at line 9222 of file window.h.

int x

Dialog box position

Definition at line 9216 of file window.h.


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