🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #10154

Re: selected text from an active windows handle

#10154
From: Remy Lebeau (TeamB)
Date: Thu, 20 May 2004 05:13
12 lines
1221 bytes
"Tim" <timsmith_s@gahoodot.com> wrote in message
news:40ac2c51$1@newsgroups.borland.com...

> However, I am really interested in the selected text (or not)
> w/in the active window itself.  Can any point get me started?

If you have the HWND of the window, then simply send it an EM_GETSEL message
to get the selected text.


Gambit
Technical Details
Message-ID: <40ac3fba$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!news.linkpendium.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <40ac2c51$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,89d5c3b3aec3fee2
X-Google-Attributes: gid10cc67,public
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <40ac2c51$1@newsgroups.borland.com>
Subject: Re: selected text from an active windows handle
Date: Wed, 19 May 2004 22:13:51 -0700
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 67.22.138.253
Message-ID: <40ac3fba$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1085030330 67.22.138.253 (19 May 2004 22:18:50 -0700)
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news1.google.com!news.glorb.com!news.linkpendium.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail