Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

winhyperlinks.h

Go to the documentation of this file.
00001 // winhyperlinks.h
00002 //
00003 // Copyright (C) 2003, Chris Laurel <claurel@shatters.net>
00004 //
00005 // Code to convert a static control to a hyperlink.
00006 //
00007 // This program is free software; you can redistribute it and/or
00008 // modify it under the terms of the GNU General Public License
00009 // as published by the Free Software Foundation; either version 2
00010 // of the License, or (at your option) any later version.
00011 
00012 #ifndef _CELESTIA_WINHYPERLINKS_H_
00013 #define _CELESTIA_WINHYPERLINKS_H_
00014 
00015 #include <windows.h>
00016 
00017 // The following preprocessor command is included to avoid compiling for
00018 // WINVER >= 0x0500. We would like to be able to use the hand icon for
00019 // clicking hyperlinks but the resource was not available until
00020 // WINVER >= 0x0500. We will try to use this resource anyway. If it cannot
00021 // be loaded, we will default to the standard arrow cursor.
00022 #define IDC_HAND            MAKEINTRESOURCE(32649)
00023 
00024 BOOL MakeHyperlinkFromStaticCtrl(HWND hDlg, UINT ctrlID);
00025 
00026 #endif

Generated on Sat Jan 14 22:30:31 2006 for Celestia by  doxygen 1.4.1