I am wanting to get and change the display date in the datetimepicker control located in a 3rd party application that runs in the background and thus not in focus. I found that DTM_GetSystemTime and DTM_SetSystemTime can do this but I have been unable to get it to work. I get an error message...
I am wanting to get and change the display date in the datetimepicker control located in a 3rd party application that runs in the background and thus not in focus. I found that DTM_GetSystemTime and DTM_SetSystemTime can do this but I have been unable to get it to work. I get an error message...
Thanks for the tips. I wasn't able to get the WM_KEYDOWN/WM_KEYUP but found another way. I was able to get the handle of the menu item and click down that way using GetMenu, GetSubMenu, GetMenuItemID. Here's the code for those struggling with this as well (Notepad is sample app. Code assumes...
So is there no way to send a hotkey command while the window is NOT in focus? Application will be running in the background (user logged out) so I can't bring the application forward and use sendkeys nor keybd_event. I basically just need a way to click on say File>Open while the application is...
I need some guidance! I'm using sendmessage to send keystrokes to another application that is not active. This part works just great. But I am not able to send hotkeys. Say for example. I'm sending keystrokes to notepad and I want the date. One can do this by clicking Edit>Time/Date or sending...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.