![]() |
Drop Down control |
Post Reply ![]() |
Author | |
himanshu ![]() Groupie ![]() Joined: 04 January 2008 Status: Offline Points: 81 |
![]() ![]() ![]() ![]() ![]() Posted: 14 April 2008 at 9:04am |
Hi
Referring to ribbonSample example in samples under
"Insert" Tab , "Illustrations" Group ,"Picture" dropdown box
if i select option other than picture that is "clip art " or "from scanner or camera" i want that text and its corresponding image should be displayed in the dropdown box.
How should we do that.
Thanks in Advance
Himanshu
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Just add image with this id to ImageManager.
See CMainFrame::LoadIcons() method.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
himanshu ![]() Groupie ![]() Joined: 04 January 2008 Status: Offline Points: 81 |
![]() ![]() ![]() ![]() ![]() |
Hi
I want to display the newly selected item in place of previous one which was displayed to the user.
Now user should see this selected item on top.
-himanshu
|
|
![]() |
|
himanshu ![]() Groupie ![]() Joined: 04 January 2008 Status: Offline Points: 81 |
![]() ![]() ![]() ![]() ![]() |
hi
could i have any update here.
for example i am attaching two images from visual studio.
when i select the resource view option the is shown in this control.
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Use SetIconId method + Update handler. Serach "SetIconId" in forum
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
himanshu ![]() Groupie ![]() Joined: 04 January 2008 Status: Offline Points: 81 |
![]() ![]() ![]() ![]() ![]() |
Hi
We are using SetIcon method instead of SetIconId.
pCommandBars->GetImageManager()->SetIcons(hBmp, uarr, _countof(uarr), CSize(32, 32), xtpImageNormal, TRUE);
How we can achieve for this?
-himanshu
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello, send to support@codejock.com sample, I will show how to change it.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
himanshu ![]() Groupie ![]() Joined: 04 January 2008 Status: Offline Points: 81 |
![]() ![]() ![]() ![]() ![]() |
hi
i am attaching my sample project
could you show me how to do that
this project need to build with visual studio2005
thanks
himanshu
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
himanshu ![]() Groupie ![]() Joined: 04 January 2008 Status: Offline Points: 81 |
![]() ![]() ![]() ![]() ![]() |
i am getting three errors compiling the project in vs2005
1)Cannot open include file: 'AboutDlg.h'
2)'XTP_DPN_CONTEXTMENU' : undeclared identifier
3)'xtpThemeVisualStudio2008' : undeclared identifier
thanks
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi, Its project from 12.0 release. its easy to fix each of this error.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
himanshu ![]() Groupie ![]() Joined: 04 January 2008 Status: Offline Points: 81 |
![]() ![]() ![]() ![]() ![]() |
i am using v11.2.2 of Xtreme toolkitpro.
Do i need to download and use 12.0
-himanshu
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
You can use 11.2.2 version. What error you can't fix ??
1. Remove AboutDlg.h
2. Remove block with 'XTP_DPN_CONTEXTMENU'
3. replace to available theme.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
himanshu ![]() Groupie ![]() Joined: 04 January 2008 Status: Offline Points: 81 |
![]() ![]() ![]() ![]() ![]() |
please find the linking error list for this project scroll below
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
Change this option
Properties->c/c++>Language->Treate wchar_t as Builtin Type =yes
(if it was "yes" change to "No" )
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
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 |