Hi fellows,
My recently downloaded copy of Win32Api probably contains wrong equates for the message box. There are 7 name constants taking the values 1 thru 7.
This is what I got:
0, no equate, box with OK button
1, %IDOK, box with OK and Cancel buttons
2, %IDCANCEL, box with Abort, Retry and Ignore buttons
3, %IDABORT, box with Yes, No and Cancel buttons
4, %IDRETRY, box with Yes and No buttons
5, %IDIGNORE, box with Retry and Cancel buttons
6, %IDYES, box with Help button
7, %IDNO, no button at all (you need Task Manager to quit)
I think the equates should be renamed as follows:
%IDOK = 0
%IDOKCANCEL = 1
%IDABORTRETRYIGNORE = 2
%IDYESNOCANCEL = 3
%IDYESNO = 4
%IDRETRYCANCEL = 5
%IDHELP = 6 (BTW: can someone provide a demo for the use of this msgbox format?)
------------------
mailto:[email protected][email protected]</A>
www.basicguru.com/zijlema/
[This message has been edited by Egbert Zijlema (edited January 29, 2001).]
My recently downloaded copy of Win32Api probably contains wrong equates for the message box. There are 7 name constants taking the values 1 thru 7.
This is what I got:
0, no equate, box with OK button
1, %IDOK, box with OK and Cancel buttons
2, %IDCANCEL, box with Abort, Retry and Ignore buttons
3, %IDABORT, box with Yes, No and Cancel buttons
4, %IDRETRY, box with Yes and No buttons
5, %IDIGNORE, box with Retry and Cancel buttons
6, %IDYES, box with Help button
7, %IDNO, no button at all (you need Task Manager to quit)
I think the equates should be renamed as follows:
%IDOK = 0
%IDOKCANCEL = 1
%IDABORTRETRYIGNORE = 2
%IDYESNOCANCEL = 3
%IDYESNO = 4
%IDRETRYCANCEL = 5
%IDHELP = 6 (BTW: can someone provide a demo for the use of this msgbox format?)
------------------
mailto:[email protected][email protected]</A>
www.basicguru.com/zijlema/
[This message has been edited by Egbert Zijlema (edited January 29, 2001).]
Comment