🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2556

Re: Changing the mouse arrow

#2556
From: Chris Marriott
Date: Wed, 06 Jan 1993 20:30
27 lines
1651 bytes
In article <1993Jan6.152604.9593@midway.uchicago.edu> epc1@midway.uchicago.edu writes:

>
>I would like to change the mouse arrow in my application to an hourglass
>or a clock when it's performing a long, cpu intensive calculation in order
>to reassure the user that something is still occuring.  
>
>Does anyone know where I can get a public domain pixmap of a hourglass
>or a clock for such an effort?
>
>Thanks.
>

You don't need one - Windows provides one for you!  Just say:

    HCURSOR hHourGlass = LoadCursor( NULL, IDC_WAIT );

and use that.  Refer to the documentation of the "LoadCursor" function for
a list of all the standard cursors which Windows provides.
-- 
--------------------------------------------------------------------------
| Chris Marriott                           | chris@chrism.demon.co.uk    |
| Warrington, UK                           | BIX: cmarriott              |
| (Still awaiting inspiration              | CIX: cmarriott              |
|  for a witty .sig .... )                 | CompuServe: 100113,1140     |
--------------------------------------------------------------------------
 
Technical Details
Message-ID: <726352226snz@chrism.demon.co.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!demon!chrism.demon.co.uk!chris
References: <1993Jan6.152604.9593@midway.uchicago.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc
From: chris@chrism.demon.co.uk (Chris Marriott)
Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!demon!chrism.demon.co.uk!chris
Subject: Re: Changing the mouse arrow 
Distribution: world
References: <1993Jan6.152604.9593@midway.uchicago.edu>
Organization: None
Reply-To: chris@chrism.demon.co.uk
X-Mailer: Simple NEWS 1.90 (ka9q DIS 1.19)
Lines: 27
Date: Wed, 6 Jan 1993 20:30:26 +0000
Message-ID: <726352226snz@chrism.demon.co.uk>
Sender: usenet@demon.co.uk