I am converting a C++ control to C#. When a C++ host app is compiled
with the tlb file of my new control, it changes my public enums. Each
item in the enumerator list has the enum name added as a prefix. For
example:
My C# code has this...
public enum SIZE_OPTIONS
{
szZoom = -1,
szFitWindow,
szFitWidth,
szFitHeight,
szActual
}
TLH has this...
SIZE_OPTIONS
{
SIZE_OPTIONS_szZoom = -1,
SIZE_OPTIONS_szFitWindow = 0,
SIZE_OPTIONS_szFitWidth = 1,
SIZE_OPTIONS_szFitHeight = 2,
SIZE_OPTIONS_szActual = 3
};
Does anyone know how to turn this off - hopefully on the C# side.
Thanks,
Mike