Get the coordinates of the AppBar
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Any methods to get the coordinates (upper left, bottom right) of the AppBar? I want to use it to resize other windows. Thanks all!
If you mean the Taskbar, then call SHAppBarMessage() with the message ABM_GETTASKBARPOS. It sounds like you want to know the area of the desktop not covered by the Taskbar and other app bars. If that's so, then just call SystemParametersInfo(SPI_GETWORKAREA).