JackT 1 Posted 10 hours ago When right clicking my programs toolbar button it open the JumpList menu. I can add a Task which runs a program when selected with command line parameters ? Is there any way to simply send a command to the program generating the taskbar button so that it executes the command against the current instance ? I just want to add a function to show a hidden window. Thanks for any help in advance Jack T Share this post Link to post
JackT 1 Posted 6 hours ago (edited) My work around is to create a dll and call a function in it using RunDLL32 as the Task. I pass in the windows handle of my main window along with the name of the function I want to execute. The DLL posts a message to the main program window to make it do the thing I wanted it to do. Edited 6 hours ago by JackT Share this post Link to post
FredS 140 Posted 2 hours ago I used an EXE built in an older version (smaller size), it parses the cmdline, registers a mutual Windows Message then sends it back in the form of a WM_CopyData message. Note: WM_CopyData works across Application and Bitness boundaries Share this post Link to post