Variant to CString
Posted: Tue Sep 16, 2008 11:43 pm
I need to convert the title in the header to a CString to display in an Edit Box. How do I go about doing this. I access the title with
mChart->GetHeader().GetText.GetItem(0);
This returns a VARIANT object but I need to convert it to CString. Can someone point me to an example?
Thanks.
mChart->GetHeader().GetText.GetItem(0);
This returns a VARIANT object but I need to convert it to CString. Can someone point me to an example?
Thanks.