🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

window's prefined edit class

#1991
From: dontcare
Date: Thu, 17 Dec 1992 20:38
19 lines
1490 bytes
I'm trying to create a little hypertext like program where when the user
double clicks on a word, the program will show the user some additional 
information associated with that word.  I have decided to try to use the 
predefined edit class since when the user double clicks on a word in 
an edit class window, it automatically selects that word for me.  But now
I'm stuck.  I need to not only be able have that client window select that
word, but I need for the parent window to somehow receive a doubleclick 
message so that I can go and do some further action (besides haveing 
the child window highligth the text).  I was thinking that I should be able
to do this be somehow setting the CS_DBLCLKS bit of the style part the 
the edit class structure to on, or by subclassing edit, and then turning on 
the desired bits in that class structure.  I am not exactly sure if this the
best or even the right way to do this, but I am more than open to suggestions.

Please e-mainl any replies to dontcare&matt.ksu.ksu.edu.

Thanks!

-Hoa Nguyen
Technical Details
Message-ID: <1gqog6INNbub@matt.ksu.ksu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!matt.ksu.ksu.edu!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!matt.ksu.ksu.edu!news
From: dontcare@matt.ksu.ksu.edu
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: window's prefined edit class
Date: 17 Dec 1992 14:38:30 -0600
Organization: Kansas State University
Lines: 19
Message-ID: <1gqog6INNbub@matt.ksu.ksu.edu>
NNTP-Posting-Host: matt.ksu.ksu.edu
Summary: Question about subclassing the edit class