[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]]
==== OLE and Click detection? (OpenInsight 32-bit Specific) ====
=== At 24 JUN 2008 11:30:12AM Bertil Strom wrote: ===
{{tag>"OpenInsight 32-bit Specific"}}
I have created a graph using Graphic Server in an OLE window and I want to be able to zoom in on the graph with mouse clicks but I can't figure out how to catch the proper mouse event using QUALIFY_EVENT.
----
=== At 25 JUN 2008 08:39AM Bob Carten wrote: ===
Try Qualifying ALL_OLES, put a debug in the OLE event, then rule out the ones you don't want, using a line like.
Unused=EventOne EventTwo EventThree'
locate EventName in Excluded using ' ' setting unused else
debug
end
Try to click on the control. It will probably send some other events before you click. Keep adding to the exclude list until you only debug when you click.
- Bob
----
=== At 26 JUN 2008 02:03PM Alfredo Morales wrote: ===
If you want another option:
Try to use this Graph
http://www.codeproject.com/KB/miscctrl/ntgraph_activex.aspx
You may insert this control into an OCX ,created under Visualbasic 6 and then you may call it from OI, it has several features as ZOOM.. and it works fine under OI 7 ( because the control MSCHART which I was using before doesnt' work under OI 7 )...
Hope this help
Alfredo.Eguia
----
=== At 27 JUN 2008 10:24AM Bob Carten wrote: ===
Nice Find!
- Bob
[[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=43F54EEE5A9878C985257472005529E7|View this thread on the forum...]]