BCGControlBar Pro for MFC
BOOL CBCGPAppBarWnd::SetSide ( UINT  uSide)

Docks an application bar at the specified side of the screen.

Returns
Nonzero if the application bar was docked successfully; otherwise 0.

Use this function to dock an application bar at the specified by uiSide edge of the screen. It can be one of the following values:

  • ABE_TOP, ABE_BOTTOM, ABE_LEFT, ABE_RIGHT - top, bottom, left or right edges respectively.
  • ABE_FLOAT - floats application bar on the screen. The floating coordinates are taken from the APPBARSTATE structure (rcFloat).

If docking is not allowed at the specified edge, the function returns 0.

Parameters
uSideSpecifies the screen edge to dock the application bar at.