If it's the problem i thought, it is quite trichy.
Just test that:
In the function of your DLL where you want to display the dialog:
//Get DLL Handle
HMODULE hDLL = GetModuleHandle("MyDLL.dll");
// Get handle of the caller
HINSTANCE hEXE = AfxGetResourceHandle();
// Set that...
Yes,
and here is how :
1 - create a tool bar in resources
2 - in your dialog header file add :
protected:
CToolBar cToolBar;
3 - in your dialog source file in the OnInitDialog add :
//add the tool bar to the dialog
cToolBar.Create(this);
cToolBar.LoadToolBar(IDR_TOOLBAR1)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.