Hello,
i have another question for you!
I implement a form in a dll, made with VB6, and i use the DLL in an
excel workbook, now i want to make the dll form the same as a userform,
i try with setwindowpos and setparent but it doesn't work, i have the
dll form always on top (over) any userform i open from excel, or if i
don't set the topmost style i have the dll form always under the
userforms!
Thank for the help!
Andrea
awaters@linnhoffmarch.com - 22 Mar 2006 11:09 GMT
DLL forms should always appear on top, without using SetWindowPos,
because they have to be modal.
However, we find that when you are running a DLL in the VB IDE the
problem you mention does occur.
I this is what you are doing, then try running the compiled DLL to see
what happens.
Withe regards to debugging the DLL, it is a constant pain in Excel!