🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #1654

What word did I just click on?

#1654
From: Keith Chandler
Date: Wed, 14 Oct 1992 20:01
14 lines
1339 bytes
Help me, somebody.
This is probably simple, but then again, so am I.
I want to display text on a window, then allow the user to select a word
within the text by double-clicking. Then I want to know what word
was selected.  Is there a method that's easier than keeping track of the coordinates of each word as I write it, or doing a GetLine and counting characters across the line?

Thanks in advance for your help.
-- 
===============================================================================
Keith Chandler                                               akc@atlanta.dg.com
Data General Corporation
3617 Parkway Lane                                        Phone:  (404) 448-6072
Norcross, GA  30092                                        FAX:  (404) 446-5635
===============================================================================
Technical Details
Message-ID: <1992Oct14.200150.14519@rambo.atlanta.dg.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!swrinde!gatech!hubcap!ncrcae!ncrlnk!psinntp!dg-rtp!rambo.atlanta.dg.com!atlanta.dg.com!akc

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!swrinde!gatech!hubcap!ncrcae!ncrlnk!psinntp!dg-rtp!rambo.atlanta.dg.com!atlanta.dg.com!akc
From: akc@atlanta.dg.com (Keith Chandler)
Subject: What word did I just click on?
Sender: usenet@rambo.atlanta.dg.com (Usenet Administration)
Message-ID: <1992Oct14.200150.14519@rambo.atlanta.dg.com>
Date: Wed, 14 Oct 92 20:01:50 GMT
Organization: Data General Corp. SID, Atlanta, GA
Lines: 14