Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: James Stewart
  Where is James Stewart?
 Christchurch
 New Zealand
 James Stewart
 To: Florin Groza
  Where is Florin Groza?
 arad
 Romania
 Florin Groza
 Tags
Subject: RE: get focus on my app
Thread ID: 33866 Message ID: 33919 # Views: 1 # Ratings: 0
Version: Visual FoxPro 8 Category: General VFP Topics
Date: Friday, December 05, 2003 4:40:30 AM         
   


> Hi,
> I saw the response for my questions on forum a few weeks ago..(I tried to find it in arhive, but no succes), so please help me..
> I want my application(at runtime) to be active, is on top but not active, until I click on my main form
> Thanks
>
> Florin
I couldn't find your other post, however try adding this to your Init Method of your form.

Declare integer SetForegroundWindow in Win32Api integer
With ThisForm
SetForeGroundWindow(.hWnd)
ENDWITH

Jimbo
Have you been foxed today?
I have :-) !

ENTIRE THREAD

get focus on my app Posted by Florin Groza @ 12/4/2003 4:00:05 PM
RE: get focus on my app Posted by James Stewart @ 12/5/2003 4:40:30 AM