|
Hi,
I am developing a win32 application, in which i am importing an OCX(Activex control)and that's done perfectly.
I am trying to use the events of the OCX control but i am unable to get access them.
I am able to use them by MFC application code:
BEGIN_EVENTSINK_MAP(CPluginDemoDlg, CDialog)
//{{AFX_EVENTSINK_MAP(CPluginDemoDlg)
ON_EVENT(CPluginDemoDlg, IDC_BCONTROL1, 12 /* UserVerify */, OnUserVerifyBcontrol1, VTS_I4 VTS_VARIANT VTS_I4 VTS_BSTR VTS_PBOOL)
//}}AFX_EVENTSINK_MAP
END_EVENTSINK_MAP()
void CPluginDemoDlg::OnUserVerifyBcontrol1(long vBioType, const VARIANT FAR& vTemplate, long vKeyType, LPCTSTR vkeyValue, BOOL FAR* IsVerified)
{
MessageBox((LPSTR )&vTemplate);
}
i wanted to map this function "OnUserVerifyBcontrol1" into win32 application.
Please help me for same?
Thanks in advance.
Rakesh
I am a Software Er.
|
|
|
|