参考:http://www.blitzbasic.com/Community/posts.php?topic=67222

Strict

Graphics 320, 200

SetClsColor 0,64,0

RemoveBorder()
DrawMsg("Press Key to flip once")
DrawMsg("Press Key to Exit")


Function RemoveBorder()

	Local hWnd:Long = GetActiveWindow()

	Local tmp:Long = GetWindowLongA( hWnd, GWL_STYLE )
	tmp :~ WS_CAPTION

	SetWindowLongA( hWnd, GWL_STYLE, tmp )

End Function


Function DrawMsg (msg$)

    Cls
    SetColor 255,255,255
    DrawText msg$, 50, 50
    Flip

    WaitKey()

EndFunction


SetWindowPos( hwnd, 0, 0,0, GraphicsWidth(),GraphicsHeight(), SWP_NOMOVE | SWP_NOZORDER | SWP_FRAMECHANGED)

相关文章:

  • 2021-07-20
  • 2022-02-27
  • 2021-08-03
  • 2022-02-14
  • 2022-02-15
  • 2022-12-23
  • 2021-08-24
  • 2021-12-10
猜你喜欢
  • 2021-10-02
  • 2022-01-04
  • 2021-08-10
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案