The only trouble with your code so far is that you have put definitions of your methods to .h file. Save_tot_Text, FileMenu, About, HelpMeny should be in .cpp
Now about that Cancel button:
Add Cancel method to your class:
class Jims_Medical : public WithJims_MedicalLayout<TopWindow> {
....
void Cancel();
....
};
define it e.g. like this (in .cpp):
void Jims_Medical::Cancel()
{
if(PromptYesNo("Do you want to exit?"))
Break();
}