Article View: borland.public.cppbuilder.nativeapi
Article #11868Re: EnumWinProc
From: Remy Lebeau (TeamB)
Date: Tue, 13 Jan 2004 17:57
Date: Tue, 13 Jan 2004 17:57
18 lines
1370 bytes
1370 bytes
"Babak" <babak_info@hotpop.com> wrote in message
news:4004040e@newsgroups.borland.com...
> I want to know how could I use the EnumWinProc in most easiest way by
source.
BOOL CALLBACK MyEnumProc(HWND hwnd, LPARAM lParam)
{
// use hwnd and lParam as needed...
// return TRUE to continue enumerating, or FALSE to stop it
}
//...
EnumWindows((WNDENUMPROC)MyEnumProc, SomeValue);
Gambit
Technical Details
Message-ID:
<40043016$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4004040e@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,1b3a68fd872528e9,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-01-13 10:07:53 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <4004040e@newsgroups.borland.com> Subject: Re: EnumWinProc Date: Tue, 13 Jan 2004 09:57:28 -0800 Lines: 20 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: <40043016$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1074016278 67.22.138.253 (13 Jan 2004 09:51:18 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news.compaq.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail