![]() |
Gallery control in dialog |
Post Reply
|
| Author | |
dennisV
Senior Member
Joined: 07 October 2004 Location: Australia Status: Offline Points: 242 |
Post Options
Thanks(0)
Quote Reply
Topic: Gallery control in dialogPosted: 22 October 2007 at 10:28am |
|
Hello all,
I wanted to ask - is it possible to embed the gallery control into a dialog somehow? Of course I could have a button with a menu that would have the gallery in it, but I'd prefer to actually have it embedded. Any hints are greatly appreciated ![]() Thanks! |
|
|
// W7 64 Ultimate SP1
// VS 2008 // CodeJock 16.2.3 (MFC) |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 October 2007 at 11:02am |
|
Hi, You can add CXTPToolbar in location you need - and add single CXTPControlGallery button.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
dennisV
Senior Member
Joined: 07 October 2004 Location: Australia Status: Offline Points: 242 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 October 2007 at 5:28pm |
|
thanks - I'll try that
the only thing is that I actually wanted it drawn in-place, similar to the table gallery in samples - can that be achieved somehow? so that the user doesn't have to click on anything to see the gallery? |
|
|
// W7 64 Ultimate SP1
// VS 2008 // CodeJock 16.2.3 (MFC) |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 October 2007 at 12:50am |
|
Hi,
yes, its possible, try it.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
dennisV
Senior Member
Joined: 07 October 2004 Location: Australia Status: Offline Points: 242 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 October 2007 at 4:50am |
|
I guess you're right - only one way to find out
Will try that tonight.
|
|
|
// W7 64 Ultimate SP1
// VS 2008 // CodeJock 16.2.3 (MFC) |
|
![]() |
|
dennisV
Senior Member
Joined: 07 October 2004 Location: Australia Status: Offline Points: 242 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 October 2007 at 10:42am |
just one question - is it possible without a toolbar, just on its own? ![]() |
|
|
// W7 64 Ultimate SP1
// VS 2008 // CodeJock 16.2.3 (MFC) |
|
![]() |
|
dennisV
Senior Member
Joined: 07 October 2004 Location: Australia Status: Offline Points: 242 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 October 2007 at 10:12am |
|
can you please clarify this for me - as it seems that the CXTPControlGallery is not derived from a CWnd, can I use it without a toolbar? Thanks!
|
|
|
// W7 64 Ultimate SP1
// VS 2008 // CodeJock 16.2.3 (MFC) |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 October 2007 at 3:16pm |
|
Hi, See my second post. You add toolbar with gallery control.
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
dennisV
Senior Member
Joined: 07 October 2004 Location: Australia Status: Offline Points: 242 |
Post Options
Thanks(0)
Quote Reply
Posted: 24 October 2007 at 5:17pm |
|
Yes, that's ok, I just wanted to know if I can do that without a toolbar
I guess not, so then the toolbar it is.
|
|
|
// W7 64 Ultimate SP1
// VS 2008 // CodeJock 16.2.3 (MFC) |
|
![]() |
|
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 |