How to select an item and activate edit |
Post Reply |
Author | |
RickSaada
Newbie Joined: 08 November 2004 Status: Offline Points: 4 |
Post Options
Thanks(0)
Posted: 02 December 2004 at 12:18pm |
I've got a tree view on a data file that opens tabbed views when you double click an item in the tree. Each tabbed view is a property grid. I'd like, after the grid is created and displayed in the new view, to select the first item in the grid, activate its edit, and select all the contents in the edit. I can't figure out how to do this from code (as opposed to clicking in the item). What's the secret? Thanks, Rick |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
CXTPPropertyGridItem* pItem = m_wndPropertyGrid.GetCategories()->GetAt(0)->GetChilds ()->GetAt(2);
ps. in you source version GetInplaceEdit can be protected (we changed it as public in last version only) so modify header file manually. |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |