[Closed] Common Controls / Change Theme |
Post Reply |
Author | |
Simon HB9DRV
Senior Member Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
Posted: 12 September 2006 at 3:29am |
I am using the excellent support for common controls.
If I change the theme then the only way I can reliably get my controls to be repainted is to use SetFocus() for each control which is not a good solution. GetCommandBars()->RedrawCommandBars() does not seem to be the solution, so how can I get the custom controls (Check boxes, sliders) redrawn? I've tried RedrawWindow, Invalidate, ... |
|
Simon HB9DRV
|
|
Simon HB9DRV
Senior Member Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
|
Found for myself:
[1] SendMessage(TBM_CLEARSEL, 0, 0); [2] Invalidate(FALSE); |
|
Simon HB9DRV
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |