Code: Select all
If OpenWindow(0, 0, 0, 440, 50, "StatusBar", #PB_Window_SystemMenu|#PB_Window_ScreenCentered|#PB_Window_SizeGadget)
If CreateStatusBar(0, WindowID(0))
AddStatusBarField(#PB_Ignore)
EndIf
StatusBarText(0, 0, "Area right!", #PB_StatusBar_Right)
Repeat
Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf
Seems to be because of the #PB_Ignore flag.
Thanks.
**EDIT : I suspect this is a vista thing because of the 'sizing guide' and perhaps not a bug. Yes, remove the sizing box and it is fine. Is it a bug that PB does not account for this when a window with a sizing box is not maximized?


