GetDesktopWindow()
C / C++ / MFC
3
Posts
2
Posters
0
Views
1
Watching
-
Hi, I want to check whether active windows is desktop or not ? is it possible to check it using GetDesktopWindow(), please give me hint or short example. thanx
-
Hi, I want to check whether active windows is desktop or not ? is it possible to check it using GetDesktopWindow(), please give me hint or short example. thanx
Use
GetActiveWindow()
andGetDesktopWindow()
and compare if theHWND
s returned are the same.«_Superman_» I love work. It gives me something to do between weekends.
-
Use
GetActiveWindow()
andGetDesktopWindow()
and compare if theHWND
s returned are the same.«_Superman_» I love work. It gives me something to do between weekends.
But GetActiveWindow() fails when I click on tray icon, it returns null :(