Jump to content
Sign in to follow this  
LimeSeed

Double Buffering a Graphic

Recommended Posts

LimeSeed

any way to double buffer images created with guictrlcreategraphic?


global $warming = true

Share this post


Link to post
Share on other sites
martin

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.

Share this post


Link to post
Share on other sites
LimeSeed

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

Share this post


Link to post
Share on other sites
LimeSeed

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

Share this post


Link to post
Share on other sites
wraithdu

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

Share this post


Link to post
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
Sign in to follow this  

×