Re: Scrolling window with child controls

From: Jugoslav Dujic (jdujic_at_yahoo.com)
Date: 05/10/04


Date: Mon, 10 May 2004 15:14:23 +0200

Gary Chanson wrote:
| "vipin" <vipin@nospam.com> wrote in message
| news:uTZhbnmNEHA.1956@TK2MSFTNGP10.phx.gbl...
||
|| I am aware of implementing the scroll if the window has some graphic
|| objects, in which case I can write the section of graphics objects into the
|| HDC in the WM_PAINT message. But I am not sure if the above approach is the
|| recommended way of having the scrolls implemented when controls are on the
|| client window.
|
| Why don't you just move the controls to the position you're currently
| using for the new controls?

...preferrably using BeginDeferWindowPos/DeferWindowPos/EndDeferWindowPos

-- 
 Jugoslav
___________
www.geocities.com/jdujic
Please reply to the newsgroup.
You can find my real e-mail on my home page above.


Relevant Pages

  • The window does not have scroll bars..
    ... The window does not have scroll bars.. ... 00442d8c pveterin.exe Graphics 2524 GDIError ... 004671dc pveterin.exe Controls 7039 TWinControl.HandleNeeded ...
    (alt.comp.lang.borland-delphi)
  • Re: The window does not have scroll bars..
    ... succes: boolean; ... The window does not have scroll bars.. ... >00463920 pveterin.exe Controls 5397 TWinControl.CreateHandle ... >00442933 pveterin.exe Graphics 2351 TCanvas.RequiredState ...
    (alt.comp.lang.borland-delphi)
  • Scroll window in a dialog.
    ... controls at the top. ... existing text scroll down one line and have the new line appear at the top. ... Obviously the oldest line will scroll off the bottom. ... I've done this stuff before using CScrollView in a view window. ...
    (microsoft.public.vc.mfc)
  • Re: Problem scrolling CControlBars docked in a CFrameWnd
    ... > The problem I am having is that, although the window does scroll, and ... > the dialog bars are all translated upwards as a group for a downward ... you have a bunch of controls that you want to move when you scroll the ... window instead of something like text. ...
    (microsoft.public.win32.programmer.ui)
  • Re: Scrolling window with child controls
    ... to be no api which will return the positions passed to CreateWindow at ... >> window which has child control windows. ... >> I am aware of implementing the scroll if the window has some graphic ... >> recommended way of having the scrolls implemented when controls are on ...
    (microsoft.public.win32.programmer.ui)

Loading