Here are a couple of MessageBox equates that are missing from
the WIN32API.INC:
%MB_DEFBUTTON4 = &H300&
%MB_USERICON = &H80&
The first equate puts a "Help" button on the MessageBox
dialog. The second one allows the programmer to select a
custom or predefined Icon when using
MessageBoxIndirect.
Enjoy!
Forgot these two equates:
%IDCLOSE = 8
%IDHELP = 9
I don't know if the first one is in WIN32API.INC - I included it
because I don't recall seeing it there. I assumed the second
one isn't, since the Help Button one isn't defined there.

CORRECTION: the following equate should be the one for putting
the Help Button on the dialog:
%MB_HELP = &H4000&
------------------
Clay C. Clear
http://www.v3space.com/a/a39/202/
[email protected]
[email protected]
[This message has been edited by Clay Clear (edited July 08, 2001).]
the WIN32API.INC:
%MB_DEFBUTTON4 = &H300&
%MB_USERICON = &H80&
The first equate puts a "Help" button on the MessageBox
dialog. The second one allows the programmer to select a
custom or predefined Icon when using
MessageBoxIndirect.
Enjoy!

Forgot these two equates:
%IDCLOSE = 8
%IDHELP = 9
I don't know if the first one is in WIN32API.INC - I included it
because I don't recall seeing it there. I assumed the second
one isn't, since the Help Button one isn't defined there.

CORRECTION: the following equate should be the one for putting
the Help Button on the dialog:
%MB_HELP = &H4000&
------------------
Clay C. Clear
http://www.v3space.com/a/a39/202/
[email protected]
[email protected]
[This message has been edited by Clay Clear (edited July 08, 2001).]
Comment