Subject:
|
Re: Ldglite must be faster
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Tue, 3 Sep 2002 17:30:10 GMT
|
Viewed:
|
993 times
|
| |
| |
In lugnet.cad, Don Heyse wrote:
> Looks like Steve knew about the drag n drop peatures. What's involved
> in implementing the receiving code. I'm not sure I could coax the
> correct Windows events out of the Glut library, but you never know.
I don't have all the information handy, I've misplaced the
correspondence on the subject, but here's what I can piece together:
The basic thing is the WM_COPYDATA Windows message is being used to pass
data between two programs. LDList is the source of the message, and
whatever program is willing to accept part information is the message
sink.
So when the user drags a part from the LDList window to a window that
accepts WM_COPYDATA, LDList sends a WM_COPYDATA message with the part
info in the data area.
You can see this in action within LDList - drag a part from the search
list to the view window, and you'll get a message box with info about
the part. This is powered by the WM_COPYDATA interface.
One bad thing about this interface - I just crashed Explorer (on Windows
2000) by dragging a part from LDList onto the Taskbar. Oops!
Steve
|
|
Message has 1 Reply: | | Re: Ldglite must be faster
|
| "Steve Bliss" <partsref@yahoo.com> skrev i meddelandet news:7ir9nug2rp1shdk...4ax.com... (...) Interesting. Must be some undocumented Windows behaviour - the WM_COPYDATA message is described as _the_ way to do inter-process communication (in fact, (...) (22 years ago, 3-Sep-02, to lugnet.cad)
|
Message is in Reply To:
| | Re: Ldglite must be faster
|
| (...) I'd say it looks like people are indeed using it. Apparently it works well enough that they haven't found the need to ask questions. (...) Looks like Steve knew about the drag n drop peatures. What's involved in implementing the receiving (...) (22 years ago, 3-Sep-02, to lugnet.cad)
|
39 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|