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" ???
duplicate post...
Hi SonicYouth !!
This IDC_PROPSHEET will be defined in the resource when you create a Property Page.
Any more clarification feel free to ask
This IDC_PROPSHEET will be defined in the resource when you create a Property Page.
Any more clarification feel free to ask
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This post is duplicate. Please delete it.