weevilofdoom
Programmer
Trying to just setup a few standard toolbar items in my app, got my array of TBBUTTON
TBBUTTON tbb[] = { STD_DELETE, 1, TBSTATE_ENABLED, TBSTYLE_BUTTON, 0, 0, 0, 0,
STD_PRINT, 2, TBSTATE_ENABLED, TBSTYLE_BUTTON, 0, 0, 0, 0,
STD_HELP, 3, TBSTATE_ENABLED, TBSTYLE_BUTTON, 0, 0, 0, 0 };
(sorry about formatting).
I make sure to initialize the common controls and toolbars, they appear fine in my app, but with no images on them?
hwndTool = CreateToolbarEx( hwnd, WS_VISIBLE | TBSTYLE_TOOLTIPS, ID_TOOLBAR,
0, NULL, (UINT_PTR)NULL, tbb, 3, 0, 0, 0, 0,
sizeof(TBBUTTON ) );
this is how i create my toolbar control... ?? (this function states that WS_CHILD is used by default, is why I don't have it there ), however, I am stumped...
The weevil of doooooooooom
-The eagle may soar, but the weasel never gets sucked up by a jet engine (Anonymous)
TBBUTTON tbb[] = { STD_DELETE, 1, TBSTATE_ENABLED, TBSTYLE_BUTTON, 0, 0, 0, 0,
STD_PRINT, 2, TBSTATE_ENABLED, TBSTYLE_BUTTON, 0, 0, 0, 0,
STD_HELP, 3, TBSTATE_ENABLED, TBSTYLE_BUTTON, 0, 0, 0, 0 };
(sorry about formatting).
I make sure to initialize the common controls and toolbars, they appear fine in my app, but with no images on them?
hwndTool = CreateToolbarEx( hwnd, WS_VISIBLE | TBSTYLE_TOOLTIPS, ID_TOOLBAR,
0, NULL, (UINT_PTR)NULL, tbb, 3, 0, 0, 0, 0,
sizeof(TBBUTTON ) );
this is how i create my toolbar control... ?? (this function states that WS_CHILD is used by default, is why I don't have it there ), however, I am stumped...
The weevil of doooooooooom
-The eagle may soar, but the weasel never gets sucked up by a jet engine (Anonymous)