Jump to content
Sign in to follow this  
3dude

Calendar Question

Recommended Posts

#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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 by 3dude

View my blog :) 3dude's blog <= help with project :S

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...