|
|||
|
For my application I use the border style "single". Should not be resized.
My application also has a fullscreen-switch which calls FSCommand("fullscreen", "true" / "false"); It all works fine until I switch back from fullscreen back to windowed. The window is resizable again and has changed it's size slightly. I tried to get the "old" border back with Application.Appearance.borderStyle = $BSSINGLE; being called just after the FSCommand("fullscreen", "false") command. but then the application just dissapears! What can I do to get just the window back I started with after switching from fullscreen back to windowed mode? |
|
|||
|
With some experimenting, I found a solution which works:
Code:
Application.Appearance.borderStyle = $BSSINGLE; Application.Appearance.borderStyle = $BSSINGLE; Application.Appearance.windowShape = $WSRECTANGLE; Application.Appearance.windowShape = $WSRECTANGLE; Application.SizeAndPos.windowSize = $SSDEFAULT; Application.SizeAndPos.windowSize = $SSDEFAULT; |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|