Reputation: 37
I have a VS Win32 C++ project. I have created a dialog using Resource->Add resource->Dialog. But I can't use it, there is no cpp file related to this dialog in my project. What I have done wrong? How to get hold of the cpp file for this dialog? Or must this dialog be used in a different way?
Upvotes: 0
Views: 1355
Reputation: 37468
Win32 dialogs are just plain data (resources). In order to use them you need to spawn dialog using CreateDialog
or similar function. You may find all the necessary information at Dialog Reference.
Upvotes: 1