Hello,
Doing a search thru the Windows forum I found several solutions to include an icon in a dialog.
It does not work. What I want is a dialog that should be a lookalike
of a yes/no messagebox. It should display the default questionmark. Not in the
caption bar, by the way, but in the dialog itself. Here's the callback code (as you can see, I've tried them all):
------------------
mailto:[email protected][email protected]</A>
www.basicguru.com/zijlema/
Doing a search thru the Windows forum I found several solutions to include an icon in a dialog.
It does not work. What I want is a dialog that should be a lookalike
of a yes/no messagebox. It should display the default questionmark. Not in the
caption bar, by the way, but in the dialog itself. Here's the callback code (as you can see, I've tried them all):
Code:
CALLBACK FUNCTION IconInclude() LOCAL hIcon AS LONG SELECT CASE CBMSG CASE %WM_INITDIALOG hIcon = LoadIcon(BYVAL %NULL, BYVAL %IDI_QUESTION) ' SendMessage CBHNDL, %WM_SETICON, %ICON_BIG, hIcon DIALOG SEND CBHNDL, %WM_SETICON, %ICON_BIG, hIcon ' SetClassLong CBHNDL, %GCL_HICON, hIcon END SELECT END FUNCTION
mailto:[email protected][email protected]</A>
www.basicguru.com/zijlema/
Comment