Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MOUSE POINTER

Status
Not open for further replies.

JPG77

Programmer
Mar 22, 2002
27
FR
Hi,
Is it possible to easily hide or see the mouse pointer, for all the screen in my VFP application (Win 2000 - Tactil Plasma screen or standard screen)

... Without using a :

If ! WithMouse && Var .T. or .F. in main Prg
.SETALL("Mousepointer",13) on the 70 screen ...
ENDIF


Thanks in advance.
Jean-Paul
 
I'm not sure what you mean with "hide or see the mouse pointer", but is this what you want ?

Declare Integer ShowCursor in User32 Long lShow
ShowCursor(.F.) && hide cursor
ShowCursor(.F.) && show cursor

Regards

-- AirCon --
 
Sorry, press submit too soon

It should be this:
ShowCursor(.T.) && show cursor

-- AirCon --
 
Aircon,

Exactly what I needed.
Where is it possible to learn about the User32 function ?

Thanks for your prompt answer.
Jean-Paul
 
MSDN is the best place to learn Win32 API. Borland site also has it
For User32 follow this link:

-> User Interface Design & Development
-> Windows Management
-> Windows User Interface

Regards

-- AirCon --
 
Btw, you can also order the MSDN CD Library

-- AirCon --
 
JPG77

Where is it possible to learn about the User32 function ?

You can find many functions listed here (although half of the code samples are locked, and can only by viewed by paying members, there still some that are free -- for now):



Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Also, the MSDN library came with Visual Studio 6: Depending on your version of VFP, you probably have it, and might not have installed it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top