TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Mark Kimes
from: George Staikos
date: 1994-10-11 07:43:12
subject: Re: Container Drops

Mark Kimes wrote in a message to George Staikos:

 > GS>  I've gotten as far as determining when my container is being dragged
 > GS>  over, and when something is dropped on it, but I can't seem to hack
 > GS>  out the code to create the icon for it when it is dropped.

 >MK> Simply insert the desired record into the container.  Look
 >MK> up CM_ALLOCRECORD and CM_INSERTRECORD in the online
 >MK> reference.

 GS>   That's the problem.  I've read the docs, even printed them out, and I
 GS>   just can't get them to work. The main problem is getting the pointer
 GS>   to the drop buffer transferred to another pointer so I can insert it..

MK> Can you insert a record?  If so, you already know how to do
MK> it; you're just trying to do something else.

MK> You allocate a record, fill it, and insert it.  Ain't no
MK> "transferring pointers."  That tell you what you need?

  I need to know WHAT the item is that's being dropped.  I know that mp2
  during CN_DROP contains a pointer to a drag buffer, but I can't transfer
  the RECORDCORE in that to a RECORDCORE to be inserted into the container.

TTYL,
  George     (George.Staikos{at}bullseye.tvk.tsoft.net)

--- timEd-A10c

* Origin: BULL'S EYE BBS! 613-394-3268 Trenton, Ontario (1:249/302)
SEEN-BY: 12/2442 54/54 620/243 624/50 632/348 640/820 690/660 711/409 410 413
SEEN-BY: 711/430 807 808 809 934 942 949 712/353 623 713/888 800/1
@PATH: 249/302 304 3615/50 229/2 12/2442 711/409 54/54 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.