![]() |
how to make chevron drop down like menu |
Post Reply
|
| Author | |
jeffcmj
Groupie
Joined: 28 October 2004 Status: Offline Points: 92 |
Post Options
Thanks(0)
Quote Reply
Topic: how to make chevron drop down like menuPosted: 30 May 2005 at 11:33pm |
|
Hi, When there are too many toolbar buttons, xtp list them as chevron drop down. Currently it looks like another toolbar, how to make it looks like menu? I mean one button one line and has icon in front of text. And the drop down does not follow the icon size of the toolbar. One of my toolbar is 16*16 size icon, but the icon of its drop down is 32*32.
Edited by jeffcmj |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 June 2005 at 2:06am |
|
Here code: ... ON_XTP_CREATECOMMANDBAR() ... int CMainFrame::OnCreateCommandBar(LPCREATEBARSTRUCT lpCreatePopup) return FALSE;
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
jeffcmj
Groupie
Joined: 28 October 2004 Status: Offline Points: 92 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 June 2005 at 11:14pm |
|
Thanks oleg. But your code will change ALL expand bar into menu dropdown. Is it possible to only change one particular bar? It seems OnCreateCommandBar does not pass bar id etc to identify the bar.
|
|
![]() |
|
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 |