Cloes/Maximize/Minimize buttons

BlitzPlus Forums/BlitzPlus Programming/Cloes/Maximize/Minimize buttons

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

In my Blitzplus app, I allow the user to switch from full screen to windowed mode. When I make the switch to windowed mode, there are no maximize minimize or close window buttons.

1) How do I create these buttons in the windowed mode?

2) How can I trap the events triggered by these buttons so that:

a) When the user hits close it displays an end screen.
b) When the user hits minimize the window minimizes.
c) When the user hits maximize, it switches to full screen mode.

3) Do I need to do anything special to minimize the app from fullscreen mode? Do I need to switch to winowed mode first?