🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Read text label in dialup status window (in the tray)

#15361
From: David Goodman
Date: Mon, 07 Jul 2003 17:38
29 lines
1572 bytes

I am using Windows 2000 and I would like
to read the text labels in the dialup status 
popup window in the tray.

I would like to read the following labels and its values:

Status: Connected
Duration: 00:00:00
Speed: 52.0 kbps
..

Under Win98 this was easy using:

HWND hWnd;
char title[128];
hWnd = FindWindow(NULL, "Satus popup window...");
GetWindowText(hWnd, title, 120);

but I have no idea how to get this done in Windows 2000,
the information is not in the window's title, it
now in a tabset which I can't get to.

An example on how to do this would be appreciated.

Regards,

David
Technical Details
Message-ID: <3f09b030$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!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,361ff2c9c85208e1,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-07-07 10:40:21 PST
From: "David Goodman" <dg983@nospam.com>
Sender: "David Goodman" <dg983@nospam.com>
Reply-To: "David Goodman" <dg983@nospam.com>
Subject: Read text label in dialup status window (in the tray)
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 65.58.124.28 65.58.124.28    
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3f09b030$1@newsgroups.borland.com>
Date: 7 Jul 2003 10:38:56 -0700
X-Trace: newsgroups.borland.com 1057599536 207.105.83.65 (7 Jul 2003 10:38:56 -0700)
Lines: 31
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail