hi
I am new to creating ActiveX controls.
I am trying to create a control to minimize a form to the system tray
using windows API.
For this I need a reference to the form, my control is placed in.
How can i do this?
I tried exposing a property "ParentFrm" of type Form.
Public Property Let ParentForm(ByVa l vNewValue As Variant)
ParentFrm=vNewV alue
End Property
This gives an error: Invalid use of property.
I tried replacing variant by Form but this results in a compilation
error: Private object modules can not be used in public object modules
as parameter....
Please help.
I am new to creating ActiveX controls.
I am trying to create a control to minimize a form to the system tray
using windows API.
For this I need a reference to the form, my control is placed in.
How can i do this?
I tried exposing a property "ParentFrm" of type Form.
Public Property Let ParentForm(ByVa l vNewValue As Variant)
ParentFrm=vNewV alue
End Property
This gives an error: Invalid use of property.
I tried replacing variant by Form but this results in a compilation
error: Private object modules can not be used in public object modules
as parameter....
Please help.
Comment