|
-
Mar 26th, 2000, 07:27 PM
#1
Thread Starter
Hyperactive Member
Hi,
Im running a .avi file in my VB application using the ActiveMovie control. I've set the FullScreen property to True. While the .avi file is running I need to block all input from the user. I've kinda managed this.....only, I haven't been able to block the Alt+F4 combination. Can anyone help me out here?
Joacim,
Using the queryUnload event works fine when the form has the focus. But I need to block Alt+F4 when the .avi file is running.
Thanx,
Ramya.
-
Mar 26th, 2000, 09:39 PM
#2
Try this, I haven't tried it myself because there's something wrong with my ActiveMovie control;
Code:
Private Sub ActiveMovie1_KeyDown(KeyCode As Integer, Shift As Integer)
If KeyCode = vbKeyF4 And (Shift And vbAltMask) = vbAltMask Then
KeyCode = 0
End If
End Sub
[Edited by Joacim Andersson on 03-27-2000 at 09:40 AM]
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
|