A dialog created from source code:
A dialog created from resources:
test.prg
and test.rc
#include "FiveWin.ch"
function Main()
local oDlg
DEFINE DIALOG oDlg TITLE "Test"
ACTIVATE DIALOG oDlg CENTERED
return nilA dialog created from resources:
test.prg
#include "FiveWin.ch"
function Main()
local oDlg
DEFINE DIALOG oDlg RESOURCE "Test"
ACTIVATE DIALOG oDlg CENTERED
return niland test.rc
<div class="text" id="{CB}" style="font-family: monospace;">
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
}
</div>