Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Window
»
Making a window always on top
Print
Pages: [
1
]
Author
Topic: Making a window always on top (Read 11287 times)
0 Members and 1 Guest are viewing this topic.
drew
Newbie
Posts: 11
Making a window always on top
«
on:
March 05, 2010, 11:27:49 pm »
Is there a way to do this? Sorry if it's been answered before; I searched through the docs and on the forums and wasn't seeing anything.
Thanks.
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Making a window always on top
«
Reply #1 on:
March 06, 2010, 10:01:22 am »
No.
Logged
Laurent Gomila - SFML developer
Blaxxun
Newbie
Posts: 9
Re: Making a window always on top
«
Reply #2 on:
November 08, 2016, 09:53:14 pm »
void
makeWindowOnTop
(
sf
::
RenderWindow
&
window
)
{
HWND hwnd
=
window.
getSystemHandle
(
)
;
SetWindowPos
(
hwnd, HWND_TOPMOST,
0
,
0
,
0
,
0
, SWP_NOMOVE
|
SWP_NOSIZE
|
SWP_NOACTIVATE
)
;
}
Logged
www.c3d.at
G-9
Newbie
Posts: 1
Re: Making a window always on top
«
Reply #3 on:
November 30, 2021, 08:04:51 pm »
nice idea, though its not really cross-platform
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
Window
»
Making a window always on top
anything