Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1134
  • Last Modified:

Using User32's SetFocus

I want to to use the user32.dll's API:
SetFocus(myHWND);
But Delphi thinks I want to use the
method SetFocus which takes no
parameters, what do I do?
0
dr_gonzo
Asked:
dr_gonzo
1 Solution
 
erajojCommented:
Just like this:

  Windows.SetFocus(...);

/// John
0
 
dr_gonzoAuthor Commented:
YES, my compiler stops telling
me I'm a bad guy...
...BUT The window still hasn't
got the focus, proberly my variable
messing things up,
TNXe6,
Dr. Gonzo
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now