home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / mswindo / programm / misc / 4324 < prev    next >
Encoding:
Text File  |  1992-12-18  |  802 b   |  23 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!psinntp!fsg!misra
  3. From: misra@fsg.com (Mark Israel - Fusion Boston)
  4. Subject: How to make a Long from ints in VB
  5. Message-ID: <BzEp1J.I83@fsg.com>
  6. Sender: usenet@fsg.com (Keeper-of-Articles)
  7. Organization: Fusion Systems Group, Inc.
  8. Date: Thu, 17 Dec 1992 13:48:54 GMT
  9. Lines: 12
  10.  
  11. This must be an easy question but I can't figure it out.  How do you 
  12. make a long in VB from two integers.  This is necessary to send a WM_LBUTTONDOWNevent to a control or for many other windows calls.  In C you would use
  13. the MAKELONG(hi,lo) macro.
  14.  
  15. Thanks in advance.
  16.  
  17. Mark.
  18. -- 
  19. ---------------------------------------------------------------------------
  20. Mark A. Israel
  21. Fusion Sytems Group
  22. misra@fsg.com        Voice: (617) 542-6130      FAX: (617) 542-6248
  23.