scrollbar displayed?

Is there some function which would tell you if a scrollbar is currently being displayed? I vaguely recall someone asking this question in the past but can't find it in the archives.

Bob

Thanks much.

That works, but I'm surprised, since the docs define the client size (wxWindow::GetClientSize) as "the area which may be drawn on by the programmer, excluding title bar..." and the window size (wxWindow::GetSize) as "the size of the entire window in pixels, including title bar...".

I wouldn't think they'd be the same, but as I said, it seems to work.

Bob

ยทยทยท

At 07:30 PM 1/16/2003 -0800, you wrote:

Bob Klimek wrote:

Is there some function which would tell you if a scrollbar is currently being displayed? I vaguely recall someone asking this question in the past but can't find it in the archives.

You could check if the window size is the same as it's client size.