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 » About CExtTreeGridWnd Collapse All
Subject Author Date
Kazutaka Era Nov 1, 2007 - 1:46 AM

Dear ProfUIS Support Team,

I need support for an issue with the CExtTreeGridWnd treeview control.

I have created a docked treeview control class in an MDI application.

It is used in MainFrm.h/cpp as a class member (Not Inherited).

If I use the standard MFC CTreeCtrl class, the tree items display just fine.

If I use the CExtTreeGridWnd class, the tree items do not display at all.(No visible text).

The CExtTreeGridWnd member I created is accepting the items I add,

and I can get a valid CExtGridCellString* pointer to set an item’s text.

I have checked the "test_tree_grid_idea" sample project located on the ProfUIS website,

I have to create the tree differently from what is found in "int CChildView::OnCreate(LPCREATESTRUCT lpCreateStruct) "

because my tree is a class member (Not inherited like it is in the "test_tree_grid_idea" sample).

I tried using most of the initialization code found in "void CChildView::PreSubclassWindow() "

with the exception of the "CExtTreeGridWnd::PreSubclassWindow();" function call.

I also tried using the intialization code from the "FormEditor" sample,

but still can’t get the items to display. The docking works great though.

Also, I used the "MDIDOCVIEW" sample to make my docked controls,

but the push-pin doesn’t display on them. Only an X for closing the control is visible.

I would like to know how to add the push-pin for auto-hide support.

Hope to hear from you soon.

Technical Support Nov 1, 2007 - 12:31 PM

Could you send us your project so we can find out what is wrong?