ReAction window.class [ SOLVED ]

5 posts / 0 new
Last post
Massi
Massi's picture
Offline
Last seen: 4 years 1 month ago
Joined: 2012-03-28 17:16
ReAction window.class [ SOLVED ]

Hello.

In my Workbench application I want the program window to always stay in front of all others, option driven by a popupmenu.

I use ReAction GUI engine.

Any idea how to do this?

Thanks, regards

tbreeden
tbreeden's picture
Offline
Last seen: 6 years 2 months ago
Joined: 2010-12-09 03:10
Try tag WA_StayTop. From the

Try tag WA_StayTop.

From the AutoDocs for Window Class:

----------------------------------------------------------------------

The following standard Intuition window tags are supported.

You may set these while the window is NOT open, at NewObject()

time or SetAttrs() - between WM_CLOSE and WM_OPEN for example:

...

WA_StayTop

Massi
Massi's picture
Offline
Last seen: 4 years 1 month ago
Joined: 2012-03-28 17:16
Thanks, I saw that. In my

Thanks, I saw that.
In my case I have a window already opened and on user action (say popupmenu) I want the window to stay in front of all others.
Do I have to close the window (WM_CLOSE), call SetAttrs() and reopen the window again (WM_OPEN)?

Massi
Massi's picture
Offline
Last seen: 4 years 1 month ago
Joined: 2012-03-28 17:16
Now solved! Thanks to all

Now solved!
Thanks to all contributions.

Log in or register to post comments