winhyperlinks.h
上传用户:center1979
上传日期:2022-07-26
资源大小:50633k
文件大小:1k
源码类别:

OpenGL

开发平台:

Visual C++

  1. // winhyperlinks.h
  2. //
  3. // Copyright (C) 2003, Chris Laurel <claurel@shatters.net>
  4. //
  5. // Code to convert a static control to a hyperlink.
  6. //
  7. // This program is free software; you can redistribute it and/or
  8. // modify it under the terms of the GNU General Public License
  9. // as published by the Free Software Foundation; either version 2
  10. // of the License, or (at your option) any later version.
  11. #ifndef _CELESTIA_WINHYPERLINKS_H_
  12. #define _CELESTIA_WINHYPERLINKS_H_
  13. #include <windows.h>
  14. // The following preprocessor command is included to avoid compiling for
  15. // WINVER >= 0x0500. We would like to be able to use the hand icon for
  16. // clicking hyperlinks but the resource was not available until
  17. // WINVER >= 0x0500. We will try to use this resource anyway. If it cannot
  18. // be loaded, we will default to the standard arrow cursor.
  19. #define IDC_HAND            MAKEINTRESOURCE(32649)
  20. BOOL MakeHyperlinkFromStaticCtrl(HWND hDlg, UINT ctrlID);
  21. #endif