Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Propertygrid in Taskpanel as group item
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Propertygrid in Taskpanel as group item

 Post Reply Post Reply
Author
Message
zagames View Drop Down
Newbie
Newbie


Joined: 17 June 2004
Location: United States
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote zagames Quote  Post ReplyReply Direct Link To This Post Topic: Propertygrid in Taskpanel as group item
    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);

Back to Top
zagames View Drop Down
Newbie
Newbie


Joined: 17 June 2004
Location: United States
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote zagames Quote  Post ReplyReply Direct Link To This Post Posted: 16 November 2004 at 11:33am

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);

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.