|
-
January 10th, 2000, 07:35 PM
#1
Window Focus
I have written an application that has requirement to maintain the window focus reagrdless of any other applications that are open. Hence if you try to lose the focus of the application it sets the focus back again immediately. Hence the desired affect is never to lose focus of my application. Can anyone help?
-
January 11th, 2000, 06:09 AM
#2
Re: Window Focus
Try this:
private sub form_lostfocus()
me.setfocus
endsub
Something over there is coding....
... and you don't know!
-
January 11th, 2000, 06:12 PM
#3
Re: Window Focus
I have already looked at this. The problem with setfocus and lose focus is that their scope is only applicable within the application itself. Hence other applications that are open can steal the focus from my applications window. The MSDN can explain this better.
Good suggestion though.
Any more thoughts out there?
-
January 11th, 2000, 08:32 PM
#4
Re: Window Focus
You could try loading your form as a modal form.
Brewguru99
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
|