I have a static control which has SS_OWNERDRAW
and SS_NOTIFY
flag when it is crated. Its parent window has WS_EX_COMPOSITED
flag.
Under Windows XP, it is not drawn correctly, as the picture below showed (The right-top rectangle):
But under Windows 7, it is drawn correctly, as the picture below showed (The corss "X" on right-top):
How to fix this problem in XP? Furthermore, what causes this problem (in XP)?