SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Technology Stocks : All About Sun Microsystems

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: Robert who wrote (597)2/19/1997 5:56:00 PM
From: uu   of 64865
 
Robert:

> It is not possible to tell, visually, if an appplication is "100% Pure
> Java".

Oh of course. The JFC prototyping I saw was run not only under
IE 4.0 (the alpha version) but also under Netscape on a Unix box.
To me (at least) that sort of convinced me their claim of being 100
pure Java might be valid. I guess I'll find out for sure shortly once I get
the alpha release of JFC (which is already late by about a week).

Anyway, Robert this is off the subject of SUNW stock and I
wanted to ask you something technical which Ihave been struggling
for quite some time now and see if you have any idea. You seem to
know about Beans and COM and I am running out of ideas as where
else to turn to to find my answers, and this was the last place Iwanted
to post my question and ask for help (but I have run out of ideas!) I
have contacted many of the Microsoft news groups and no response
yet and our premium support with Microsoft surely has not helped me
either! I have contacted developers at Sun also but they dont seem
to know the answer either. I am looking for a heavy duty hacker who
has worked with ActiveX and Java heavily. And if you, yourself, know
of the answer or know of someone I can contact I really appreciate it.

As you know Microsoft does not provide the support for the visual
ActiveX controls inside AWT based components. Their VM uses the
HTML page for the connection between ActiveX and a Java
applet to take place via VB scripting or Java Scripting. But this is not
acceptable for obvious reasons. We need an AWT based ActiveX
container. And I have been managed to do just that and can
visually display ActiveX controls inside AWTcomponents and
containers (lets say an applet). I have been able for this visual
presentation to take place using a Canvas. So for example I am able
to display Microsoft's Calender and ActiveX Grid contros inside my
canvas derived class on an applet, and I can call the ActiveX's
methods and change/set the properties from the Java world. My
main problem is now passing the events from the underlying ActiveX
to the canvas. Given the underlying hwnd representing the Canvas I
am able to subclass it and (also subclass the container of the visual
ActiveX). If I just do a SendMessage for every message the ActiveX
container receives to the Canvas it works fine (i.e. on the Java side
the MouseDown and MouseUp, gotFocus, etc. are called and
everything seems to be fine). But with a control like the Grid the
moment you click on the column and try to resize it (because the
control calls to SetCapture to get the hold of the cursor) if you try to
pass on the messages to the Canvas things break down and you not
only lose the control of the cursor but also messages are no longer
send to the canvas properly (and neither to the ActiveX). So do you
have any idea as how to pass the 'events' (including custom events)
from the visual ActiveX control to the Canvas that acts as its AWT
parent? Any help with this is greatly appreciated.

Regards,

- Addi Jamshidi
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext