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 » Wrong viewport size in CExtTreeCtrl Collapse All
Subject Author Date
Eric guez Jan 27, 2011 - 7:18 AM

Hello,

Using a CExtTreeCtrl to display files with icon, I noticed that you can’t scroll horizontally far enough to see the end of an item with a too long name. The issue appears also in the sample tree view (ProfUIS controls).

I’ve tried with no success to change the font size or call SetViewportExtEx. Nothing worked.

How can I fix this ?

Regards

Technical Support Jan 28, 2011 - 1:13 PM

This is a known issue. The CExtTreeCtrl control currently uses the scrolling provided by the tree view common control. We would have to recode this common control from scratch to fix this issue. We recommend that you switch to a more powerful CExtTreeGridWnd tree grid control.

Eric guez Feb 1, 2011 - 3:26 AM

This implies quite a lot of modifications to have it behave as before (this is only a file tree view).

Is there a fix planed for a future release ?