Re: Scrollbars in Listview always visile
From: Michael Hoffmann (m.hoffmann)
Date: 05/08/04
- Previous message: Robin: "Re: Multiline Cedit not Multilining"
- In reply to: Christian ASTOR: "Re: Scrollbars in Listview always visile"
- Next in thread: Rob: "Re: Scrollbars in Listview always visile"
- Reply: Rob: "Re: Scrollbars in Listview always visile"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 8 May 2004 17:42:52 +0200
Hello Christian, Gary and Severian,
"Christian ASTOR" <castorix@club-internet.fr> wrote in message news:urGhsJONEHA.2780@TK2MSFTNGP09.phx.gbl...
> Michael Hoffmann a écrit:
>
> > has anyone got an idea how I could force the scrollbars in a listview to remain visible even when they are not needed?
>
> ShowScrollBar() after WM_PAINT (WM_PRINT)
I've tried that one already with disappointing results.
Here is what works nicely: Hook two calls from comctl32.dll to user32.dll by modifying the dll's import table in memory.
SetScrollInfo: Add the SIF_DISABLENOSCROLL flag in the fMask member of the passed SCROLLINFO structure before passing it on.
ShowScrollBar: Always pass on TRUE as bShow parameter.
Best regards,
Michael.
- Previous message: Robin: "Re: Multiline Cedit not Multilining"
- In reply to: Christian ASTOR: "Re: Scrollbars in Listview always visile"
- Next in thread: Rob: "Re: Scrollbars in Listview always visile"
- Reply: Rob: "Re: Scrollbars in Listview always visile"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|