Pl. tell about the use of IDispatch Class?
There is an OCX control called Spreadsheet from FarPoint Tech.This is a grid control which lets me to put controls like combobox,picture,command button etc. in each cell.
This gives an interface called "SetTypePictPicture(LPDISPATCH)" to add picture into a cell.
Here LPDISPATCH is a pointer to IDispatch Class. But I don't know how to use IDispatch? Please give me some details regarding this.
varma.
Re: Pl. tell about the use of IDispatch Class?
It's a long story, have a look at the online docs: Technote TN039: "MFC/OLE Automation Implementation", and "Dispatch Interface and API Functions" under "COM and ActiveX Object Services/Automation".
Dave