Propertygrid in Taskpanel as group item |
Post Reply |
Author | |
zagames
Newbie Joined: 17 June 2004 Location: United States Status: Offline Points: 5 |
Post Options
Thanks(0)
Posted: 16 November 2004 at 10:40am |
I created a property grid and loaded it into a taskpanel, however i can only see my grid when i close or expand the group item in the task panel. Here is the code used. CXTPPropertyGrid gexifInfo; gexifInfo.Create(CRect(100,50,300,300), this,IDS_PHOTO_DETAILS);gexifInfo.SetOwner(GetParentOwner()); PGroupExifInfo = m_controlPanel.FindGroup(ID_TASKGROUP_EXIF); CXTPTaskPanelGroupItem* pItem = PGroupExifInfo->AddControlItem(gexifInfo); |
|
zagames
Newbie Joined: 17 June 2004 Location: United States Status: Offline Points: 5 |
Post Options
Thanks(0)
|
never mind, found the problem. I was using the wrong parent window handle changed gexifInfo.Create(CRect(100,50,300,300),this,IDS_PHOTO_DETAILS);
to gexifInfo.Create(CRect(100,50,300,300),&m_wndTaskpanel,IDS_PHOTO_DETAILS); |
|
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 |