[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
OnExpose in ActiveX
- Subject: OnExpose in ActiveX
 
- From: Bert Bierman <bierman(at)tm.tno.nl>
 
- Date: Wed, 01 Aug 2001 15:29:40 +0200
 
- Newsgroups: comp.lang.idl-pvwave
 
- Organization: SURFnet BV
 
- Xref: news.doit.wisc.edu comp.lang.idl-pvwave:25939
 
Hello,
I ran into a problem which I hope someone can give me a hint:
I use the IDLDrawWidget with Visual Basic.
In the IDL-procedure I create a surface with SurfaceShade and PolyShade,
and display this in the IDLDrawWidget.
Because I want to manipulate the image I played around with the 
RegisterForEvents to set who is handling the mouse-events
(VB or IDL).
If you set "forward expose events" the image is no longer
displayed?? But the button-processing is perfect.
I guess the expose-event does not reach the IDL and the image
is not actually displayed. I looked for an expose-function to
trgger from VB like the ...->draw.... in object graphics but could 
not find it.
Does someone know how this can be done?
Greetings
Bert 
o--o 
E.P.B. Bierman 
TNO Human Factors 
P.O. Box 23 
3769 ZG Soesterberg 
The Netherlands 
Tel: + 31 3463 56 304 
fax: + 31 3463 53 977 
email: bierman@tm.tno.nl