| Author |
Topic  |
|
|
blarivie
2 Posts |
Posted - 05/13/2002 : 1:25:38 PM
|
In BCGWindowsManagerDlg.cpp, it would be nice to disable the animation when several windows are cascaded, tiled or minimized. On my system, it takes around 30 seconds to minimize 100 windows. Here are my changes if you want them: (I wouldn't have to redo it everytime you release a new version ;-)
//------------------------------------------------------------------- // blarivie - 001205 - Faster if disable window animation class CDisableAnimation { public: CDisableAnimation() { // Inquire animation flag ANIMATIONINFO anim; anim.cbSize=sizeof(ANIMATIONINFO); SystemParametersInfo(SPI_GETANIMATION, 0, &anim, 0); m_bPrevAnimation=(anim.iMinAnimate!=0);
// Disable animation anim.iMinAnimate=FALSE; SystemParametersInfo(SPI_SETANIMATION, 0, &anim, 0); }
~CDisableAnimation() { // Set back previous animation ANIMATIONINFO anim; anim.cbSize=sizeof(ANIMATIONINFO); anim.iMinAnimate=m_bPrevAnimation; SystemParametersInfo(SPI_SETANIMATION, 0, &anim, 0); }
private: BOOL m_bPrevAnimation; };
//------------------------------------------------------------------- In MDIMessage() and in OnMinimize()... CDisableAnimation anim; // blarivie - 001205 - Faster if disable window animation
|
|
|
Support
2572 Posts |
Posted - 05/14/2002 : 03:32:22 AM
|
Thank you very much! We'll include this feature into the next library release (5.84)
Best regards,
BCGSoft Technical Support
|
 |
|
| |
Topic  |
|
|
|