Vista Basic theme ribbon issue
Posted
by Alain Rist
on Stack Overflow
See other posts from Stack Overflow
or by Alain Rist
Published on 2010-03-17T22:18:53Z
Indexed on
2010/03/17
22:21 UTC
Read the original article
Hit count: 200
Under Vista, when in Basic theme, after calling IUIFramework::Destroy() the Vista theme is lost, and enlarging the window does not display outside of the initial area.
You can repro it easily with the SimpleRibbon SDK sample. In simpleribbon.cpp, insert in the WndProc switch block:
case WM_KEYUP:
DestroyFramework();
InvalidateRect(hWnd, NULL, TRUE);
break;
Compile, run, hit a key and try to enlarge in Vista Basic Theme (no problem in Win7 or Vista aero or Windows classic).
How to work around? cheers, AR
© Stack Overflow or respective owner