| View previous topic :: View next topic |
| Author |
Message |
Beastmaster
Joined: 15 Apr 2004 Posts: 182
|
Posted: Wed Jul 28, 2004 11:03 pm Post subject: MsgBox, Function - Reasignment |
|
|
Command: MsgBox
Function: Icon Hand
Value: 16
delivers an Asterisk instead of the expected Icon Hand
Check this out.
| Code: | MsgBox, 16,, 16=should be Icon Hand
MsgBox, 32,, 32=Icon Question
MsgBox, 48,, 48=Icon Exclamation
MsgBox, 64,, 64=should be Icon Asterisk |
Thx.  |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10463
|
Posted: Thu Jul 29, 2004 12:44 am Post subject: |
|
|
I'm not sure, but it's possible the exact icons you get vary depending on operating system and the user's locale. But they are documented correctly and I believe they work as they should based on what Microsoft has named them.
I believe the "Hand" icon refers to the old style raised palm that used to indicate a "stop error". Nowadays -- on my XP system at least -- a red X icon is shown instead.
In the help file, I will clarify as follows:
Icon Hand (stop/error)
Icon Asterisk (info) |
|
| Back to top |
|
 |
BoBo Guest
|
Posted: Thu Jul 29, 2004 11:39 am Post subject: |
|
|
W2K Workstation/Sp4
16= Asterisk
32= Question mark
48= Exclamation mark
64= Info
 |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10463
|
Posted: Thu Jul 29, 2004 12:27 pm Post subject: |
|
|
The internal names chosen by Microsoft are the same (I believe) for all operating systems. This is evidenced by the following excerpt from winuser.h:
#define MB_ICONHAND 0x00000010L (i.e. 16)
#define MB_ICONQUESTION 0x00000020L (i.e. 32)
#define MB_ICONEXCLAMATION 0x00000030L (i.e. 48)
#define MB_ICONASTERISK 0x00000040L (i.e. 64)
I have no idea what "IconAsterisk" originally meant, or whether it has any specific meaning today other than the Info icon that is shown. |
|
| Back to top |
|
 |
|