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.
Subject |
Author |
Date |
|
Suhai Gyorgy
|
Feb 5, 2007 - 6:37 AM
|
Dear Support,
Is there any way I could put a button in a CExtPropertyCategory’s cell? I understand that this line is two cells merged together, but I couldn’t find any function to get hold of this cell.
Thank you! Chris
|
|
Technical Support
|
Feb 5, 2007 - 12:56 PM
|
Any cell with category name is represented by the CExtPropertyGridCellArea class. So you can use a CExtPropertyGridCellArea -derived class instead. You can use any built-in buttons provided by CExtGridCell (drop-down, up-down and/or ellipsis) in such a class. Here is how to use this class.
1) Override the CExtPropertyGridCtrl::OnPgcCreateGrids() method. Make it the same as the original one except for a custom CExtPropertyGridWndCategorized class should be created in it.
2) Override CExtPropertyGridWndCategorized::PropertyItemInsert() so that your custom CExtPropertyGridCellArea is created in it.
Please contact us if you have any questions with this.
|
|