|
-
Aug 6th, 2001, 03:36 AM
#1
Thread Starter
Junior Member
GET current FORM NAME, . . .
I want to get the name of the:
- current project
- current form
- current module
- current function
- current procedure or method.
where I am working
How can I do to get it?
I think this can be done with API
thanks and regards
-
Aug 6th, 2001, 11:34 AM
#2
To get the current form or application that has the focus, you can use the GetForegroundWindow or GetActiveWindow API functions.
VB Code:
Private Declare Function GetActiveWindow Lib "user32" () As Long
Private Declare Function GetForegroundWindow Lib "user32" () As Long
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|