Alaska Software Inc. - scrollbars not visible in preview
Username: Password:
AuthorTopic: scrollbars not visible in preview
Paul Liebeltscrollbars not visible in preview
on Thu, 29 Nov 2007 16:41:38 +0100
In version 1.9 we use a separate window for previewing reports. This window 
consists of a number of pushbuttons and the preview-window just like the one 
from the Alaska Preview-sample.

In W98 /version 1.8 and 1.9, and W2k/version 1.8 it was handled fine, but in 
WXP sp2 / version 1.9 the scrollbars and pushbuttons were not visible when 
the window was displayed for the first time. Dragging the window outside the 
monitor area and back brings the scrollbars and the pushbuttons alive.

The text in the pushbuttons could be made visible by adding a "paint" call. 
We do not know how to show the (inactive) scrollbars at the very start. 
There is no "paint" call available for scrollbars. We hope anyone of you 
xbase-developers can give us a hint in the right direction.

Els & Paul
James Loughner Re: scrollbars not visible in preview
on Thu, 29 Nov 2007 11:34:20 -0500
Paul Liebelt wrote:
> In version 1.9 we use a separate window for previewing reports. This window 
> consists of a number of pushbuttons and the preview-window just like the one 
> from the Alaska Preview-sample.
> 
> In W98 /version 1.8 and 1.9, and W2k/version 1.8 it was handled fine, but in 
> WXP sp2 / version 1.9 the scrollbars and pushbuttons were not visible when 
> the window was displayed for the first time. Dragging the window outside the 
> monitor area and back brings the scrollbars and the pushbuttons alive.
> 
> The text in the pushbuttons could be made visible by adding a "paint" call. 
> We do not know how to show the (inactive) scrollbars at the very start. 
> There is no "paint" call available for scrollbars. We hope anyone of you 
> xbase-developers can give us a hint in the right direction.
> 
> Els & Paul
> 
> 
> 
> 
An InvalidateRect() call should do it to the parent object.

Jim