BringWindowtotop function not working
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
I want to Bring a window to top. I am using BringWindowToTop() function. But its not working.How can i do it.
I have no idea what you mean by "it is not working". Did you check the return value of the function? The documentation says that if the function returns zero, you can check why the function failed by calling GetLastError()[^]. You could try SetForegroundWindow()[^] as well.
It is a crappy thing, but it's life -^ Carlo Pallini
-
I want to Bring a window to top. I am using BringWindowToTop() function. But its not working.How can i do it.
Please refer
SetWindowPos
with parameterHWND_TOPMOST
. Is this helpful ? Regards, Paresh.