need help

Please discuss general Delphi programming topics here.

need help

Postby kim.ray » August 31st, 2008, 6:09 am

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.
thanx
kim.ray
Active Member
Active Member
 
Posts: 6
Joined: August 31st, 2008, 6:02 am
Location: noida

Postby Kambiz » September 8th, 2008, 1:06 am

Did you set ShowHint property of toolbar (or the button) to True?
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Postby kim.ray » September 8th, 2008, 4:35 am

ya i have set it but it is not working
thanx
kim.ray
Active Member
Active Member
 
Posts: 6
Joined: August 31st, 2008, 6:02 am
Location: noida

Postby Kambiz » September 8th, 2008, 2:23 pm

Did you write the toolbar component by yourself?
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Postby kim.ray » September 9th, 2008, 8:11 am

ya i have tryed this but not working
thanx
kim.ray
Active Member
Active Member
 
Posts: 6
Joined: August 31st, 2008, 6:02 am
Location: noida

Postby Kambiz » September 9th, 2008, 3:25 pm

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;
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm


Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 0 guests

cron