ScrollWindow Problem  
Author Message
Revant





PostPosted: Visual C++ General, ScrollWindow Problem Top

Hello

I am having problems understanding the ScrollWindow function.

1.) When I scroll the client area by -x amount what are is invalidated and sent to WM_PAINT Suppose if I scroll vertically by -cyChar, is the bottom of client area invalidated Or is the whole rect structure defined in function is invalidated.

2.) What is the use of the Clipping region which is the last argument of the function.

Thanks in advance




Visual C++3  
 
 
Sarath.





PostPosted: Visual C++ General, ScrollWindow Problem Top

Please post some language specific questions to this forum rather than these type of questions.

these articles will help you.

http://www.codeproject.com/dialog/scrollablechilddialog.asp
http://www.codeproject.com/dialog/scrolling_support.asp



 
 
Damien Watkins - MSFT





PostPosted: Visual C++ General, ScrollWindow Problem Top

Hello

Re: ScrollWindow Problem

Such questions are outside the scope of this forum - for the scope of the VC General forum please look at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=19445&SiteID=1

For such issues please use an appropriate newsgroup, potentially one at http://msdn.microsoft.com/newsgroups.

OTP

Thanks

Damien



 
 
avikhinvasara





PostPosted: Visual C++ General, ScrollWindow Problem Top

Hello,

Can you please say me where to post these type of questions

Thankyou for the above links.

Regards.


 
 
Bite Qiu - MSFT





PostPosted: Visual C++ General, ScrollWindow Problem Top

Can you please say me where to post these type of questions

The more appropriate place for your question is probably the MFC newsgroup: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.vc.mfc&lang=en&cr=US

OTP

Thanks

Bite



 
 
Damien Watkins - MSFT





PostPosted: Visual C++ General, ScrollWindow Problem Top

Hello

Or the WIN32 newsgroups at: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.helpauthoring&lang=en&cr=US

Also, from the MSDN page at: http://msdn.microsoft.com/library/default.asp url=/library/en-us/shellcc/platform/commctls/scrollbars/scrollbarreference/scrollbarfunctions/scrollwindow.asp

"Note The ScrollWindow function is provided for backward compatibility. New applications should use the ScrollWindowEx function."

Thanks

Damien