• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 194
  • Last Modified:

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" ???
0
SonicYouth
Asked:
SonicYouth
1 Solution
 
MDarlingCommented:
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.
0
 
kakamnaCommented:
You can define IDC_PROPSHEET in the String Table.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now