Solved

CPropertyPage Tab update problem

Posted on 1997-12-03
4
344 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
Comment Utility
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
Comment Utility
Edited text of question
0
 

Author Comment

by:rkpalli
Comment Utility
Edited text of question
0
 
LVL 10

Accepted Solution

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

0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
MFC Dialog 9 47
Decoding 32 bit binary streams 6 30
Change owner from userA to server Local Administrators 7 51
changeXy challenge 13 56
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…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
This video discusses moving either the default database or any database to a new volume.

771 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

12 Experts available now in Live!

Get 1:1 Help Now