Click to See Complete Forum and Search --> : MFC Toolbars


Goran Mitrovic
April 8th, 1999, 04:57 AM
I have MFC .exe aplication and .dll which is loaded with LoadLibrary.
How can I load, from .exe, toolbar in .dll? CToolbar::LoadToolbar
doesn't have HINSTANCE parameter.

And, if I load it and display it, how can I receive it's messages
in .exe, not .dll?


- Goran.

Bogdan Matasaru
April 8th, 1999, 05:25 PM
Use AfxSetResourceHandle.