[ Home | Contents | Search | Next | Previous | Up ]
Date: 11/30/99
Time: 12:22:40 AM
Q. Does anyone know how to delete the default gadget in a TStatusBar,
i.e. the gadget you can't access, but which is always existing?
A. You can delete all and every gadget in every TGadgetWindow, but I
thing your the problem not the gadget, but HintText, this not the gadget this
text that TStatusBar draw on his area you can't delete it, it recreated for every call to
SetHintText() .
About text gadget:
delete StatusBar->GadgetWithId(IDG_MESSAGE);
It's all.
Yura