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 6672 of file window.h.


Field Documentation

const char* caption
 

Dialog box caption

Definition at line 6681 of file window.h.

int controlnr
 

Number of controls

Definition at line 6687 of file window.h.

PCTRLDATA controls
 

Poiter to control array

Definition at line 6689 of file window.h.

DWORD dwAddData
 

Addtional data, must be zero

Definition at line 6691 of file window.h.

DWORD dwExStyle
 

Dialog box extended style

Definition at line 6677 of file window.h.

DWORD dwStyle
 

Dialog box style

Definition at line 6675 of file window.h.

int h
 

Dialog box position

Definition at line 6679 of file window.h.

HICON hIcon
 

Dialog box icon

Definition at line 6683 of file window.h.

HMENU hMenu
 

Dialog box menu

Definition at line 6685 of file window.h.

int w
 

Dialog box position

Definition at line 6679 of file window.h.

int x
 

Dialog box position

Definition at line 6679 of file window.h.

int y
 

Dialog box position

Definition at line 6679 of file window.h.


The documentation for this struct was generated from the following file:
Generated on Mon Jun 26 14:21:35 2006 for MiniGUI V2.0.3 API Reference by  doxygen 1.4.2