How I can show the scrollbar as needed?



Hi,

Sorry if I ask a duplicated question.

What I am looking for is: how to show the scrollbar when it is needed
(and hide it when it is not).

I read relevant threads in the forum, and already learned that I could
use DOCHOSTUIFLAG_SCROLL_NO flag to hide the scrollbar. But I still
don't know how to decide whether to show it or not.

Any suggestion would be deeply appreciated!



.



Relevant Pages

  • Re: Detect scrollbar on subform (urgent)
    ... Marshall - I've used code similar to your suggestion and it works great - ... One problem is that there appears to be no rowheight resize event therefore ... Scrollbar is currently Visible or not but you might want to first retry ...
    (microsoft.public.access.modulesdaovba)
  • Re: Scrollbar problem with Win2K
    ... I found that by setting the SB_CTL flag that it didn't cause the 'built-in' ... >> I don't want to use the standard scrollbars because I need to control ... >> height of the scrollbar and I don't think the standard scrollbar allows ... >> SetScrollInfo? ...
    (microsoft.public.win32.programmer.ui)
  • Re: Problem with Vertical Scrollbar
    ... My suggestion would be to check that any resourses that you create (like pen ... scrollbar can crash the whole application? ... several time the application crashes in a way so that the scroll bar ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: Why scrollbar not working right?
    ... McGhie" wrote: ... Word has had a specific behaviour for a scrollbar ... > Put it in as a suggestion, by all means: but it's not a bug. ...
    (microsoft.public.mac.office.word)
  • Re: Resize Window Scrollbar
    ... If you download his sample and WS_VSCROLL flag to the dialog, ... his gripper will end up in the wrong place. ... window's scrollbar. ...
    (microsoft.public.vc.mfc)