Announcement
Collapse
No announcement yet.
Status bar sizegrip
Collapse
X
-
We have a winner! Well done Cecil!
------------------
Lance
PowerBASIC Support
mailto:[email protected][email protected]</A>
Leave a comment:
-
Guest repliedPaul,
Try adding the style %CCS_BOTTOM. This should drop that
ugly sizegrip and give more room in your stat-bar. Apparently
windows assumes you want the grip and is added as default. I
also add %WS_BORDER with it.
Cheers,
Cecil
------------------
Leave a comment:
-
It seems to be automatic with Win2K/SP1/IE5.5.
I did not test on other platforms.
------------------
Lance
PowerBASIC Support
mailto:[email protected][email protected]</A>
Leave a comment:
-
What Windows version do you use?
On w95 i wanted the way you have it but now i MUST add the style before i see it.
------------------
Leave a comment:
-
That seems to be automatic... I experimented for a couple of minutes with:
Code:CALL SetWindowLong(hStatus, %GWL_STYLE, (GetWindowLong(hStatus, %GWL_STYLE) AND NOT %SBS_SIZEGRIP))
------------------
Lance
PowerBASIC Support
mailto:[email protected][email protected]</A>
Leave a comment:
-
Status bar sizegrip
Hi all,
I have an SDK dialog created using the following style bits -
Code:%WS_CLIPCHILDREN OR %WS_CAPTION OR %WS_SYSMENU OR %WS_THICKFRAME OR %WS_MINIMIZEBOX
Code:hStatus = CreateStatusWindow( %WS_CHILD or %WS_VISIBLE, byval %NULL, hWnd, %ID_STATUSBAR )
wasn't specified. As you might have guessed... I don't actually want a sizing grip to appear.
If I remove the %WS_THICKFRAME from the dialog, the grip disappears, but then the dialog doesn't
resize. The answer is probably simple, and obvious, but I'm going round in circles here looking
for it.
Can anyone set me right here ?
Thanks in advance -
Paul
Tags: None
Leave a comment: