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 General Discussion » CScrollView problems Collapse All
Subject Author Date
sven docter Sep 7, 2004 - 4:22 AM

Hi,


I derived my view class from CExtWRB< CScrollView > and figured out


a problem with the scrolling behavior: it’s not existing anymore! I did a


work-around with placing the view in a dummy CExtWRB< CWnd >


which works fine for CExtControllBars, but I’d also like to have that nice


border for my main SDI view, but then I cannot scroll anymore.


Any suggestions? 

Technical Support Sep 8, 2004 - 10:33 AM

The CExtWRB template class is not well suited for the windows with scroll bars. It recomputes the non-client area to implement a thin border. Since a scroll bar is part of the non-client area, the template simply kills it. CProfStudioThinFrame from the ProfStudio sample (available in the trial/commercial versions) class is more appriopriate for this and may be used instead of the CExtWRB template.