Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » OcxConnectionPointContainer
OcxConnectionPointContainer [message #4795] Tue, 22 August 2006 15:51 Go to previous message
mrmodolo is currently offline  mrmodolo
Messages: 3
Registered: August 2006
Junior Member
Hi in manual I found a example:

class MyViewOcx
: public OcxControl // handles OCX control client functionality
, public DispatchInterface<IMyView> // custom control's interface
, public OcxConnectionPointContainer // needed only for callback (aka event) interface

I make a ocx control and put It in VisualBasic express edition, I like to add a Event, I update the idl file:
dispinterface _ICalculadoraOCX_Events
{
properties:
methods:
[id(1), helpstring("Evento Resultado")]
HRESULT OnResultado();
};
with dispinterface now I can see in VB the event. But I do not know how can I fire the event from UPP ocx control

thanks,
marcelo módolo
 
Read Message
Read Message
Previous Topic: tutorial check completed - "bugs" and bug
Next Topic: DropList with "quick trigger option": best way to implement?
Goto Forum:
  


Current Time: Mon Apr 28 10:05:03 CEST 2025

Total time taken to generate the page: 0.00660 seconds