Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Property Grid Collapse
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Property Grid Collapse

 Post Reply Post Reply
Author
Message
AliRafiee View Drop Down
Groupie
Groupie


Joined: 06 May 2004
Status: Offline
Points: 32
Post Options Post Options   Thanks (0) Thanks(0)   Quote AliRafiee Quote  Post ReplyReply Direct Link To This Post Topic: Property Grid Collapse
    Posted: 23 June 2004 at 4:08pm
Hi guys,

I have a CXTPPropertyGridItemNumber which has a slider control embeded inside of it. I want to have the slider control visible all the time, which is not a problem. Here is the problem that I am having. I can't seem to find a place where I get notified that the item has been collapsed, so that I can hide the slider.
What I was going to do is to add a
virtual void ShowItem(BOOL)
method to the CXTPPropertyGridItem class which gets called everywhere the m_bVisible flag is being set. That way I can overwrite the method in order to get notified that the object is no longer being drawn. Do you have a better suggestion?

thanks
Ali Rafiee
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.