mangle Posted January 12, 2007 Share Posted January 12, 2007 Hi all, I want create "About" msgbox with two or more lines. My questions: 1. How I can do two or more lines in one msgbox? 2. How I can post date and time, when program was compiled? Link to comment Share on other sites More sharing options...
therks Posted January 12, 2007 Share Posted January 12, 2007 MsgBox(0, '', 'Line 1' & @LF & 'Line 2') FileGetTime() ? My AutoIt Stuff | My Github Link to comment Share on other sites More sharing options...
mangle Posted January 12, 2007 Author Share Posted January 12, 2007 (edited) MsgBox(0, '', 'Line 1' & @LF & 'Line 2')FileGetTime() ?Thnx man, it's works! And another question: how I can create traytip, which will displays only when user over his mouse on my program icon in tray?And one more : how I can do special edit text in msgbox? Bold, center, italic etc Edited January 12, 2007 by mangle Link to comment Share on other sites More sharing options...
therks Posted January 12, 2007 Share Posted January 12, 2007 For the first question, you can start with this: Opt('TrayOnEventMode', 1) TraySetOnEvent(-11, '_Hover') While 1 Sleep(100) Wend Func _Hover() TrayTip('Title', 'Message', 30) EndFunc Unfortunately, for the second question, you can't do formatted text in a MsgBox. Look into the GUI stuff for a little more flexibility. My AutoIt Stuff | My Github Link to comment Share on other sites More sharing options...
mangle Posted January 12, 2007 Author Share Posted January 12, 2007 For the first question, you can start with this:Mmm, I need another tooltip. ^ This is default tip on mouse over. How change it to custom? Link to comment Share on other sites More sharing options...
mangle Posted January 13, 2007 Author Share Posted January 13, 2007 up ^ pls, advice me. Link to comment Share on other sites More sharing options...
BALA Posted January 13, 2007 Share Posted January 13, 2007 $exit = TrayCreateItem("Exit") TrayItemSetOnEvent(-1,"ExitEvent") [font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com Link to comment Share on other sites More sharing options...
mangle Posted January 13, 2007 Author Share Posted January 13, 2007 BALA, may be I'm stupid idiot, but I dont understant your code .pls, explain it. Link to comment Share on other sites More sharing options...
Helge Posted January 13, 2007 Share Posted January 13, 2007 mangle, you got no reason to feel stupid since BALA suggested something that has nothing to do with your question. TraySetToolTip however is what you're looking for. Link to comment Share on other sites More sharing options...
mangle Posted January 13, 2007 Author Share Posted January 13, 2007 thnx guy, it's true. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now