3dude Posted December 24, 2007 Share Posted December 24, 2007 How can I make a calendar appear! I don't won't it to be a drop-down menu! I want it to be the whole calendar! And for example to click on a date and a window appears! Thanks in advanced! View my blog :) 3dude's blog <= help with project :S Link to comment Share on other sites More sharing options...
therks Posted December 24, 2007 Share Posted December 24, 2007 #include <GUIConstantsEx.au3> $gui = GUICreate('', 200, 200) $cal = GUICtrlCreateMonthCal('1982/11/02', 0, 0, 200, 200) GUISetState() While 1 $gm = GUIGetMsg() Switch $gm Case $GUI_EVENT_CLOSE ExitLoop Case $cal MsgBox(0, '', GUICtrlRead($cal)) EndSwitch WEnd My AutoIt Stuff | My Github Link to comment Share on other sites More sharing options...
3dude Posted December 24, 2007 Author Share Posted December 24, 2007 Thanks a lot! It is great! Could you please tell me if I can , for example, remove the bar where the buttons close minimize and..... are! I want to make it look smoother because it will stay on the desktop! For example to have a small "X" button to close it! You don't have to write the script if you want! Just tell me where to look! Thanks View my blog :) 3dude's blog <= help with project :S Link to comment Share on other sites More sharing options...
therks Posted December 24, 2007 Share Posted December 24, 2007 Look at the window styles, specifically $WS_POPUP, that will remove the titlebar. Then you could add your own button to close the window if you'd like. My AutoIt Stuff | My Github Link to comment Share on other sites More sharing options...
3dude Posted December 24, 2007 Author Share Posted December 24, 2007 (edited) Thanks! Last question! I have a GUI you click a button and the calendar appears! If I close the calendar the whole program closes! Please don't shout at me! I tried to understand the parent-child thing but I couldn't! Thanks! ----------------- And also how can I make the background of the calendar disappear! It is white! I want to see only the numbers and words! Thanks! btw the thing whit the frame worked! Edited December 24, 2007 by 3dude View my blog :) 3dude's blog <= help with project :S 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