Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Question about CExtPropertyGridCtrl Collapse All
Subject Author Date
Akira Hiraga Jul 19, 2006 - 7:28 AM

Hello, I have a question about "CExtPropertyGridCtrl".

This class has "OnPgcInputComplete" method
which is called on completion of an input to a cell,
but I could not find any way to catch the beginning of an input.
Is there any proper way to do this?

If there is no such thing, it would be a big help for me if you could
add a method like "OnPgcInputBegin" to the class.

I am using Prof-UIS253.
Thank you.

Technical Support Jul 20, 2006 - 5:28 AM

The CExtPropertyGridCtrl class implements a container window for one or more tree grid windows and, optionally, for a set of bars like the help tip bar, combo box bar, or tool bar. This means the CExtPropertyGridCtrl class is not a kind of grid window. The tree grid windows inside property grid control pass some of events into virtual methods of the CExtPropertyGridCtrl class. We implemented the most important notifications and notifications requested by Prof-UIS users. There is no a ready-to-use simple notification about beginning of editing, but you can catch it using by following these steps:

1) Create a CExtPropertyGridCtrl-derived class and implement the CExtPropertyGridCtrl:OnPgcCreateGrids() virtual method in it. Your method should be similar to the original, but it should create your own CExtPropertyGridWndCategorized-derived and CExtPropertyGridWndSorted-derived windows.

2) Your tree grid windows should implement the CExtGridBaseWnd::OnGbwBeginEdit() virtual method which is invoked to start in-place editing session. So, you will be able to implement your custom actions on this event and invoke the parent class’s method to start in-place editing.