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 

How to set correct icon for MsgBox ?
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Sean



Joined: 12 Feb 2007
Posts: 1397

PostPosted: Sat Jun 21, 2008 12:16 pm    Post subject: Reply with quote

Mike" wrote:
This script has same icon problem for MsgBox icon as AHK01.EXE with simple "MsgBox icon test"

I knew. That's why I took the route to remove the task button. The only way found so far to correct the task button icon is to revoke the IconCache which involves not so friendly procedure like exit/reboot/deliberate-shell-crash etc. So I tended to prefer not showing the task button than correcting the icon of it. The key point in my code is to specify a non-trivial window (handle) than the desktop window as the owner of the MsgBox, but AHK's MsgBox function is lacking of a way to specify it, I used DllCall instead.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
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