![]() |
Office2007 ComboBox styles for 11.2 ??? |
Post Reply
|
| Author | |
terrym
Senior Member
Joined: 13 April 2007 Status: Offline Points: 836 |
Post Options
Thanks(0)
Quote Reply
Topic: Office2007 ComboBox styles for 11.2 ???Posted: 15 September 2007 at 1:19pm |
|
How do we enable office 2007 combo box style for CXTPControlComboBox please ???
Anybody know, help much appreciated ? |
|
|
Thank you,
Terry Mancey email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 September 2007 at 1:33pm |
|
Hi,
CXTPControlComboBox* pComboFind = new CXTPControlComboBox(GetCommandBars());
pComboFind->ModifyListBoxStyle(0, LBS_OWNERDRAWFIXED | LBS_HASSTRINGS); |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
terrym
Senior Member
Joined: 13 April 2007 Status: Offline Points: 836 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 September 2007 at 1:38pm |
|
Excellent, works great, cheers
|
|
|
Thank you,
Terry Mancey email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey |
|
![]() |
|
Kenneth
Senior Member
Joined: 23 May 2004 Location: United States Status: Offline Points: 256 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 September 2007 at 1:49pm |
|
Is it possible to set a unique icon for each entry in the CXTPControlComboBox drop down list? It appears that the SetListIconId applies to all entries in the list. |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 September 2007 at 5:11am |
|
Hi,
Second item must have ListIconId + 1 image, Third ListIconId + 2 etc.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Kenneth
Senior Member
Joined: 23 May 2004 Location: United States Status: Offline Points: 256 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 September 2007 at 5:17pm |
|
Thats a shame.
It also appears that the DrawItem function does not handle unicode text correctly on Windows 98/ME.
I guess we are stuck using the old reliable Microsoft CComboBoxEx.
|
|
![]() |
|
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 |