WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: geauga on January 05, 2015, 11:51:10 AM

Title: Displaying Message On Top
Post by: geauga on January 05, 2015, 11:51:10 AM
I neeed to give status while a program is running using Message or Display but anothr program is running and my message is behind this windows.  Is there a way to force the message to display on top?
Title: Re: Displaying Message On Top
Post by: td on January 05, 2015, 01:27:05 PM
You can use the WinActivate or WindowOnTop functions to make  a window appear at the top of the z order. 

Code (winbatch) Select

WindowOnTop("",1)
Message("On Top", "I am a topmost Window")
WindowOnTop("",0)