Print Page | Close Window

Inplace Editing

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=2982
Printed Date: 21 November 2024 at 8:08pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Inplace Editing
Posted By: Toxick
Subject: Inplace Editing
Date Posted: 30 September 2005 at 4:43pm
Hello experts,


A while back I derived a class from the MFC CEdit class and now it does all kinds of neato numerical and mathematical things that we all wanted our edit box to do.

So, now I would like to add this functionality to the CXTPPropertyGrid - at least on *some* of the property grid items.


So what I did was derived a class from CXTPPropertyGridInplaceEdit and added all my fun numerical mathematical functionality to it. And then I derived a class from CXTPPropertyGridItemNumber which should be the item that holds this edit object.

And now I have no idea what to do. How to I tell the Property Grid Item that I want to use my derived Inplace Edit box, instead of the usual Inplace Edit box.


Am I going about it the wrong way?


-------------
This signature intentionally left blank



Replies:
Posted By: Kevin6
Date Posted: 17 October 2005 at 2:34am

Try

 CXTPPropertyGridItem::SetInplaceEdit

Rich



-------------
Kevin.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net