Jump to content

Double Buffering a Graphic


LimeSeed
 Share

Recommended Posts

any way to double buffer images created with guictrlcreategraphic?

Yes. Maybe the easiest way is to have the window style $WS_EX_COMPOSITED ( = 0x2000000) which will double-buffer everything.
Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

Yes. Maybe the easiest way is to have the window style $WS_EX_COMPOSITED ( = 0x2000000) which will double-buffer everything.

wow so its just Guicreate("BEST GUI EVER!!", 300, 300, $WS_EX_COMPOSITED ( = 0x2000000)) thats it?!??! awesome!

global $warming = true
Link to comment
Share on other sites

wow so its just Guicreate("BEST GUI EVER!!", 300, 300, $WS_EX_COMPOSITED ( = 0x2000000)) thats it?!??! awesome!

so i put this into my script

Global Const $WS_EX_COMPOSITED = 0x2000000

$hGUI = GUICreate("Pong", 200, 270, $WS_EX_COMPOSITED)

but now it doesnt even show the gui!

global $warming = true
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...