jordi
Full Member
A simple solution is the smarter one.
Posts: 106
|
Post by jordi on Mar 10, 2020 13:59:40 GMT -5
Hi,
I would like to add something to my program that I don't know how to do in Liberty Basic. I would like to make the window always appear on top of other windows.
Can this be done? Or it needs some api?
Thank you so much!
|
|
|
Post by Rod on Mar 10, 2020 14:10:41 GMT -5
As always a little code prompts the best response. Always on top is a popular question. Which previous solution is not working for you?
|
|
jordi
Full Member
A simple solution is the smarter one.
Posts: 106
|
Post by jordi on Mar 10, 2020 14:46:04 GMT -5
Thanks Rod.
I am looking for the general way of doing it. I may use just a button or a checkbox.
I have tried to search in the forum but I don't see anything. Can you point me to some relevant topic or code/documentation? Thanks!
|
|
|
Post by Carl Gundel on Mar 10, 2020 15:06:55 GMT -5
Thanks Rod. I am looking for the general way of doing it. I may use just a button or a checkbox. I have tried to search in the forum but I don't see anything. Can you point me to some relevant topic or code/documentation? Thanks! libertybasiccom.proboards.com/thread/179/desktop-clockNotice the use of _WS_EX_TOPMOST -Carl
|
|
jordi
Full Member
A simple solution is the smarter one.
Posts: 106
|
Post by jordi on Mar 10, 2020 15:31:23 GMT -5
Thank you so much Carl, I will have a look!
|
|
|
Post by honkytonk on Mar 13, 2020 5:02:36 GMT -5
There is a software (free) called "WinSize2" which has the option "alway on top" (and which allows you to pre-size windows).
|
|
|
Post by honkytonk on Mar 13, 2020 5:09:11 GMT -5
|
|
jordi
Full Member
A simple solution is the smarter one.
Posts: 106
|
Post by jordi on Mar 13, 2020 13:38:46 GMT -5
The instruction that Carl said makes the window stay on top.
|
|