🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

How to call a Windows API function with same name as a Borland function?

#11373
From: Zlika
Date: Mon, 16 Feb 2004 19:38
8 lines
1128 bytes
Hi
I would like to use the SetFocus function of the Windows API (in windows.h).
However, BCB wants to use the TCustomForm->SetFocus() function instead!
How can I tell it to use the Windows API function?

Thank you

Zlika
Technical Details
Message-ID: <40311c43$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!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,5c45791eb4fc4f59,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-02-16 11:40:10 PST
From: "Zlika" <zlika_eseSTOPSPAM@hotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: How to call a Windows API function with same name as a Borland function?
Date: Mon, 16 Feb 2004 20:38:48 +0100
Lines: 10
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: 81.250.67.185
Message-ID: <40311c43$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1076960323 81.250.67.185 (16 Feb 2004 11:38:43 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail