Mouse

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Bernard.

How can I change the mouse pointer during a job ?

Thanks

BDu
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Paul.

If you actually take the time to search the forum, you will find the information you are looking for.

Aside from that, this is what I do...

Code: Select all

#IDC_ARROW=32512
#IDC_HAND=32649
#IDC_HELP=32651
#IDC_IBEAM=32513
#IDC_CROSS=32515
#IDC_NO=32648
 
hWnd=OpenWindow(0, 100, 100, 400, 200, #PB_Window_SystemMenu, "Change Pointer")
SetClassLong_(hWnd, #GCL_HCURSOR, LoadCursor_(0, #IDC_NO))
 
Repeat
Until WaitWindowEvent() = #PB_EventCloseWindow
(these are some of the pointers I use)



Edited by - paul on 04 May 2002 22:57:16
Post Reply