Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Set Pointer ?

0 views
Skip to first unread message

''John''

unread,
Nov 27, 2001, 11:10:10 AM11/27/01
to
Dear all,

We have c/s application. The server processes records, our customer wants
to see which record is being processed from the client side.

So far , so good ...

We have a datawindow on a window with a timer event , it's being update
every second. Problem is the pointer (hourglass) is every time shown when
there's an update done on the dw. Is there a way to put the pointer off ?
The datawindow at runtime is now flashy and everytime the pointer =
hourglass , then no pointer , hourglass ,no pointer ... it's kinda
irritating.

Any solutions ? Idea's ?

TIA
John

''John''

unread,
Nov 27, 2001, 11:51:30 AM11/27/01
to
Thankks for your reply ....

That's an example to avoid the cursor from changing ... i am looking for an
example where i turn the pointer off , so no pointer.

Philip_Salgannik

unread,
Nov 27, 2001, 11:43:23 AM11/27/01
to

Philip_Salgannik

unread,
Nov 27, 2001, 2:52:54 PM11/27/01
to
I doubt that you really want to do that. You want your users complain that
your rogue application disables the mouse on their computer?

''John''

unread,
Nov 28, 2001, 6:22:42 AM11/28/01
to
No, that's not what i want ... i have a datawindow which is being update
every second ... every second the hourglass appears and then dissappears ,
appears again ,dissappears again.... I just want the pointer for this
certain window to be deleted. I just want a window that is being updated
every second without seeing every second this hourglass thingy ...

Maciej Sawicki

unread,
Nov 28, 2001, 7:54:01 AM11/28/01
to

I dont' think you will be able to (you can try putting
SetPointer(Arrow!) in update start event but I don't think it will help)
Probably the best way would be to run this update in a seperate thread
(created with SharedObjectRegister/SharedObjectGet).
This will eliminate Hourglass problem, and will allow you to do other
things while the application is running.

Maciek.

Deanna

unread,
Nov 28, 2001, 3:36:39 PM11/28/01
to
Not sure if this will help but this is what we did to get rid of the
flickering hour glass.

Pointer lpt_OriginalPointer

lpt_OriginalPointer = SetPointer( lpt_OriginalPointer )

SetCapture( handle( name of window goes here ) )

at the end of the code you are running put:

ReleaseCapture()

SetPointer( lpt_OriginalPointer )

Function boolean ReleaseCapture() LIBRARY "user32.dll"
Function ulong SetCapture(ulong a) LIBRARY "user32.dll"

"Maciej Sawicki" <Maciej....@mobileis.com.pl> wrote in message
news:3C04DE69...@mobileis.com.pl...

Nico

unread,
Nov 30, 2001, 10:24:07 AM11/30/01
to
Set the position of the pointer to the right-hand edge of your application
at the open event of the window.
0 new messages