Determine whether window handle is an appbar window

  appbar, c++, winapi, windows

Is there a way to determine whether a window is an appbar (application desktop toolbar)?

The Windows taskbar has the window styles WS_CLIPCHILDREN | WS_CLIPSIBLINGS | WS_VISIBLE | WS_POPUP | WS_EX_TOPMOST | WS_EX_TOOLWINDOW. However, the presence of those window styles don’t seem to guarantee that a window is an appbar.

Source: Windows Questions

LEAVE A COMMENT