Code: Select all
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg, oBtn
DEFINE DIALOG oDlg
@ 2, 2 BTNBMP oBtn;
PROMPT "This is a test";
SIZE 100, 20;
CENTER NOBORDER
oBtn:SetColor( CLR_WHITE, CLR_GREEN )
ACTIVATE DIALOG oDlg;
CENTER
RETURN NIL