AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

MsgBox, Function - Reasignment

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
Beastmaster



Joined: 15 Apr 2004
Posts: 182

PostPosted: Wed Jul 28, 2004 11:03 pm    Post subject: MsgBox, Function - Reasignment Reply with quote

Command: MsgBox
Function: Icon Hand
Value: 16

delivers an Asterisk instead of the expected Icon Hand Wink

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. Very Happy
Back to top
View user's profile Send private message
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10463

PostPosted: Thu Jul 29, 2004 12:44 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
BoBo
Guest





PostPosted: Thu Jul 29, 2004 11:39 am    Post subject: Reply with quote

W2K Workstation/Sp4

16= Asterisk
32= Question mark
48= Exclamation mark
64= Info

Cool
Back to top
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10463

PostPosted: Thu Jul 29, 2004 12:27 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group