Update NEWS for 1.6.22
[pkg-k5-afs_openafs.git] / src / WINNT / client_exp / hourglass.h
blob30fcfbbded4b32f93dd65755173ba10acd56b009
1 /*
2 * Copyright 2000, International Business Machines Corporation and others.
3 * All Rights Reserved.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
8 */
10 #include <windows.h>
12 typedef class HOURGLASS
14 protected:
15 HCURSOR m_OldCursor;
17 public:
18 HOURGLASS (LPTSTR idCursor = IDC_WAIT)
20 m_OldCursor = GetCursor();
21 SetCursor (LoadCursor (NULL, idCursor));
24 virtual ~HOURGLASS (void)
26 SetCursor (m_OldCursor);
29 } HOURGLASS, *PHOURGLASS;