VPE ActiveX Event MFC

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

VPE ActiveX Event MFC

Postby Peet-BL » Wed Dec 14, 2011 2:54 pm

I use a ActiveX in a "CRecordView". How can I intercept an event, e.g., "VpeCloseWindow", in my "CRecordView" class?
Peet-BL
 
Posts: 2
Joined: Tue Dec 13, 2011 1:08 pm

Re: VPE ActiveX Event MFC

Postby IDEAL Software Support » Thu Dec 15, 2011 9:22 am

We recommend you google for "mfc form activex event".
IDEAL Software Support
 
Posts: 1621
Joined: Thu Nov 18, 2004 4:03 pm

Re: VPE ActiveX Event MFC

Postby Peet-BL » Fri Dec 16, 2011 7:28 am

i do this in my Class,
Code: Select all
BEGIN_EVENTSINK_MAP(CDruckenView, CRecordView)
      //{{AFX_EVENTSINK_MAP(CDruckenView)
      ON_EVENT(CDruckenView, IDC_VPECONTROL1, 1 /* TestEvent */, OnVpeCloseWindowHandle, VTS_NONE)
      //}}AFX_EVENTSINK_MAP
  END_EVENTSINK_MAP()


Is it korrect VpeCloseWindow is EVENT 1???

I do not find the Event-Numbers for the email event and so on........
Last edited by Peet-BL on Fri Dec 16, 2011 7:32 am, edited 1 time in total.
Peet-BL
 
Posts: 2
Joined: Tue Dec 13, 2011 1:08 pm

Re: VPE ActiveX Event MFC

Postby IDEAL Software Support » Fri Dec 16, 2011 12:24 pm

We have never used an ActiveX from MFC, please use google since this is an MFC question, not a VPE question.
IDEAL Software Support
 
Posts: 1621
Joined: Thu Nov 18, 2004 4:03 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 51 guests

cron