![]() |
Gallery control on a dialog |
Post Reply ![]() |
Author | ||
ABuenger ![]() Newbie ![]() ![]() Joined: 02 February 2006 Status: Offline Points: 1075 |
![]() ![]() ![]() ![]() ![]() 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
|
||
![]() |
||
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
|
Hi,
You can insert ToolBar to dialog. Try search in forum. There was some sample already.
|
||
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
||
![]() |
||
ABuenger ![]() Newbie ![]() ![]() Joined: 02 February 2006 Status: Offline Points: 1075 |
![]() ![]() ![]() ![]() ![]() |
|
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
|
||
![]() |
||
terrym ![]() Senior Member ![]() Joined: 13 April 2007 Status: Offline Points: 836 |
![]() ![]() ![]() ![]() ![]() |
|
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 |
||
![]() |
||
ABuenger ![]() Newbie ![]() ![]() Joined: 02 February 2006 Status: Offline Points: 1075 |
![]() ![]() ![]() ![]() ![]() |
|
Nice! Please check your PM. |
||
Codejock support
|
||
![]() |
||
ABuenger ![]() Newbie ![]() ![]() Joined: 02 February 2006 Status: Offline Points: 1075 |
![]() ![]() ![]() ![]() ![]() |
|
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
|
||
![]() |
||
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
|
Hi,
moved. thanks.
|
||
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
||
![]() |
||
terrym ![]() Senior Member ![]() Joined: 13 April 2007 Status: Offline Points: 836 |
![]() ![]() ![]() ![]() ![]() |
|
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 |
||
![]() |
||
aldokocha ![]() Newbie ![]() ![]() Joined: 12 May 2009 Location: United States Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
|
I'm very interested in creating image galleries in a Dialog/View. Could you help me as well?
|
||
Aldo Kocha
|
||
![]() |
||
ABuenger ![]() Newbie ![]() ![]() Joined: 02 February 2006 Status: Offline Points: 1075 |
![]() ![]() ![]() ![]() ![]() |
|
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
|
||
![]() |
||
terrym ![]() Senior Member ![]() Joined: 13 April 2007 Status: Offline Points: 836 |
![]() ![]() ![]() ![]() ![]() |
|
Could you please download our 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 |
||
![]() |
||
terrym ![]() Senior Member ![]() Joined: 13 April 2007 Status: Offline Points: 836 |
![]() ![]() ![]() ![]() ![]() |
|
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 |
||
![]() |
||
terrym ![]() Senior Member ![]() Joined: 13 April 2007 Status: Offline Points: 836 |
![]() ![]() ![]() ![]() ![]() |
|
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 |
||
![]() |
||
aldokocha ![]() Newbie ![]() ![]() Joined: 12 May 2009 Location: United States Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
|
Could you tell me in what version of Codejock I can check out that feature? |
||
Aldo Kocha
|
||
![]() |
||
ABuenger ![]() Newbie ![]() ![]() Joined: 02 February 2006 Status: Offline Points: 1075 |
![]() ![]() ![]() ![]() ![]() |
|
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
|
||
![]() |
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 |