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?Trond wrote:The panel gadget flickers alot, so if you use that for the tabs you will get flicker.
Fred or Freak: Smooth IDE resize
Re: Fred or Freak: Smooth IDE resize
Re: Fred or Freak: Smooth IDE resize
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?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?Trond wrote:The panel gadget flickers alot, so if you use that for the tabs you will get flicker.
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
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.
-
- Addict
- Posts: 1518
- Joined: Wed Nov 12, 2008 5:01 pm
- Location: Russia
Re: Fred or Freak: Smooth IDE resize
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.Trond wrote:The panel gadget flickers alot, so if you use that for the tabs you will get flicker.
Good question.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?
It's not hard to do, but why has not eliminated the problem with flickering?
Re: Fred or Freak: Smooth IDE resize
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!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.
Thanks!
-
- User
- Posts: 58
- Joined: Wed Feb 27, 2013 9:36 am
Re: Fred or Freak: Smooth IDE resize
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).Tenaja wrote: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!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.
Thanks!
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

Coding's men's knitwork.