Enum problem in ATL full control.....
Posted on 2000-03-15
I have got a problem with ATL full control.
I have defined some enums in IDL and have some properties added to the
control of the enum type
is defined as enum in library section of idl and 'boxType' is a property
added of type BOXTYPE to the control.
Now the problem is that in VB when the control is added to the form, in the
properties box ( accessed through F4), random values are shown for the
properties of these enum types.
Hence in the properties box, for the above boxType property some random
value such as 5864856- is shown instead of the values 0 / 1 or SUB / FENCE.
What is to be done in such a case?
I have also checked the .tlb through the OLE viewer and found that the definitions of the enums are perfect.
Thanx in advance