Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

_DLGTEMPLATE Struct Reference
[Dialog operations]

#include <window.h>

Data Fields


Detailed Description

Structure which defines a dialogbox.

Example:

static DLGTEMPLATE DlgInitProgress =
{
    WS_BORDER | WS_CAPTION, 
    WS_EX_NONE,
    120, 150, 400, 130, 
    "VAM-CNC is initializing",
    0, 0,
    3, NULL,
    0
};

static CTRLDATA CtrlInitProgress [] =
{ 
    {
        "static",
        WS_VISIBLE | SS_SIMPLE,
        10, 10, 380, 16, 
        IDC_PROMPTINFO, 
        "Initialize...",
        0
    },
    {
        "progressbar",
        WS_VISIBLE,
        10, 40, 380, 20,
        IDC_PROGRESS,
        NULL,
        0
    },
    {
        "button",
        WS_TABSTOP | WS_VISIBLE | BS_DEFPUSHBUTTON, 
        170, 70, 60, 25,
        IDOK, 
        "OK",
        0
    }
};

Definition at line 6600 of file window.h.


Field Documentation

const char* caption
 

Dialog box caption

Definition at line 6609 of file window.h.

int controlnr
 

Number of controls

Definition at line 6615 of file window.h.

PCTRLDATA controls
 

Poiter to control array

Definition at line 6617 of file window.h.

DWORD dwAddData
 

Addtional data, must be zero

Definition at line 6619 of file window.h.

DWORD dwExStyle
 

Dialog box extended style

Definition at line 6605 of file window.h.

DWORD dwStyle
 

Dialog box style

Definition at line 6603 of file window.h.

int h
 

Dialog box position

Definition at line 6607 of file window.h.

HICON hIcon
 

Dialog box icon

Definition at line 6611 of file window.h.

HMENU hMenu
 

Dialog box menu

Definition at line 6613 of file window.h.

int w
 

Dialog box position

Definition at line 6607 of file window.h.

int x
 

Dialog box position

Definition at line 6607 of file window.h.

int y
 

Dialog box position

Definition at line 6607 of file window.h.


The documentation for this struct was generated from the following file:
Generated on Mon Jun 26 13:54:28 2006 for MiniGUI V1.6.9 API Reference by  doxygen 1.4.2