Page 2 of 2
Re: Fred or Freak: Smooth IDE resize
Posted: Fri Mar 02, 2012 5:45 pm
by Tenaja
Trond wrote:The panel gadget flickers alot, so if you use that for the tabs you will get flicker.
So you have to do it manually to get good results? If so, why doesn't Fred just replace his PanelGadget with a new library?
Re: Fred or Freak: Smooth IDE resize
Posted: Fri Mar 02, 2012 5:59 pm
by Trond
Tenaja wrote:Trond wrote:The panel gadget flickers alot, so if you use that for the tabs you will get flicker.
So you have to do it manually to get good results? If so, why doesn't Fred just replace his PanelGadget with a new library?
Yes, there is always a bit flicker with the panel gadget. The panel gadget is a windows control, so why doesn't Microsoft fix it?
PS. Pay attention to the fact that while the panel gadget is used pervasively throughout Windows (especially options or properties windows) "coincidentally" none of the windows with panels are resizable.

Re: Fred or Freak: Smooth IDE resize
Posted: Fri Mar 02, 2012 6:08 pm
by skywalk
I use the PanelGadget a lot for simplicity of development, but I also disable many of the visual effects of the O/S for speed. So, when I resize a window, I see no flicker. It is not doing much until the resize has completed. I don't enforce this on end users, but it is a suggestion for optimizing computing resources.
Re: Fred or Freak: Smooth IDE resize
Posted: Fri Mar 02, 2012 6:09 pm
by User_Russian
Trond wrote:The panel gadget flickers alot, so if you use that for the tabs you will get flicker.
I, in the above-mentioned pbTorrent, so that the panel does not flicker, do not use PanelGadget, while its counterpart on the VINAP and achieved a complete lack of flicker when switching tabs and resizing.
Tenaja wrote:So you have to do it manually to get good results? If so, why doesn't Fred just replace his PanelGadget with a new library?
Good question.
It's not hard to do, but why has not eliminated the problem with flickering?
Re: Fred or Freak: Smooth IDE resize
Posted: Fri Mar 02, 2012 9:30 pm
by Tenaja
User_Russian wrote:I, in the above-mentioned pbTorrent, so that the panel does not flicker, do not use PanelGadget, while its counterpart on the VINAP and achieved a complete lack of flicker when switching tabs and resizing.
I totally missed that you only use the panelgadget to determine which scintilla gadget to show, with no actual panel content! What a great idea!
Thanks!
Re: Fred or Freak: Smooth IDE resize
Posted: Tue Jun 03, 2014 8:48 am
by staringfrog
Tenaja wrote:User_Russian wrote:I, in the above-mentioned pbTorrent, so that the panel does not flicker, do not use PanelGadget, while its counterpart on the VINAP and achieved a complete lack of flicker when switching tabs and resizing.
I totally missed that you only use the panelgadget to determine which scintilla gadget to show, with no actual panel content! What a great idea!
Thanks!
PanelGadget's counterpart in WinAPI? Would anyone care to elucidate, please? What window class to look up, for instance? In my application, I've got that olden flickering light, pardon, form problem with panel gadget on resize, as well (wobbling monstrously on XP and a bit less conspicuously on Win7).
Not too many WinAPI sample snippets on this forum, regret to say. When books on WinAPI customarily use C and VB for examples, learning WinAPI with PB is a double headache. If not for a couple of introductory pages on the matter in Kale's book, I would never get to the basics of it (but no farther as yet

) Nonetheless, PB still seems to be an ideal tool for mastering intrinsic Windows functions.