Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Please how is control scrolling implemented on a CFormView object?Or isnt automatically done by the framework?

This is the first time I am using a formview.Considering that all controls will be created at run time and they may very well span more than the dimensions of the form thereby requiring that users scroll to see more/other control.How can this control scrolling be implemented in a formview?
Posted
Updated 20-Feb-14 6:20am
v2
Comments
Richard MacCutchan 20-Feb-14 12:40pm    
As far as I recall, the CFormView does not have automatic scrolling. It is expected that all the controls will be visible, so you will need to add the scrolling yourself.
Gbenbam 20-Feb-14 13:04pm    
But documentation saya it supports scrolling as stated here.

http://msdn.microsoft.com/en-us/library/353dcby6.aspx


I just this saw this now.

http://support.microsoft.com/kb/219282

.Microsoft admits that Calling ScrollToPositon in a formview was supposed to scroll the control and that its inability to scroll control is a bug.

If the formview still does not support autimatic scrolling then microsoft should be flogged.They should have fixed the bug by now.
Richard MacCutchan 20-Feb-14 13:19pm    
That only applies to Windows CE. As the previous link shows, CFormView is based on CScrollView, so scrolling should work.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900