You are not logged in.

Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

theuserbl

Intermediate

  • "theuserbl" started this thread

Posts: 436

Date of registration: Dec 20th 2008

  • Send private message

1

Wednesday, March 3rd 2010, 4:49pm

Mouse Cursor in the Framework

In Global.jsrc there stand in the function VBMousePointerToJCursor:

Source code

1
2
3
4
Case vbSizeNESW:       VBMousePointerToJCursor = SW_RESIZE_CURSOR ' == NE_RESIZE_CURSOR
Case vbSizeNS:         VBMousePointerToJCursor = N_RESIZE_CURSOR  ' == S_RESIZE_CURSOR
Case vbSizeNWSE:       VBMousePointerToJCursor = SE_RESIZE_CURSOR ' == NW_RESIZE_CURSOR
Case vbSizeWE:         VBMousePointerToJCursor  = E_RESIZE_CURSOR ' == W_RESIZE_CURSOR


You can also see it omnline at:
http://code.google.com/p/jabacoframework…Global.jsrc#669

This makes it on windows compatible to VB6, but it isn't platformindependent.
Because that SW_RESIZE_CURSOR is the same like NE_RESIZE_CURSOR and so on is only true on Windows.
In Linux and Unix the mouse cursors are all different.

Have a look at the small self-drawn image as attachment.

The gray part is the window and then around there the mouse-cursors how the look like on Windows and how they look like on Linux/Unix.
Trying out Knoppix 6.3, which is at the current german LinuxMagazin, there you can see the Linux/Unix MouseCursors, too.
theuserbl has attached the following image:
  • MouseCursor.PNG

Rate this thread
WoltLab Burning Board