Solved

CPropertyPage Tab update problem

Posted on 1997-12-03
4
352 Views
Last Modified: 2013-11-20
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  
0
Comment
Question by:rkpalli
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 10

Expert Comment

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

0
 

Author Comment

by:rkpalli
ID: 1311479
Edited text of question
0
 

Author Comment

by:rkpalli
ID: 1311480
Edited text of question
0
 
LVL 10

Accepted Solution

by:
RONSLOW earned 100 total points
ID: 1311481
Ensure you are doing an Invalidate() for the tab control.

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question