Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Sweetve13

    DateTimePicker via SendMessage

    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...
  2. Sweetve13

    Modify date in DateTimePicker via SendMessage

    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...
  3. Sweetve13

    Sending hotkeys via SendMessage

    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...
  4. Sweetve13

    Sending hotkeys via SendMessage

    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...
  5. Sweetve13

    Sending hotkeys via SendMessage

    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...

Part and Inventory Search

Back
Top