Since CCheckout_Code and CPrevApp are both your code, you can simply add a pointer in the class of interest pointing to the 'other' class. If you have 2 dialogs that need to point to each other, you could cache a pointer to each in the parent or owning class and ask the parent/owner for the pointer to the 'other' class as needed.
If you have dialogs where you want to go back and forth between them, you probably want to look at Property Page and Property Sheet paradigms.
Clickety[
^]