Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Slow skinnable caption refreshment Collapse All
Subject Author Date
Eugene Wineblat Sep 26, 2006 - 9:26 AM

Functions of my Main Frame : CExtNCW<CFrameWnd>
RedrawWindow
UpdateWindow
PostMessage ( WM_NCPAINT )

don’t repaint caption that was changed by SetWindowText () ot SetTitle()...

If I repaint caption by mega-code :
ShowWindow ( SW_HIDE );
ShowWindow ( SW_SHOW );
I have flickering...

How to refresh caption fast and normal?

Eugene Wineblat Sep 27, 2006 - 3:01 AM

Thank you, it helps!

Jonas Gauffin Sep 27, 2006 - 12:21 AM

I use "SetWindowPos(0,0,0,0,0,SWP_NOZORDER|SWP_NOSIZE|SWP_NOMOVE|SWP_DRAWFRAME);" after SetWindowText and it works.