Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » How do I use CExtGridWnd in a dialog like CExtPropertyGridCtrl? Collapse All
Subject Author Date
Eli Kaczer Sep 15, 2005 - 12:53 PM

In the property grid sample application, one can specify on a dialog a custom control with class name: ’ProfUIS-PropertyGridCtrl’.  I could not find an equivalent way to do this for CExtGridWnd.  I would appreciate any help regarding this issue.


Thanks, Eli

Technical Support Sep 16, 2005 - 4:56 AM

Here is part of the Prof-UIS class hierarchy:

CExtPropertyGridWnd->CExtTreeGridWnd->CExtGridWnd->CExtGridBaseWnd->CExtScrollItemWnd->CExtScrollWnd

As you can see CExtGridWnd is kind of the CExtScrollItemWnd class that implements a control which has table-like scrollable items. The CExtScrollItemWnd class can be inserted into dialog forms as a custom control. You should use ProfUIS-ScrollItemWindow as the window class name of the custom control and subclass it with the CExtGridWnd object. If you encounter any difficulties, just contact us by e-mail: we will code and send you a simple dialog-based project with a CExtGridWnd control placed on the main dialog form.