Waitcursor problem

Hi,

I have a simple form with a button and menu.
On the button click event I want to disable the menu and button and change the cursor to WaitCursor. The button click eventhandler has the following code:

Button1.Enabled = False
MenuItem1.Enabled = False
Me.Cursor = Cursors.WaitCursor

On click the cursor is changing to WaitCursor, but when I move it on the disabled menu, it again changes to default cursor. On rest of the form and controls the WaitCursor appears properly but when moved on menu it again changes to default arrow cursor.

Please give me some solution or workaround to avoid this problem.

[626 byte] By [vishaldedhia] at [2007-12-16]
# 1
Hi,
I couldn't seem to reproduce it. I tried it on VS2005 and it works as expected. Have you reported it to the Product Feedback?
cheers,
Paul June A. Domag
PaulDomag at 2007-9-9 > top of Msdn Tech,Windows Forms,Windows Forms General...