hyperlink.h

来自「VC++三次样条插值和贝塞尔曲线」· C头文件 代码 · 共 60 行

H
60
字号
//HiperLink.H   
  #ifndef   __HYPERLINK_H__   
  #define   __HYPERLINK_H__   
    
  #if   _MSC_VER   >=   1000   
  #pragma   once   
  #endif   //   _MSC_VER   >=   1000   
    
  /////////////////////////////////////////////////////////////////////////////   
  //   CHyperLink   window   
    
  class      CHyperLink   :   public   CStatic   
  {   
	  //   Construction/destruction   
  public:   
	  CHyperLink();   
	  virtual   ~CHyperLink();   
	  //   Attributes   
  public:   
	  
	  //   Operations   
  public:   
	  BOOL   SetCursor(HCURSOR   hCursor);   
	  void   SetInfo(LPTSTR   sMailAddr,LPTSTR   sName);   
	  
	  //   Overrides   
	  //   ClassWizard   generated   virtual   function   overrides   
	  //{{AFX_VIRTUAL(CHyperLink)   
  protected:   
	  virtual   void   PreSubclassWindow();   
	  //}}AFX_VIRTUAL   
	  
	  //   Protected   attributes   
  protected:   
	  COLORREF   m_crLinkColour;   
	  COLORREF   m_crHoverColour;   
	  BOOL           m_bOverControl;   
	  HCURSOR     m_hLinkCursor;   
	  CFont           m_Font;   
	  CString     m_MailAddr;   
	  CString     m_ShowName;   
	  //   Generated   message   map   functions   
  protected:   
	  //{{AFX_MSG(CHyperLink)   
	  afx_msg   HBRUSH   CtlColor(CDC*   pDC,   UINT   nCtlColor);   
	  afx_msg   BOOL   OnSetCursor(CWnd*   pWnd,   UINT   nHitTest,   UINT   message);   
	  afx_msg   void   OnMouseMove(UINT   nFlags,   CPoint   point);   
	  //}}AFX_MSG   
	  afx_msg   void   OnClicked();   
	  DECLARE_MESSAGE_MAP()   
  };   
  
  /////////////////////////////////////////////////////////////////////////////   
  
  //{{AFX_INSERT_LOCATION}}   
  //   Microsoft   Developer   Studio   will   insert   additional   declarations   immediately   before   the   previous   line.   
  
#endif   
  

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?