Gallery control on a dialog
Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=14191
Printed Date: 21 December 2024 at 8:48pm Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: Gallery control on a dialog
Posted By: ABuenger
Subject: Gallery control on a dialog
Date Posted: 30 April 2009 at 7:34pm
Is it possible to use the Gallery control on a CDialog / CView? See Insert > Chart in Excel 2007.
------------- Codejock support
|
Replies:
Posted By: Oleg
Date Posted: 01 May 2009 at 2:12am
Hi,
You can insert ToolBar to dialog. Try search in forum. There was some sample already.
------------- Oleg, Support Team CODEJOCK SOFTWARE SOLUTIONS
|
Posted By: ABuenger
Date Posted: 01 May 2009 at 7:46am
oleg wrote:
Hi,
You can insert ToolBar to dialog. Try search in forum. There was some sample already. |
Thanks Oleg, but I don't want to have a toolbar with a gallery on the dialog, I only want the gallery popup as in the screenshot above.
------------- Codejock support
|
Posted By: terrym
Date Posted: 05 May 2009 at 9:55am
ABuenger wrote:
Is it possible to use the Gallery control on a CDialog / CView? See Insert > Chart in Excel 2007.
|
Hi ABuenger
Do you mean like below, as if so I can help you as I have already made a clone of this dialog using Gallery Controls:
------------- Thank you, Terry Mancey
email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey
|
Posted By: ABuenger
Date Posted: 05 May 2009 at 4:21pm
terrym wrote:
|
Nice! Please check your PM.
------------- Codejock support
|
Posted By: ABuenger
Date Posted: 07 May 2009 at 5:01pm
Could you please put the declaration of CXTPControlGalleryOffice2007Theme in a header! I had to derive my own theme from CXTPControlGalleryOffice2007Theme to get a white gallery background and had to copy the declaration from XTPOffice2007Theme.cpp.
class CControlGalleryOffice2007Theme : public CXTPControlGalleryOffice2007Theme { public: CControlGalleryOffice2007Theme(CXTPPaintManager* pPaintManager) : CXTPControlGalleryOffice2007Theme(pPaintManager) {
} virtual void FillControl(CDC* pDC, CXTPControlGallery* pGallery, CRect rc) { pDC->FillSolidRect(&rc, RGB(255,255,255)); } };
------------- Codejock support
|
Posted By: Oleg
Date Posted: 08 May 2009 at 1:04am
Hi,
moved. thanks.
------------- Oleg, Support Team CODEJOCK SOFTWARE SOLUTIONS
|
Posted By: terrym
Date Posted: 08 May 2009 at 3:07am
ABuenger wrote:
Could you please put the declaration of CXTPControlGalleryOffice2007Theme in a header! I had to derive my own theme from CXTPControlGalleryOffice2007Theme to get a white gallery background and had to copy the declaration from XTPOffice2007Theme.cpp.
class CControlGalleryOffice2007Theme : public CXTPControlGalleryOffice2007Theme { public: CControlGalleryOffice2007Theme(CXTPPaintManager* pPaintManager) : CXTPControlGalleryOffice2007Theme(pPaintManager) {
} virtual void FillControl(CDC* pDC, CXTPControlGallery* pGallery, CRect rc) { pDC->FillSolidRect(&rc, RGB(255,255,255)); } };
|
Much nicer idea, as right now we had to hack this lol :(
But good to know this will be changed for next released.
------------- Thank you, Terry Mancey
email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey
|
Posted By: aldokocha
Date Posted: 12 May 2009 at 5:09pm
terrym wrote:
Hi ABuenger
Do you mean like below, as if so I can help you as I have already made a clone of this dialog using Gallery Controls:
|
I'm very interested in creating image galleries in a Dialog/View. Could you help me as well?
------------- Aldo Kocha
|
Posted By: ABuenger
Date Posted: 14 May 2009 at 5:35pm
Clicking an item in the gallery on a dialog has no effect, the item is being highlighted but not marked as "hot" when clicked.
------------- Codejock support
|
Posted By: terrym
Date Posted: 15 May 2009 at 3:59am
Could you please download our http://www.my-software.co.uk/products/create-a-gift/download/cg-setup.exe - http://www.my-software.co.uk/products/create-a-gift/download/cg-setup.exe and then click Download Images on the Insert ribbon and see if ours does what you say?
------------- Thank you, Terry Mancey
email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey
|
Posted By: terrym
Date Posted: 15 May 2009 at 4:07am
aldokocha wrote:
terrym wrote:
Hi ABuenger
Do you mean like below, as if so I can help you as I have already made a clone of this dialog using Gallery Controls:
|
I'm very interested in creating image galleries in a Dialog/View. Could you help me as well? |
Sure, what help would you like as then we can point you in the right direction.
------------- Thank you, Terry Mancey
email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey
|
Posted By: terrym
Date Posted: 15 May 2009 at 4:13am
ABuenger wrote:
Clicking an item in the gallery on a dialog has no effect, the item is being highlighted but not marked as "hot" when clicked.
|
Oh yes, if I remember correctly we had to derive our own CXTPControlGalleryItem class, not only to get around this issue, but also to implement multiple selections as if you check out our version you toggle each item (on/off) then click the Download button to download those items.
------------- Thank you, Terry Mancey
email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey
|
Posted By: aldokocha
Date Posted: 15 May 2009 at 7:32am
terrym wrote:
Oh yes, if I remember correctly we had to derive our own CXTPControlGalleryItem class, not only to get around this issue, but also to implement multiple selections as if you check out our version you toggle each item (on/off) then click the Download button to download those items.
|
Could you tell me in what version of Codejock I can check out that feature?
------------- Aldo Kocha
|
Posted By: ABuenger
Date Posted: 15 May 2009 at 9:12am
Will an out of the box solution for this problem be included in 13.1? There are multiple customers with the same request and everyone has to search for an 1 year old half-working sample
------------- Codejock support
|
|