Solved

CPropertyPage Tab update problem

Posted on 1997-12-03
4
345 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
modThree challenge 4 77
twoTwo  challenge 35 93
Fibonacci challenge 11 109
mapBully challenge 6 114
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…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

910 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now