Jump to content
Sign in to follow this  
S3cret

Smooth window resizing

Recommended Posts

S3cret

Hello all =)

I've got a question. I know WinMove is the normal way to resize windows. But I really don't like it, cause the controls on my GUI flicker everytime I use it. Somehow it's really annoying, cause i've got like 50-70 controls so the flickering is a real eyecatcher.

So my question is pretty simple, how can I avoid the flickering of controls?

And another little thing. In some applications there is a smoother resizing than WinMove does, even if I choose Speed 100 (the resizing is just slowlier). Is there a way to use this "smooth" resizing in AutoIt?

Hope to get useful answers =)

S3cret

Share this post


Link to post
Share on other sites
martin

Hello all =)

I've got a question. I know WinMove is the normal way to resize windows. But I really don't like it, cause the controls on my GUI flicker everytime I use it. Somehow it's really annoying, cause i've got like 50-70 controls so the flickering is a real eyecatcher.

So my question is pretty simple, how can I avoid the flickering of controls?

And another little thing. In some applications there is a smoother resizing than WinMove does, even if I choose Speed 100 (the resizing is just slowlier). Is there a way to use this "smooth" resizing in AutoIt?

Hope to get useful answers =)

S3cret

Welcome S3cret :mellow:

For some applications in XP you can add the extended style $WS_EX_COMPOSITED to give a smoother redraw.


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
S3cret

Welcome S3cret :mellow:

For some applications in XP you can add the extended style $WS_EX_COMPOSITED to give a smoother redraw.

Thank you for your suggestion.

Is it only working on XP? I tried it on my Win7 machine and it didn't make any difference. I also noticed that the speed (paramter in WinMove) is not the resizing speed but the speed to move the window to the coords.

S3cret

Share this post


Link to post
Share on other sites
S3cret

Noone able to help me with this? =(

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  

×