Click here to Skip to main content
15,900,589 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to scroll spacial area in PropertySheet.

I use "ScrollWindowEx(0, nDelta, &rect, NULL, NULL, rect1, SW_SCROLLCHILDREN | SW_INVALIDATE | SW_ERASE )" to scroll this area.

Scrollup is ok.

But can not scroll back.

Any one know why ?

And how to solve it ?

Thanks!
Posted
Comments
«_Superman_» 12-Feb-14 9:26am    
Check the value of nDelta. A negative value scrolls up and a positive value scrolls down.

1 solution

by reading the MSDN I support Supermans comment. A negative value should do the job. Watch out for all parameters.

http://msdn.microsoft.com/en-us/library/windows/desktop/bb787593(v=vs.85).aspx[^]
 
Share this answer
 

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