Link to home
Start Free TrialLog in
Avatar of thready
thready

asked on

code organization

Hi Experts,

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.
Mike
Avatar of thready
thready

ASKER

it looks like I am answering my own question here, but I am looking for alternatives...  
SOLUTION
Avatar of mahesh1402
mahesh1402
Flag of India image

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
ASKER CERTIFIED SOLUTION
Avatar of AndyAinscow
AndyAinscow
Flag of Switzerland image

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