Hi, two comments: 1. you should not try to dispose of cursors that you did not create yourself; that's every Cursor you get from the Cursors class (the system created those, it will dispose of them too when appropriate, and maybe never !) 2. who is changing the cursor ? cant you do that with a simple method, something like (inside your form class):
public static void SetCursor(Cursor newCursor) {
Cursor oldCursor=Cursor;
Cursor=newCursor;
oldCursor.Dispose();
}
no handles involved ! Hope this helps.
Luc Pattyn
try { [Search CP Articles] [Search CP Forums] [Forum Guidelines] [My Articles] } catch { [Google] }