Problem is, I cant get to understand the ocx part which is the only reason why I'm having sleepless nights over this.

I created a very small OCX control in Visual Basic 6.
Code: Select all
Private Sub UserControl_Click()
MsgBox "test"
End Sub
So, how can I get it to work with PureBasic using DispHelper?
Obviously, I read the help file, but I quite don't understand the parameters required for
Code: Select all
OCX_CreateGadget(Gadget.l, x.l, y.l, width.l, height.l, ProgID.s[, CLSID.s])
An example would rock!
BTW, I looked at Animated Gif Demo by Kiffi, but still, ProdID.s does not make sense.