![]() |
Select GridItem from mainfrm programmatically |
Post Reply ![]() |
Author | |
andrewg ![]() Groupie ![]() Joined: 24 September 2007 Status: Offline Points: 41 |
![]() ![]() ![]() ![]() ![]() Posted: 25 February 2008 at 10:07am |
I'm currently attempting to select a propertygrid Item from the mainfrm and set the cursor in the item so the user doesn't have to move the mouse over and click into it. It's not quite working. The item is being selected but the cursor is not appearing.
MainFrm: m_userPropertySheet->m_propertyGrid.SetFocus(); PropertySheet: void CPropertySheet::OnNew() { Anyone know how to get this to work? |
|
![]() |
|
Barto ![]() Groupie ![]() Joined: 27 February 2005 Location: Germany Status: Offline Points: 60 |
![]() ![]() ![]() ![]() ![]() |
maybe try something like this:
|
|
![]() |
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 |