Thread View: comp.os.ms-windows.programmer.misc
1 messages
1 total messages
Started by Feng Qiu
Fri, 29 Jan 1993 02:48
How do you use CScrollBar class in a dialog box ?
Author: Feng Qiu
Date: Fri, 29 Jan 1993 02:48
Date: Fri, 29 Jan 1993 02:48
19 lines
1184 bytes
1184 bytes
I am programming using C++ 7.0 and Microsoft Fundation Class. I have a problem in using scroll bar in a dialog box. The problem is that before the dialog box is poped up I want adjust the position of the scroll bar contained in the dialog box to the right position I want it to be. I did this in OnInitDialog() using member function provided with CScrollBar class but it does not work. The position of the scroll bar is still at minimum position after the dialog box has poped up. The dialog box is a subclass of CModalDialog and the scroll bar is of class CScrollBar. Dose anyone knows why? I'd appreciate your response. if it is possible, lease send your reply to qiu@tree.egr.uh.edu Feng
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads