Code: Select all
#include "Fivewin.ch"
#define IDI_QUESTION MAKEINTRESOURCE( 32514 )
FUNCTION MAIN()
LOCAL oDlg, oIcon
DEFINE DIALOG oDlg;
COLOR CLR_BLACK, CLR_CYAN
@ 1, 1 ICON oIcon OF oDlg
ACTIVATE DIALOG oDlg;
ON INIT oIcon:hIcon := LOADICON( 0, IDI_QUESTION );
CENTER
RETURN NIL
METHOD EraseBkGnd() VIRTUAL // for transparency on dialogs
from icon.prg.
EMG