Gadget flickering

Everything else that doesn't fall into one of the other PB categories.
PolyVector
Enthusiast
Enthusiast
Posts: 499
Joined: Wed Sep 17, 2003 9:17 pm
Location: Southern California
Contact:

Post by PolyVector »

are there any problems making all gadgets have the clipchildren style? Is it safe to use on gadgets which have no children?
It should be. It would be easy to modify the Enum procedure to exclude/include whatever gadgets you want...
You can check what type of gadget it is with GetClassName_()
Do I just call ReduceFlicker(Window#) again?
Yes.
LockWindowUpdate_(WindowID())
I completly forgot about this command!... I'll try it out...


I think we should start a sticky thread with tips on making your app flicker free...
User avatar
kenmo
Addict
Addict
Posts: 2033
Joined: Tue Dec 23, 2003 3:54 am

Post by kenmo »

I haven't been watching this topic, but I gotta add something: halo's example on the first post does indeed flicker slightly when you resize with "draw window content while dragging" on. But now open My Computer (or a folder), turn on the Folders sidepanel (the explorer thing) and resize that window - same flicker appears (actually worse, on my computer at least.)
PolyVector
Enthusiast
Enthusiast
Posts: 499
Joined: Wed Sep 17, 2003 9:17 pm
Location: Southern California
Contact:

Post by PolyVector »

@kenmo
Very true, but MS doesn't always make the best software :)
It is very possible to make a program flicker-free... Even if you aren't double-buffering, you should still be able to make it look nice :)
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

..

Post by NoahPhense »

kenmo wrote:But now open My Computer (or a folder), turn on the Folders sidepanel (the explorer thing) and resize that window - same flicker appears (actually worse, on my computer at least.)
I get zero flicker on that side.. so now for me, that proves that it can
be fixed.

- np
Post Reply