Scrolling multiple windows... - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Scrolling multiple windows...

SephirothSephiroth Fayetteville, NC, USAPosts: 1,035Member
OK, I have the basic concepts of scrolling a bitmap down, thanks to some friends here and a half ton of help files. Now I need to scroll child windows within the parent. The window is created 640x480 with the WS_VSCROLL style, but the child windows (edit controls) go down to make the actual client area 640x600. I cannot figure out how to scroll the parent window to make the child windows below the bottom visible. I tried what I did to scroll bitmaps and it doesn't want to work. Can somebody give me a little help with this? Thanks.

-[italic][b][red]S[/red][purple]e[/purple][blue]p[/blue][green]h[/green][red]i[/red][purple]r[/purple][blue]o[/blue][green]t[/green][red]h[/red]

Comments

  • ColdShineColdShine Posts: 597Member
    Maybe ScrollWindowEx() with SW_SCROLLCHILDREN is what you are searching for, am I wrong?
    _____________________________
    [size=1][b][grey]Cold[/grey][blue]Shine[/blue][/b]
    http://www16.brinkster.com/rafonline[/size]


  • SephirothSephiroth Fayetteville, NC, USAPosts: 1,035Member
    : Maybe ScrollWindowEx() with SW_SCROLLCHILDREN is what you are searching for, am I wrong?
    : _____________________________
    : [size=1][b][grey]Cold[/grey][blue]Shine[/blue][/b]
    : http://www16.brinkster.com/rafonline[/size]
    :
    :

    I never even heard of the SW_SCROLLCHILDREN identifier before. I'll look into it for future reference, but I already have the program working without scrollbars. It just won't run if you run in a resolution of less than 800x600, but who does that in THIS day and time?

    -[italic][b][red]S[/red][purple]e[/purple][blue]p[/blue][green]h[/green][red]i[/red][purple]r[/purple][blue]o[/blue][green]t[/green][red]h[/red]


  • ColdShineColdShine Posts: 597Member
    :... but who does that in THIS day and time?

    Well, actually about 1 person every 50, according to my site's stats. Someone still does, then. Yet.
    _____________________________
    [size=1][b][grey]Cold[/grey][blue]Shine[/blue][/b]
    http://www16.brinkster.com/rafonline[/size]


  • SephirothSephiroth Fayetteville, NC, USAPosts: 1,035Member
    : :... but who does that in THIS day and time?
    :
    : Well, actually about 1 person every 50, according to my site's stats. Someone still does, then. Yet.
    : _____________________________
    : [size=1][b][grey]Cold[/grey][blue]Shine[/blue][/b]
    : http://www16.brinkster.com/rafonline[/size]
    :
    :

    OK now take the MAC users out of that and what do you have? :P
    Couldn't resist, hehe!


    -[italic][b][red]S[/red][purple]e[/purple][blue]p[/blue][green]h[/green][red]i[/red][purple]r[/purple][blue]o[/blue][green]t[/green][red]h[/red]


Sign In or Register to comment.