Sign in to follow this  
Followers 0
fxg4758

Change date in WindowsForms10.SysMonthCal32

5 posts in this topic

Hi all. Sorry, again i came to ask for some help. Is possible to change the date in a WindowsForms10.SysMonthCal32 by autoit command? Thanks for any information. :)

Share this post


Link to post
Share on other sites



Hello. Can you be more specific, you want to handle external (of other thread) Month control or create it in your GUI window?

Share this post


Link to post
Share on other sites

Sorry. I forgot to say that the control is in a external app. I have to use the <DotNetIdentification.au3> to get acess to more controls in that program. :)

Share this post


Link to post
Share on other sites

Sorry but I have zero experience with .NET developing but after all it just calls API functions in it's own way so I can say that it's similar to getting reference to a SysListView32 control, is it? so in this case and as I haven't used this control ever I can just say that in plain C API style program you can get reference to window or classes that match the control's text or class name and use the API function VirtualAllocEx to allocate memory block in the address space of the process and send pointers to structures or strings this way and send message... it's just a theory though, but it worked for me with other processes other than mine.

Share this post


Link to post
Share on other sites

I try this function _GUICtrlMonthCal_SetToday($h, 2009, 1, 16) and it works in that control! My doubt is how to click the date in the calendar. Someone have a idea? Thanks.

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  
Followers 0