Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using scrolls in MFC ?

Status
Not open for further replies.

dcgsmix

Programmer
Dec 20, 2001
35
IL
Hey, ppl!

how do i use scrolls?

what i want is, say that i have 100 controls, arranged in a grid. but it takes all the screen if i'm using even 1280x1024 resolution. so i want to place one rectangle in a small dialog, that will show only 10 controls. and then i can scroll them.
if you want and image for example to explain that, let me know.

Thanks a lot!!!
Daniel
 
Hi,

Try the ScrollWindow Api function call. You can do this taking the RECT of each of the controls and then scroll.

Anand
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top