Page 1 of 1

RunProgram top window

Posted: Thu Feb 12, 2026 4:30 pm
by rndrei
How to make the called program on top of all windows?

Code: Select all

            program_run=RunProgram("./file","","", #PB_Program_Open | #PB_Program_Read | #PB_Program_Write | #PB_Program_Error )

Re: RunProgram top window

Posted: Thu Feb 12, 2026 6:15 pm
by RASHAD
Try

Code: Select all

StickyWindow(your main window, 1) 

Re: RunProgram top window

Posted: Thu Feb 12, 2026 7:03 pm
by rndrei
I need the running program to be on top of all open windows?

Re: RunProgram top window

Posted: Fri Feb 13, 2026 1:07 am
by Axolotl
On windows this could work
1. Find window handle
2. Send message to the window with topmost style
Sorrry cannot provide code, because i am on mobile phone.