Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

CPropertyPage Tab update problem

Posted on 1997-12-03
4
Medium Priority
?
355 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 300 total points
ID: 1311481
Ensure you are doing an Invalidate() for the tab control.

0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
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.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

618 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