StatusBar - Right Aligned Panel - Parent Form WS_THICKFRAME

Started by Scott Wolfington, August 01, 2005, 03:23:05 PM

Previous topic - Next topic

Scott Wolfington

Create a form with WindowsStyle that includes WS_THICKFRAME.  Create a status bar with x number of panels, and the far right panel set to right aligned.  For text in the far right panel I used a Panel style of "Normal Date".  The WS_THICKFRAME style on the form should create the grabber in the bottom right of the status bar, so that you can resize the form.  With these settings, you'll see that the text in the far right panel falls partly underneath the grabber bar.

I'm probably doing something wrong though.

Scott

Roger Garstang

That is just a problem that is unavoidable as far as I know.  With some tweaking you may be able to get rid of the grabber, but as it stands FF can't really do anything about what Windows puts there.

Probably the easiest workaround would be something like taking the style off, then making the borders size anyway with HITTEST type stuff, etc.  Telling Windows that you are really grabbing the border and drag box, etc.  Other than that it doesn't look like the grabber is a window or child from what I can see, so it may prove difficult to get a handle or something to hide it.