Does this actually work ??
MyToolBar->EnableButton(ID_DELETE,false);
does absolutely nothing, the return code is successful
but my delete button is not disabled.
If I use
MyToolBar->SetState(ID_DELETE,TBSTATE_INDETERMINATE);
it disables the button but also set the background to white, not what I really require !
Any advice ?
MyToolBar->EnableButton(ID_DELETE,false);
does absolutely nothing, the return code is successful
but my delete button is not disabled.
If I use
MyToolBar->SetState(ID_DELETE,TBSTATE_INDETERMINATE);
it disables the button but also set the background to white, not what I really require !
Any advice ?