fxg4758 Posted January 24, 2009 Share Posted January 24, 2009 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. Link to comment Share on other sites More sharing options...
Authenticity Posted January 24, 2009 Share Posted January 24, 2009 Hello. Can you be more specific, you want to handle external (of other thread) Month control or create it in your GUI window? Link to comment Share on other sites More sharing options...
fxg4758 Posted January 24, 2009 Author Share Posted January 24, 2009 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. Link to comment Share on other sites More sharing options...
Authenticity Posted January 24, 2009 Share Posted January 24, 2009 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. Link to comment Share on other sites More sharing options...
fxg4758 Posted January 24, 2009 Author Share Posted January 24, 2009 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. 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