Hi,

I like to have multiple dll's that contain dialog resources for each language i am going to use.

Suppose i have a dll that contains IDD_DLG_VOYATTRIB.

In my app i set the resource handle to this dialog and create a dialog called CDlgVoyageAttributes with this resource idd, like this:

Code:
HMODULE hDll = theApp.GetResourceDLLHandle();
ASSERT(hDll != NULL);

if(hDll != NULL)
{
	// Save current resource handle
	HINSTANCE hResourceHandle = AfxGetResourceHandle();	
		
	// Use dll resources
	AfxSetResourceHandle(hDll);

	// Create dialog with resource id from dll
	CDlgVoyageAttributes dlg(IDD_DLG_VOYATTRIB, this);
	dlg.DoModal();

	// Restore resource handle
	AfxSetResourceHandle(hResourceHandle);
}
I am wondering how to create event handlers for the dialog buttons in the CDlgVoyageAttributes class. How can i do that????