Ashok ,
After few days...
<Setcursor>: modify the cursor, but it does not remain active when my mouse move, for the moment I did not manage to modify it, only in my window TK.
I also have to try this function <SetSystemCursor>, it works well but for all Windows.
And finally… <PostMessage> , works with my window , but the cursor arrow is only modify
# WM_SETCURSOR -> 0x0020
twapi::PostMessage $hwin 0x0020 0 0
twapi::ffi_cfuncs [twapi::ffi_load user32.dll] {
HANDLE GetCursor();
HANDLE SetCursor(HANDLE hand);
BOOLEAN SetSystemCursor(HANDLE hand, int id);
}
set CursorWait [twapi::load_cursor_from_system wait]
set Arrow_cur 32513
SetCursor $CursorWait
SetSystemCursor $CursorWait $Arrow_cur
Nicolas