🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

control handle

#9924
From: Gintaras Kekys
Date: Mon, 07 Jun 2004 13:24
14 lines
1393 bytes
Hi.

I need to send series of SendMessage(hwnd,WM_CHAR,cBuff[i],0) to a
particular edit control of some application. I found the window handle of
application through EnumWindows and handles of all controls with
EnumChildWindows. I need to somehow distinguish controls from each other to
be able to send messages to particular one. I can get control text with
SendMessage( hwnd, WM_GETTEXT,..) but since text can change I need other
'more stable' means to find my control. Something like WM_GETCONTROLNAME...

--
Pagarbiai,
Gintaras
SB
Technical Details
Message-ID: <40c46c4b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,cf6c3cf1a47a1f79,start
X-Google-Attributes: gid10cc67,public
Reply-To: "Gintaras Kekys" <gintaras-erasethis@sb.lt>
From: "Gintaras Kekys" <gintaras-erasethis@sb.lt>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: control handle
Date: Mon, 7 Jun 2004 16:24:20 +0300
Lines: 17
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2739.300
NNTP-Posting-Host: 213.190.40.141
Message-ID: <40c46c4b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1086614603 213.190.40.141 (7 Jun 2004 06:23:23 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail