focus Visual Basic Application 
Author Message
 focus Visual Basic Application

Hello everyone,

Maybe this question is already been answered a couple of times (although i
searched thoroughly) but is it possible to determine if a VB application has
the (ALT-TAB) focus or not?

thanks anyway!

Matt



Wed, 12 May 2004 06:37:58 GMT  
 focus Visual Basic Application
GetForegroundWindow

or hook/subclass and test for the WM_ACTIVATEAPP = &H1C message

Quote:

>Hello everyone,

>Maybe this question is already been answered a couple of times (although i
>searched thoroughly) but is it possible to determine if a VB application has
>the (ALT-TAB) focus or not?

>thanks anyway!

>Matt



Wed, 12 May 2004 14:24:40 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. loading visual basic 3.0 applications in visual basic 5.0

2. Using visual basic controls outside a Visual Basic application

3. Preparing Your Visual Basic 6.0 Applications for the Upgrade to Visual Basic.NET

4. Visual Basic Application to Web Application

5. Want some application for create help in visual basic application

6. Visual Basic Application Sharing an ID with a Web Application

7. Database Application : Visual Basic or Visual C++ ??

8. Hybrid: Visual C++ COM AND Visual Basic Application

9. Visual Basic TextBox scroll focus problem

10. Visual Basic TextBox scroll focus problem

11. Visual Basic for Applications Project in This Database Is Corrupt

12. Error:Visual Basic for Applications Project in This Database is Corrupt

 

 
Powered by phpBB® Forum Software