Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » CExtGridWnd scrollbar Collapse All
Subject Author Date
Krustys Donuts Mar 6, 2009 - 10:40 AM

Dear Support,


I have a CExtGridWnd grid that has a horizontal scrollbar. Because the first column in the grid is frozen, I want the left side of the the scrollbar to line up under the right side of the first column. As well, when the first column width is changed by the user, the left side of the scrollbar should change such that it’s left side remains linded up under the right side of the column.


Thanks,


Gil

Krustys Donuts Mar 9, 2009 - 11:26 AM

When both horizontal and vertical scroll bars are displayed, there is a square beneath the vertical scroll bar and to the right of the horizontal scroll bar. The fill used for this square is what I would expect for the area in the same row as the horizontal scroll bar and directly under the frozen columns.

Technical Support Mar 10, 2009 - 1:19 PM

We implemented the feature you requested in the following test project:

http://www.prof-uis.com/download/forums/TestFrozenGridAreasProject2(sb-labels).zip

Technical Support Mar 9, 2009 - 10:39 AM

Thank you for the interesting question. Please take a look at the scroll bars inside the main grid window in the AdoRecordsetView sample application. There are several toolbars with small buttons and one vertical slider control are present near scroll bars in this grid. Prof-UIS supports automatic repositioning of two windows for each scroll bar. This feature can be used for implementing behavior you requested. But what you would like to see in the same row with the horizontal scroll bar under the frozen columns area inside your grid window?