- Code: Select all Expand view
#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
The offending code seems to be
METHOD EraseBkGnd() VIRTUAL // for transparency on dialogs
from icon.prg.
EMG