Actually, it is the code below that solved the prob but wat I don''t understand is where I went wrong? Is it the "OL" thing or something else. Well, that''s my mental block.
quote:
static TBBUTTON buttons[] = { { 0, IDM_OPEN, TBSTATE_ENABLED, TBSTYLE_BUTTON, 0, 0 }, { 3, IDM_SAVE, TBSTATE_ENABLED, TBSTYLE_BUTTON, 0, 0 }, { 1, IDM_UPPERCASE, TBSTATE_ENABLED, TBSTYLE_BUTTON, 0, 0 }, { 2, IDM_LOWERCASE, TBSTATE_ENABLED, TBSTYLE_BUTTON, 0, 0 }, { 0, 0, TBSTATE_ENABLED, TBSTYLE_SEP, 0, 0 }, { 4, IDM_HELP, TBSTATE_ENABLED, TBSTYLE_BUTTON, 0, 0 },};
The road may be long, wind may be rough. But with a will at heart, all shall begone. ~savage chant