Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Property Grid
  New Posts New Posts RSS Feed - CListBox as part of a property grid
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CListBox as part of a property grid

 Post Reply Post Reply
Author
Message
SMaton View Drop Down
Groupie
Groupie


Joined: 04 May 2009
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote SMaton Quote  Post ReplyReply Direct Link To This Post Topic: CListBox as part of a property grid
    Posted: 19 December 2012 at 7:58am
Hello everyone,

We're currently reworking part of a larger dialog to use a property grid. One of the elements we need is a list of elements which is always visible within the property grid. Since the elements must be selectable, we need something similar to a CListBox as a grid item.

Has anyone done this before and if yes, what is the best approach to this? I didn't find any code examples for this in the Codejock examples.

Best regards,
Stefan
Back to Top
dleibold View Drop Down
Groupie
Groupie
Avatar

Joined: 08 March 2010
Location: Canada
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote dleibold Quote  Post ReplyReply Direct Link To This Post Posted: 24 September 2013 at 11:13am
Should look at CXTPPropertyGridItemOption; it shows a selectable radio button list by default. Although not exactly like CListBox, it at least keeps the requirement to have all elements visible.

There should be Option item examples within the provided XTP sample projects (e.g. ... Samples\PropertyGrid\GridSample).

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.139 seconds.