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

Field Documentation

◆ caption

const char* caption

Dialog box caption

Definition at line 11503 of file window.h.

◆ controlnr

int controlnr

Number of controls

Definition at line 11509 of file window.h.

◆ controls

PCTRLDATA controls

Poiter to control array

Definition at line 11511 of file window.h.

◆ dwAddData

DWORD dwAddData

Addtional data, must be zero

Definition at line 11513 of file window.h.

◆ dwExStyle

DWORD dwExStyle

Dialog box extended style

Definition at line 11499 of file window.h.

◆ dwStyle

DWORD dwStyle

Dialog box style

Definition at line 11497 of file window.h.

◆ hIcon

HICON hIcon

Dialog box icon

Definition at line 11505 of file window.h.

◆ hMenu

HMENU hMenu

Dialog box menu

Definition at line 11507 of file window.h.

◆ x

int x

Dialog box position

Definition at line 11501 of file window.h.


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