SonicYouth
asked on
About CPropertysheet!
codes from a book like bellow:
....
void CMyDlg:OnInitDialog()
{
...
m_sheet.Create(....);
m_sheet.ModifyStyle(..);
CRect rect;
GetDlgItem(IDC_PROPSHEET)- >GetWindow Rect(&rect );
ScreenToClient(&rect);
m_sheet.SetWindowPos(..... .);
}
Where can define "IDC_PROPSHEET" ???
....
void CMyDlg:OnInitDialog()
{
...
m_sheet.Create(....);
m_sheet.ModifyStyle(..);
CRect rect;
GetDlgItem(IDC_PROPSHEET)-
ScreenToClient(&rect);
m_sheet.SetWindowPos(.....
}
Where can define "IDC_PROPSHEET" ???
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
code here.
the IDC_PROPSHEET would be a control on
your dialog and would be defined
using your resource editor.
is the example for a propsheet emebedded
on a dialog???
regards,
Mike.