Code: Select all
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg
LOCAL lVar := .F.
DEFINE DIALOG oDlg;
RESOURCE "TEST"
REDEFINE BITMAP;
ID 101 OF oDlg;
FILE "NONEXISTENT.BMP"
REDEFINE CHECKBOX lVar;
ID 102 OF oDlg
ACTIVATE DIALOG oDlg;
CENTER
RETURN NIL
Code: Select all
1 24 "c:\fwh\samples\winxp\WindowsXP.Manifest"
TEST DIALOG 0, 0, 300, 300
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
FONT 8, "MS Sans Serif"
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
{
CONTROL "", 101, "TBitmap", WS_CHILD | WS_VISIBLE, 10, 10, 57, 62
CONTROL "TCheckBox", 102, "BUTTON", BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 120, 30, 46, 13
}