- Code: Select all Expand view
#include "FiveWin.ch"
function Main()
local oDlg
DEFINE DIALOG oDlg TITLE "Test"
ACTIVATE DIALOG oDlg CENTERED
return nil
A dialog created from resources:
test.prg
- Code: Select all Expand view
#include "FiveWin.ch"
function Main()
local oDlg
DEFINE DIALOG oDlg RESOURCE "Test"
ACTIVATE DIALOG oDlg CENTERED
return nil
and test.rc
- Code: Select all Expand view
test DIALOG 17, 36, 185, 147
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Test" FONT 8, "MS Sans Serif"
{
DEFPUSHBUTTON "OK", 1, 67, 128, 50, 14
}