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

you seem to have very incomplete
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.
ASKER CERTIFIED SOLUTION
Avatar of kakamna
kakamna

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