About CPropertysheet!

codes from a book like bellow:

void CMyDlg:OnInitDialog()
  CRect rect;
Where can define "IDC_PROPSHEET" ???
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

The book is telling you that you can use a static control in your dialog box (probably hidden) and the size and location of it can be used to position the property sheet you want in your app. I presume the supplied sample code has a dialog with a static control called IDC_PROPSHEET, but if not - go ahead and create one yourself.



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
This post is duplicate. Please delete it.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Programming

From novice to tech pro — start learning today.