May 24th, 2002, 4:13 pm
Hi guys,I can add a resource-dialog to my project (a standard DLL), but when I try to add an event-handler to the buttons I put into the dialog the command is not enabled, and I cannot add a Form.Does anybody have an idea about it? >>This should be in the software threads no ?Well, what HANDLE do you use for callbacks ? You must know the HANDLE or HINSTANCE (I don't remember) of the DLL (store it when dllmain is called). You must also know the HWND of the program calling the DLL (if the dialog is to appear within it). So that either it tells you what is his HWND, either you must ask him (that is possible with Excel -- if Excel is your concern). Or either you create your own window.