Question
How can I access to phGantXControl enums like TxTimeStyle in VC++?
I want to set the style of a GantTime, but I can’t write in my code
time->SetStyle(tsPipe);
I can only write something like this:
time->SetStyle(8);
Thanks
Answer
This really depends on how you imported the type library, but if all is somewhat standard you should find the enum definition TxTimeStyle in the created h file.
So then you would go
time->SetStyle(TxTimeStyle.tsPipe);