home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
cset21v1.zip
/
IBMCPP
/
TUTORIAL
/
DEBUGGER
/
DPMLINES
/
DPMLINES.DLG
< prev
next >
Wrap
Text File
|
1992-04-01
|
4KB
|
74 lines
/*+--------------------------------------------------------------------------+*/
/*| |*/
/*| DPMLINES - A Simple OS/2 Presentation Manager Graphics Demo |*/
/*| |*/
/*| DPMLINES.DLG Dialog File |*/
/*| |*/
/*| COPYRIGHT: |*/
/*| ---------- |*/
/*| Copyright (C) International Business Machines Corp., 1991,1992. |*/
/*| |*/
/*| DISCLAIMER OF WARRANTIES: |*/
/*| ------------------------- |*/
/*| The following [enclosed] code is sample code created by IBM |*/
/*| Corporation. This sample code is not part of any standard IBM product |*/
/*| and is provided to you solely for the purpose of assisting you in the |*/
/*| development of your applications. The code is provided "AS IS", |*/
/*| without warranty of any kind. IBM shall not be liable for any damages |*/
/*| arising out of your use of the sample code, even if they have been |*/
/*| advised of the possibility of such damages. |*/
/*| |*/
/*| REVISION LEVEL: 1.0 |*/
/*| --------------- |*/
/*| |*/
/*+--------------------------------------------------------------------------+*/
DLGINCLUDE 1 "DPMLINES.H"
DLGTEMPLATE IDD_HELP PRELOAD MOVEABLE DISCARDABLE
BEGIN
DIALOG "Help for DPMLINES", IDD_HELP, 40, 40, 300, 160,
FS_NOBYTEALIGN | FS_DLGBORDER | FS_BORDER | FS_SCREENALIGN | WS_VISIBLE |
WS_CLIPSIBLINGS | WS_SAVEBITS, FCF_TITLEBAR
BEGIN
CONTROL "DPMLINES", ID_NULL, 50, 145, 200, 10,
WC_STATIC, SS_TEXT | DT_CENTER | DT_TOP | WS_GROUP | WS_VISIBLE
CONTROL "An OS/2 PM Graphics Demonstration", ID_NULL, 45, 130, 210, 10,
WC_STATIC, SS_TEXT | DT_CENTER | DT_TOP | WS_GROUP | WS_VISIBLE
CONTROL "Copyright (C) International Business Machines Corp., 1991.",
ID_NULL, 20, 115, 260, 10, WC_STATIC,
SS_TEXT | DT_CENTER | DT_TOP | WS_GROUP | WS_VISIBLE
CONTROL ID_WINDOW, ID_NULL, 10, 125, 32, 32,
WC_STATIC, SS_ICON | WS_GROUP | WS_VISIBLE
CONTROL "DPMLINES illustrates some of the basic principles of PM programming. It displays a standard window and uses a second thread to draw to the client area.",
ID_NULL, 10, 80, 280, 30, WC_STATIC,
SS_TEXT | DT_LEFT | DT_TOP | DT_WORDBREAK | WS_GROUP | WS_VISIBLE
CONTROL "PM programming concepts touched upon by DPMLINES are:",
ID_NULL, 10, 70, 250, 10, WC_STATIC,
SS_TEXT | DT_LEFT | DT_TOP | WS_GROUP | WS_VISIBLE
CONTROL "- Creating standard windows", ID_NULL, 25, 60, 250, 10,
WC_STATIC, SS_TEXT | DT_LEFT | DT_TOP | WS_GROUP | WS_VISIBLE
CONTROL "- Using simple menus and dialog boxes",
ID_NULL, 25, 50, 250, 10, WC_STATIC,
SS_TEXT | DT_LEFT | DT_TOP | WS_GROUP | WS_VISIBLE
CONTROL "- Using multiple threads in the PM environment",
ID_NULL, 25, 40, 250, 10, WC_STATIC,
SS_TEXT | DT_LEFT | DT_TOP | WS_GROUP | WS_VISIBLE
CONTROL "- Displaying graphics on the screen using basic GPI calls",
ID_NULL, 25, 30, 250, 10, WC_STATIC,
SS_TEXT | DT_LEFT | DT_TOP | WS_GROUP | WS_VISIBLE
CONTROL "OK", DID_OK, 125, 5, 50, 15,
WC_BUTTON, BS_PUSHBUTTON | BS_DEFAULT | WS_TABSTOP | WS_VISIBLE
END
END