Page 1 of 1
need help

Posted:
August 31st, 2008, 6:09 am
by kim.ray
hi all,
i am developing a ie toolbar.i am using a tcoolbar component.
and i have created a xp_button on this tcoolbar and this button have a tPopUpMenu.
but when i set it's hint proprty then hint property is not working.

Posted:
September 8th, 2008, 1:06 am
by Kambiz
Did you set ShowHint property of toolbar (or the button) to True?

Posted:
September 8th, 2008, 4:35 am
by kim.ray
ya i have set it but it is not working

Posted:
September 8th, 2008, 2:23 pm
by Kambiz
Did you write the toolbar component by yourself?

Posted:
September 9th, 2008, 8:11 am
by kim.ray
ya i have tryed this but not working

Posted:
September 9th, 2008, 3:25 pm
by Kambiz
I guess you have to handle CM_HINTSHOW message in you toolbar component.
Unfortunately the message is undocumented. The message structure is as follow:
- Code: Select all
TCMHintShow = record
Msg: Cardinal; // The message ID, which is CM_HINTSHOW
Reserved: Integer; // Not used
HintInfo: PHintInfo; // A pointer to THintInfo record. Hopefully there is an entry for that on Delphi's help.
Result: Integer; // 1 if message is processed, 0 otherwise.
end;