Page 4 of 4

Posted: Thu Jul 01, 2004 3:47 am
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...

Posted: Thu Jul 01, 2004 4:00 am
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.)

Posted: Thu Jul 01, 2004 4:04 am
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 :)

..

Posted: Thu Jul 01, 2004 4:05 am
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