This is a vb6 slash win api problem:
I am creating a win32 dll in vb6 (which *is* possible btw:
Basically the dll's purose is to paint a control on screen:
1) initiate common control (initcommoncontrolsex)
2) create window (createwindowex)
NB: i send the window handle of the vb form as a parameter
I want the dll to draw the window/control on my vb form...
* I can directly call 1) and 2) from my vb app and paint a control
* I can directly call 1) and 2) from my vb app and paint a control to another form
* I CAN'T call 1) and 2) from dll (with my vb app handle) to paint the control
(I don't have the code available on me so i will post that later today maybe)
I am creating a win32 dll in vb6 (which *is* possible btw:
Basically the dll's purose is to paint a control on screen:
1) initiate common control (initcommoncontrolsex)
2) create window (createwindowex)
NB: i send the window handle of the vb form as a parameter
I want the dll to draw the window/control on my vb form...
* I can directly call 1) and 2) from my vb app and paint a control
* I can directly call 1) and 2) from my vb app and paint a control to another form
* I CAN'T call 1) and 2) from dll (with my vb app handle) to paint the control
(I don't have the code available on me so i will post that later today maybe)