Toolbar в Rebar'е
HWND CreateRebar(HWND hParentWnd)
{
HWND hRebar;
REBARINFO rbi;
REBARBANDINFO rbBand;
hRebar = CreateWindowEx(WS_EX_TOOLWINDOW,
REBARCLASSNAME,
NULL,
WS_CHILD | WS_VISIBLE | WS_BORDER | WS_CLIPSIBLINGS | WS_CLIPCHILDREN | RBS_VARHEIGHT | RBS_AUTOSIZE | CCS_NODIVIDER | CCS_TOP,
0, 50, 0, 0,
hParentWnd,
NULL,
hInstance,
NULL);
if(!hRebar) ret