Search results for query: *

  1. S

    Modify date in DateTimePicker via SendMessage

    I made the suggested changes (SYSTEMTIME from Integer to Int16) as well as checked my declarations with the ApiViewer (That's for the tip!). I am still getting the " PInvokeStackImbalance was detected" error message. I noticed I could get/set the system timeclock in the taskbar but not the time...
  2. S

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

    Sending hotkeys via SendMessage

    I was able to get to the menu's by using GetMenu, GetSubMenu, and GetMenuItemID. For those interested, here is the code: PrivateDeclareAnsiFunction SendMessage Lib"user32.dll"Alias"SendMessageA" (ByVal hwnd AsInteger, ByVal wMsg AsInteger, ByVal wParam AsInteger, ByVal lParam AsString)...
  4. S

    Sending hotkeys via SendMessage

    This works perfect if the window is active. However, the application I'm working on will be running while the user is logged off. Is there a way to send a hotkey to a specific window that is NOT in the foreground/active state? I resorted to using sendmessage because I could grab the handle and...
  5. S

    Sending hotkeys via SendMessage

    I'll try that. Thanks for the quick reply. :)
  6. S

    Sending hotkeys via SendMessage

    I'm using sendmessage in vb.net to send keystrokes to another application that is not active (application runs in background thus 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...
Back
Top