Minimise Button with windowed app?

BlitzMax Forums/BlitzMax Programming/Minimise Button with windowed app?

Would it be easier to create a window with maxgui and simply draw the contents to it. Without using the gui framework at all? - This winapi stuff always hurts... :(