![]() |
Drop Down control |
Post Reply
|
| Author | |
himanshu
Groupie
Joined: 04 January 2008 Status: Offline Points: 81 |
Post Options
Thanks(0)
Quote Reply
Topic: Drop Down controlPosted: 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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 14 April 2008 at 9:13am |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 15 April 2008 at 12:28am |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 April 2008 at 8:37am |
|
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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 16 April 2008 at 2:43pm |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 April 2008 at 12:52am |
|
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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 17 April 2008 at 1:18am |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 08 May 2008 at 2:08am |
|
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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 08 May 2008 at 3:58am |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
himanshu
Groupie
Joined: 04 January 2008 Status: Offline Points: 81 |
Post Options
Thanks(0)
Quote Reply
Posted: 08 May 2008 at 4:54am |
|
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
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 08 May 2008 at 9:26am |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 May 2008 at 12:44am |
|
i am using v11.2.2 of Xtreme toolkitpro.
Do i need to download and use 12.0
-himanshu
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 May 2008 at 1:19am |
|
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 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 May 2008 at 2:13am |
|
please find the linking error list for this project scroll below
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 09 May 2008 at 4:49am |
|
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 |