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

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Cx.Cobra



Joined: 08 Apr 2009
Posts: 6

PostPosted: Wed Apr 08, 2009 6:00 am    Post subject: MsgBox Reply with quote

I know how to make a simple message box with text and an ok button.
MsgBox, adfgaghafhahhfa

I was wondering if im able to make a "About" button and it pops up a page with the text of my choice.

I looked everywhere on the forums for info but couldnt find any. If someone know how to do it, please post.

Thanks.
Back to top
View user's profile Send private message
helpfilereader
Guest





PostPosted: Wed Apr 08, 2009 6:08 am    Post subject: Reply with quote

http://www.autohotkey.com/docs/commands/MsgBox.htm
Back to top
Cx.Cobra



Joined: 08 Apr 2009
Posts: 6

PostPosted: Wed Apr 08, 2009 6:36 pm    Post subject: Reply with quote

well like i said, i know how to make a MsgBox. I wanted to Add another button and when it is clicked, a page comes up with text on it.
Back to top
View user's profile Send private message
Chavez



Joined: 20 Aug 2008
Posts: 256

PostPosted: Wed Apr 08, 2009 6:51 pm    Post subject: Reply with quote

Custom GUI: http://www.autohotkey.com/docs/commands/Gui.htm
_________________
-Chavez.
Back to top
View user's profile Send private message MSN Messenger
aCkRiTe



Joined: 21 Jul 2006
Posts: 555

PostPosted: Wed Apr 08, 2009 7:05 pm    Post subject: Reply with quote

Code:

Gui, +ToolWindow
Gui, Add, Button, , About
Gui, Add, Button, wp hp ym, Ok
Gui, Show, w110 h35
Return

ButtonOk:
MsgBox, You pressed the Ok button
Return

ButtonAbout:
Run, www.autohotkey.com
Return

GuiClose:
ExitApp

_________________

HTH...
Back to top
View user's profile Send private message
Cx.Cobra



Joined: 08 Apr 2009
Posts: 6

PostPosted: Wed Apr 08, 2009 11:47 pm    Post subject: Reply with quote

Ok ty. Ill try and learn GUI now.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help 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