Posted on 2006-11-15
I have an include directory where I like to put all my shared code called, "inc". In that folder I have a CWnd derived calendar that opens up a CDialog derived class that I created with ClassWizard. The CDialog is my CMyEvent dialog. I also want to put this CMyEvent dialog into the inc folder but I can't because it's tied to the app's resources... In the end, I am stuck pulling my calendar control out of the inc folder and into the app's directory since it opens up the app's specific CMyEvent dialog....
So my question is - is there a way to keep ClassWizard-generated dialogs generic (not program specific) - so that I can include them easily in other projects? I had tried to do the calendar in its own dll before... tried very hard to get that working but gave up after 2 weeks of solid trying everything I could think of... I may try to find where I went wrong because it's becoming more important to clean up my code before adding more....
Thank you very much.