And here is another thing:
When I minimize my window again, the buttons for for maximize and minimize are gone. Anyone know what the issue may be?
Global depth = 0 Graphics 800,600, depth Global hWnd% = GetActiveWindow() enableMinimize( hwnd% ) enableMaximize( hwnd% ) While exit_flag = "false" And Not AppTerminate() If iszoomed(hWnd) Then EndGraphics() Global depth = 32 Graphics(800, 600, 32) EndIf If KeyDown(KEY_LALT) And KeyDown(KEY_ENTER) If depth = 0 Then depth = 32 Else depth = 0 EndGraphics() Graphics(800,600,depth) If depth = 0 Then enableMinimize( hwnd% ) enableMaximize( hwnd% ) End If EndIf GCCollect() Flip Cls Wend
When I minimize my window again, the buttons for for maximize and minimize are gone. Anyone know what the issue may be?