LPDISPATCH help me
-
Everybody knows the Microsoft forms 2.0 image control. I'm getting nuts with this. I need to set the image file dynamically...but look at this. m_imagecontrol.SetPicture(LPDISPATCH newValue); I have a file dialog to browse the image, the question is: how can I set the CFileDialog.GetFilename() in m_imagecontrol.SetPicture(LPDISPATCH newValue); CFileDialog.GetFilename() is a CString, if there's a function to do this, please tell me before I kill myself. thanks in advance pals
-
Everybody knows the Microsoft forms 2.0 image control. I'm getting nuts with this. I need to set the image file dynamically...but look at this. m_imagecontrol.SetPicture(LPDISPATCH newValue); I have a file dialog to browse the image, the question is: how can I set the CFileDialog.GetFilename() in m_imagecontrol.SetPicture(LPDISPATCH newValue); CFileDialog.GetFilename() is a CString, if there's a function to do this, please tell me before I kill myself. thanks in advance pals
Try to look for IPicture usage. I think the LPDISPATCH param is a IPicture interface. (rough guess) Sonork 100.41263:Anthony_Yio