|
-
Aug 13th, 2002, 02:29 PM
#1
Thread Starter
New Member
Windows messages processed even though Screen.MousePointer is hourglass
I have a VB6 application where a user selects an item from a list and then clicks a command button to access that item. The item is retrieved from a database by making a long database call. Prior to the call I set the Screen.MousePointer to vbHourglass. If the user clicks another item from a list and then clicks a command button to access the item, those mouse click messages are queued. If the user task switches to another Windows application, the queued messages process which generates another databse transaction that collides with the first.
Why does the act of task switching cause those queued messages to process? Can this be prevented?
I've tried using subclassing to re-route the messages and was able to get it to work in a simple VB project but had much trouble trying to get it to work in this mature VB app.
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
|