Link to home
Start Free TrialLog in
Avatar of SonicYouth
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)->GetWindowRect(&rect);
 ScreenToClient(&rect);
 m_sheet.SetWindowPos(......);
}
Where can define "IDC_PROPSHEET" ???
Avatar of MDarling
MDarling

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
ASKER CERTIFIED SOLUTION
Avatar of jhattingh
jhattingh

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This post is duplicate. Please delete it.