Jump to content
Sign in to follow this  
JackT

Understanding TJumpList

Recommended Posts

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

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 by JackT

Share this post


Link to post

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×