Jump to content
Sign in to follow this  

Including a personal calendar in a game/app

Recommended Posts

After learning the basics of autoit, I threw myself into making a little game with autoit (all with Gui and GuiSetMsg() things, anything graphic ;P).

I would like to add a personal calendar to the game that starts from a date I set (example: 1 january 2010) then whenever an action happens (example go out with friends, go to work etc. etc.) a day passes.

From what I understood looking into the forum, to add a day whenever something happens i should use GuiCtrlCreateDate or something to create the date and _DateAdd to make the time pass when an action it's made. Am I right?

Also, how could I set a date without forcefully showing a GuiCtrlCreateDate?

From what I got reading help, declaring a date in a variable and then using _DateAdd Should work.

Am I right? Any Examples?

Edited by niubbone

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...