How do I add page-up/down buttons below RHS scroll bar?
Roger Onslow -- Roger_Onslow@compsys.com.au
Wednesday, June 12, 1996
Environment: MFC4.1 Win32 SDI-app
I would like to add page up/down button below the RHS
scroll bar (just like Word does)
How do I do this?
Is there a call which can add them "automatically" like
the scroll bars themselves?
Roger Onslow
Frederic Steppe -- FredericS@msn.com
Thursday, June 13, 1996
>Environment: MFC4.1 Win32 SDI-app
>
>I would like to add page up/down button below the RHS
>scroll bar (just like Word does)
>
>How do I do this?
>Is there a call which can add them "automatically" like
>the scroll bars themselves?
Roger,
I worked on that (but on the left of the horz scroll bar), and the only way I
found to do the job was to implement my own frame window, and handle the
scroll bar controls myself. If you do that, CScrollView wan't be able to
update the scroll bars any more, except if you derive your frame from
CSplitterWindow (see MFC source for details). The only problem is that you
have to override most of the CSplitterWnd methods.
I can go back to this project and send you more details if you want.
Good luck.
Frederic Steppe (frederics@msn.com)
| Вернуться в корень Архива
|