CPropertyPage Tab update problem

I a have CProperty Page embedded into another dialog.
For this property page, I have a tab with CImageList Icon
along with text on the tab. Depend of upon the
editcontrol contents in my CPropertyPage I am replacing
Icon in the propertypage tab with another Icon. But Tab Icon does not get updated even if I call repaint or window update messages.

If I minimize and maximize, then window get repainted
and updates the property page tab Icon.



If somebody give a solution with code, I appreciate you.


I want my property page tab to be updated as soon
as I do CImageList->Replace( ..).

RkPalli  
rkpalliAsked:
Who is Participating?
 
RONSLOWCommented:
Ensure you are doing an Invalidate() for the tab control.

0
 
RONSLOWCommented:
What happens if you minimize and then restore the app (this should force a full repaint) - does it change then??

0
 
rkpalliAuthor Commented:
Edited text of question
0
 
rkpalliAuthor Commented:
Edited text of question
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.