![]() |
xtpButtonIcon Problem |
Post Reply
|
| Author | |
douglashogan
Groupie
Joined: 02 July 2003 Location: Switzerland Status: Offline Points: 62 |
Post Options
Thanks(0)
Quote Reply
Topic: xtpButtonIcon ProblemPosted: 21 February 2004 at 9:02am |
|
A control created with the following styles... lpCreateControl->controlType = xtpControlPopup; should have tooltip and status bar text because it is a button. However, the SetID function which extracts the tooltip and stauts text never gets called. Instead you take the string from the popup menu. Should have option somewhere to set this via string table entry with the same ID.
|
|
|
Regards
Douglas Hogan |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 February 2004 at 11:09am |
|
you can use xtpControlButtonPopup |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
douglashogan
Groupie
Joined: 02 July 2003 Location: Switzerland Status: Offline Points: 62 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 February 2004 at 7:12pm |
|
Problem is that we lose the downarrow button then.
|
|
|
Regards
Douglas Hogan |
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 February 2004 at 9:16pm |
|
I am not sure what you mean by a down arrow. I am assuming you
are adding this control to the active menubar so you don't want an icon
on the button. How about xtpControlSplitButtonPopup without an
icon? You would have to click on the arrow to get the menu
though. This gives a down arrown next to the text. Not sure
if that is what you meant.
|
|
![]() |
|
douglashogan
Groupie
Joined: 02 July 2003 Location: Switzerland Status: Offline Points: 62 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 February 2004 at 10:44am |
|
I mean that I want to click on a toolbar button which generates a popup menu. The issue is that I also want the little down arrow next to the button which indicates clearly that it is a toolbar button which displays a menu as opposed to an ordinary toolbar button. xtpControlSplitButtonPopup is OK but it separates the buttton from the downarrow. I want it to work as a unit.
|
|
|
Regards
Douglas Hogan |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |