Signaling to an other process to minimize it's window lazarus / 32-Linux ---------------------------------------------------------------------- CC · 2015-12-14 13:02 Hi, Since I could not find any  I am trying to create  a launcher  similar to the  Windows7 tray to be  used with LXDE/ Lubuntu. If anyone knows an exisitng solution please point me to the right direction. TProcess provides the functionality to start and close processes, but I also need a way to have them perform the basic window commands like minimize, restore ... close, possibly kill the process. Any help is appreciated. CC ---------------------------------------------------------------------- CC · 2015-12-14 16:08 The core of the problem is that we have the process handle and we need to get the window handle, which is the  message target. ---------------------------------------------------------------------- guest58172 · 2015-12-14 20:01 Hi, I don't know if it will help but I think that X11 provides the functionality you're looking at - http://stackoverflow.com/questions/151407/how-to-get-an-x11-window- from-a-process-id - https://wikigurus.com/Article/Show/90498/How-to-get-an-X11-Window- from-a-Process-ID ---------------------------------------------------------------------- CC · 2015-12-15 07:35 BBasile This seems to be the solution. Your help is greatly appreciated. Now I need to figure out how to call this  from  the pascal code, which I have no experience with when it comes to C. I can think of a few ways though, like  - compling a .so with a c compliler  - fpgui might have  what is needed to migrate the  C code to pascal  ... CC ---------------------------------------------------------------------- avra · 2015-12-15 08:45 Quote from: CC on December 14, 2015, 02:02:50 pmSince I could not find any  I am trying to create  a launcher  similar to the  Windows7 tray to be  used with LXDE/ Lubuntu. If anyone knows an exisitng solution please point me to the right direction.There is a full windows manager that you might want to look at: http://wiki.freepascal.org/Free_Pascal_Window_Manager