青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

在VC中為應用程序添加圖形超鏈接功能

目前很多windows軟件的版權對話框中都設有超級鏈接,這些鏈接或提供公司網址,或提供電子郵件信箱,使操作者能夠非常方便地與公司和作者聯系,同時也為公司作了很好的宣傳。一般情況下,界面上某行文字下面有一行藍色的橫線,標志該字符串提供超鏈接功能,當用戶將鼠標移動到文字上時,鼠標變成手狀,如果用戶此時單擊鼠標,程序將啟動瀏覽器打開某個網頁或啟動OutLook讓用戶給指定的郵箱發送電子郵件。如果能在自己寫的軟件中實現這個功能,定會使程序大增光彩。本實例通過定義一個CmapHyperLink類實現了圖像的超鏈接功能

  一、 實現方法

  著名的CHyperLink類只能提供文字鏈接,不能用于圖形控件的超鏈接,于是本實例在其基礎上修改了一下,定義了一個CMapHyperLink類,該類現在只對圖形控件(picture control)生效。用戶可使用成員函數void SetURL(CString strURL)設置要訪問的互聯網地址,如SetURL("http://www.google.com");使用成員函數void SetTipText(CString strURL)設置超鏈接提示條(CToolTipCtrl)的文字內容,如果不在此設置,那就默認是您設置的URL地址,如SetTipText("歡迎訪問強大的google搜索");使用成員函數void SetLinkCursor(HCURSOR hCursor)設置鼠標在超鏈接狀態的圖標,默認是手型圖標。該類還提供了HCURSOR GetLinkCursor() const、void SetAutoSize(BOOL bAutoSize = TRUE)等成員函數,提供了一些相應的輔助功能,讀者朋友可以參考代碼部分。這里主要講述三個主要的問題:一是如何實現提示功能;二是在控件上如何改變鼠標的形狀,給用戶提供另外一種暗示-當前區域提供超鏈接功能;三是如何根據網頁或信箱地址啟動超鏈接功能。

  Visual C++提供了CCtoolTipCtrl類用來實現提示功能。工具提示控制是一個小窗口,在其中顯示單行文字用以描述應用程序中的工具的用途。這里的工具所指的既可以是窗口(如工具欄上的按鈕),也可以是一個固定的區域。大家都知道利用APPWIZARD生成 的應用程序中工具欄帶有提示,當你將鼠標放在工具欄某一個按鈕上時,將顯示一個小提示框告訴你按鈕的功能,這種功能方便了軟件的使用者。但是在超鏈接區如何實現提示呢?首先聲明一個CtoolTipCtrl類的變量,調用Create()成員函數創建通用工具提示,并將它附在CtoolTipCtrl對象上,然后調用CtoolTipCtrl類的AddToo()成員函數注冊工具提示控制,從而為光標放在規定的窗口或區域內時顯示工具提示做準備。該函數的原形為:

BOOL AddTool( CWnd* pWnd,LPCTSTR lpszText, LPCRECT lpRectTool,UINT nIDTOOL );

  其中參數pWnd為指向包含工具提示控制的窗口指針,參數lpszText為所要在工具提示中顯示的文字,參數lpRectTool為工具書提示所對應的窗口或規定區域,參數nIDTOOL為工具提示的標志號。

  在調用CtoolTipCtrl類的Active()函數激活提示后,最后要作的工作是調用CtoolTipCtrl類的RelayEvent()函數將鼠標的WM_LBUTTONDOWN、WM_MOUSEMOVE、WM_LBUTTONUP等消息傳遞給工具提示控制對象,以便控件進行提示處理。

  下面的代碼實現了在應用程序的視圖區顯示對應點的坐標為例:

//在文件頭定義的全局變量
CToolTipCtrl m_ToolTip;//工具提示對象
char string[50];//用來存放提示文字
CRect rect;//用來存放工具提示所對應的窗口的尺寸
#define IDC_CONST 12345//定義的工具提示標志號,注意不要和系統沖突
void CTestView::OnMouseMove(UINT nFlags, CPoint point)
{
 // TODO: Add your message handler code here and/or call default
 wsprintf(string,"%d,%d",point.x,point.y);
 GetClientRect(&recty);
 m_ToolTip.AddTool(this,string,&rect,IDC_CONST);
 m_ToolTip.Activate(TRUE);
 CView::OnMouseMove(nFlags, point);
}
 LRESULT CTestView::WindowProc(UINT message, WPARAM wParam, LPARAM lParam)
{
 // TODO: Add your specialized code here and/or call the base class
 switch(message)
  {case WM_LBUTTONDOWN:
   case WM_RBUTTONDOWN:
   case WM_MBUTTONDOWN:
   case WM_LBUTTONUP:
   case WM_MBUTTONUP:
   case WM_RBUTTONUP:
   case WM_MOUSEMOVE:
   {MSG msg;
    msg.hwnd=m_hWnd;
    msg.message=message;
    msg.wParam=wParam;
    msg.lParam=lParam;
    m_ToolTip.RelayEvent(&msg);
   }
  }
  return CView::WindowProc(message, wParam, lParam);
}

  如果用戶想動態的改變提示字符串,可以調用CtoolTipCtrl類的成員函數UpdateTipText()來實現,該函數的原型為:

void UpdateTipText( LPCTSTR lpszText, CWnd* pWnd, UINT nIDTool = 0 );

  該函數的參數的含義與成員函數AddTool()的參數的含義大同小異,這里不再贅述。

  對于超鏈接來說,一般會在超鏈接區域改變鼠標的形狀,顯示手狀的鼠標,提示這是一個超鏈接區域。當然可以在程序中添加一個手狀的光標資源,然后使用LoadCursor()函數等加載,這種方法對廣大讀者朋友一定是耳熟能詳了,所以為了擴大讀者朋友的編程思路,這里介紹一種從Windows的winhlp32.exe文件中加載光標資源,代碼如下:

void CMapHyperLink::SetDefaultCursor()
{
 if (m_hLinkCursor == NULL) // No cursor handle - load our own
 {
  // Get the windows directory
  CString strWndDir;
  GetWindowsDirectory(strWndDir.GetBuffer(MAX_PATH), MAX_PATH);
  strWndDir.ReleaseBuffer();
  strWndDir += _T("\winhlp32.exe");
  // This retrieves cursor #106 from winhlp32.exe, which is a hand pointer
  HMODULE hModule = LoadLibrary(strWndDir);
  if (hModule) {
   HCURSOR hHandCursor = ::LoadCursor(hModule, MAKEINTRESOURCE(106));
   if (hHandCursor)
    m_hLinkCursor = CopyCursor(hHandCursor);
  }
  FreeLibrary(hModule);
 }
}

  為了根據網頁或信箱地址實現超鏈接功能,需要用到一個WINDOWS API函數ShellExecute(),其原型為:

HINSTANCE ShellExecute(
 HWND hwnd, //窗口句柄
 LPCTSTR lpOperation, //操作類型
 LPCTSTR lpFile, //文件指針
 LPCTSTR lpParameters, //文件可帶的參數
 LPCTSTR lpDirectory, //缺省目錄
 INT nShowCmd //顯示方式
);

  ShellExecute()函數用于打開或執行一個文件,在調用此函數時只須指定要打開或執行的文件名,而不必管用什么程序去打開或執行文件,WINDOWS會自動根據要打開或執行的文件去判斷該如何執行文件或用什么程序去打開文件。函數中的參數lpOperation說明所要執行的操作,該值可以設置為"Open"、"Print"、"Explore",分別用來進行"打開"、"打印"、"瀏覽"操作。下面給出了ShellExecute()函數的一些使用方法:

  (1)打開一個應用程序:

ShellExecute(this->m_hWnd,"open","calc.exe","","", SW_SHOW );

ShellExecute(this->m_hWnd,"open","notepad.exe", "c:\MyLog.log","",SW_SHOW );

  (2)打開一個同系統程序相關連的文檔

ShellExecute(this->m_hWnd,"open", "c:\abc.txt","","",SW_SHOW );

  (3)打開一個網頁

ShellExecute(this->m_hWnd,"open", " http://www.google.com","","",/ SW_SHOW );

  (4)激活相關程序,發送EMAIL

ShellExecute(this->m_hWnd,"open","mailto:nishinapp@yahoo.com","","", W_SHOW );

  (5)用系統打印機打印文檔

ShellExecute(this->m_hWnd,"print", "c:\abc.txt","","", SW_HIDE);

  (6)用系統查找功能來查找指定文件

ShellExecute(m_hWnd,"find","d:\nish", NULL,NULL,SW_SHOW);

  (7)啟動一個程序,直到它運行結束

SHELLEXECUTEINFO ShExecInfo = {0};
ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);
ShExecInfo.fMask = SEE_MASK_NOCLOSEPROCESS;
ShExecInfo.hwnd = NULL;
ShExecInfo.lpVerb = NULL;
ShExecInfo.lpFile = "c:\MyProgram.exe";
ShExecInfo.lpParameters = "";
ShExecInfo.lpDirectory = NULL;
ShExecInfo.nShow = SW_SHOW;
ShExecInfo.hInstApp = NULL;
ShellExecuteEx(&ShExecInfo);
WaitForSingleObject(ShExecInfo.hProcess,INFINITE);
或:
PROCESS_INFORMATION ProcessInfo;
STARTUPINFO StartupInfo; //This is an [in] parameter
ZeroMemory(&StartupInfo, sizeof(StartupInfo));
StartupInfo.cb = sizeof StartupInfo ; //Only compulsory field
if(CreateProcess("c:\winnt\notepad.exe", NULL,
NULL,NULL,FALSE,0,NULL,
NULL,&StartupInfo,&ProcessInfo))
{
 WaitForSingleObject(ProcessInfo.hProcess,INFINITE);
 CloseHandle(ProcessInfo.hThread);
 CloseHandle(ProcessInfo.hProcess);
}
else
{
 MessageBox("The process could not be started...");
}

  (8)顯示文件或文件夾的屬性

SHELLEXECUTEINFO ShExecInfo ={0};
ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);
ShExecInfo.fMask = SEE_MASK_INVOKEIDLIST ;
ShExecInfo.hwnd = NULL;
ShExecInfo.lpVerb = "properties";
ShExecInfo.lpFile = "c:"; //can be a file as well
ShExecInfo.lpParameters = "";
ShExecInfo.lpDirectory = NULL;
ShExecInfo.nShow = SW_SHOW;
ShExecInfo.hInstApp = NULL;
ShellExecuteEx(&ShExecInfo);

  Windows還提供了一個與ShellExecuteEx()函數相類似的函數WinExec(),它相對于ShellExecuteEx()來說更簡單易用,只是功能沒有它強大而已,具體使用方法讀者朋友自行參閱MSDN。

  二、編程步驟

  l、啟動Visual C++6.0,生成一個基于對話框的應用程序,將該程序命名為"Test";

  2、在對話框上放置一個靜態控件,并顯示一幅圖象;

  3、使用Class Wizard為應用程序添加一個CMapHyperLink類,其基類為CStatic;

  4、在對話框中添加一個CmapHyperLink類對象m_MapHyperLink1;

  5、添加代碼,編譯運行程序。


  三、程序代碼

/////////////////////////////////////////////////////////////////////////
//MapHyperLink.h , MapHyperLink.cpp
#if !defined(AFX_HYPERLINK_H__D1625061_574B_11D1_ABBA_00A0243D1382__INCLUDED_)
#define AFX_HYPERLINK_H__D1625061_574B_11D1_ABBA_00A0243D1382__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

// CHyperLink window
class CMapHyperLink : public CStatic
{
 // Construction/destruction
 public:
  CMapHyperLink();
  virtual ~CMapHyperLink();
 public:
  void SetURL(CString strURL);
  CString GetURL() const;
  void SetTipText(CString strURL);
  CString GetTipText() const;
  void SetVisited(BOOL bVisited = TRUE);
  BOOL GetVisited() const;
  void SetLinkCursor(HCURSOR hCursor);
  HCURSOR GetLinkCursor() const;
  void SetAutoSize(BOOL bAutoSize = TRUE);
  BOOL GetAutoSize() const;
  // Overrides
  // ClassWizard generated virtual function overrides
  //{{AFX_VIRTUAL(CHyperLink)
   public:
    virtual BOOL PreTranslateMessage(MSG* pMsg);
   protected:
    virtual void PreSubclassWindow();
  //}}AFX_VIRTUAL
  // Implementation
 protected:
  HINSTANCE GotoURL(LPCTSTR url, int showcmd);
  void ReportError(int nError);
  LONG GetRegKey(HKEY key, LPCTSTR subkey, LPTSTR retdata);
  void PositionWindow();
  void SetDefaultCursor();
  // Protected attributes
 protected:
  BOOL m_bOverControl; // cursor over control?
  BOOL m_bVisited; // Has it been visited?
  BOOL m_bAdjustToFit; // Adjust window size to fit text?
  CString m_strURL; // hyperlink URL
  CString m_strTipText; // TipTool control'' text
  HCURSOR m_hLinkCursor; // Cursor for hyperlink
  CToolTipCtrl m_ToolTip; // The tooltip
 protected: // Generated message map functions
  //{{AFX_MSG(CHyperLink)
   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()
};
#endif

///////////////////////////////////////////////////////////// MapHyperLink.cpp
#include "stdafx.h"
#include "MapHyperLink.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
#define TOOLTIP_ID 1

CMapHyperLink::CMapHyperLink()
{
 m_hLinkCursor = NULL; // No cursor as yet
 m_bOverControl = FALSE; // Cursor not yet over control
 m_bVisited = FALSE; // Hasn''t been visited yet.
 m_bAdjustToFit = TRUE; // Resize the window to fit the text?
 m_strURL.Empty();
 m_strTipText.Empty();
}

CMapHyperLink::~CMapHyperLink()
{}

BEGIN_MESSAGE_MAP(CMapHyperLink, CStatic)
//{{AFX_MSG_MAP(CMapHyperLink)
 ON_CONTROL_REFLECT(STN_CLICKED, OnClicked)
 ON_WM_SETCURSOR()
 ON_WM_MOUSEMOVE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

// CMapHyperLink message handlers
BOOL CMapHyperLink::PreTranslateMessage(MSG* pMsg)
{
 m_ToolTip.RelayEvent(pMsg);
 return CStatic::PreTranslateMessage(pMsg);
}

void CMapHyperLink::OnClicked()
{
 int result = (int)GotoURL(m_strURL, SW_SHOW);
 m_bVisited = (result > HINSTANCE_ERROR);
 if (!m_bVisited) {
  MessageBeep(MB_ICONEXCLAMATION); // Unable to follow link
  ReportError(result);
 } else
 SetVisited(); // Repaint to show visited colour
}

void CMapHyperLink::OnMouseMove(UINT nFlags, CPoint point)
{
 CStatic::OnMouseMove(nFlags, point);
 if (m_bOverControl) // Cursor is currently over control
 {
  CRect rect;
  GetClientRect(rect);
  if (!rect.PtInRect(point))
  {
   m_bOverControl = FALSE;
   ReleaseCapture();
   RedrawWindow();
   return;
  }
 }
 else // Cursor has just moved over control
 {
  m_bOverControl = TRUE;
  RedrawWindow();
  SetCapture();
 }
}

BOOL CMapHyperLink::OnSetCursor(CWnd* /*pWnd*/, UINT /*nHitTest*/, UINT /*message*/)
{
 if (m_hLinkCursor)
 {
  ::SetCursor(m_hLinkCursor);
  return TRUE;
 }
 return FALSE;
}

void CMapHyperLink::PreSubclassWindow()
{
 // We want to get mouse clicks via STN_CLICKED
 DWORD dwStyle = GetStyle();
 ::SetWindowLong(GetSafeHwnd(), GWL_STYLE, dwStyle | SS_NOTIFY);
 SetDefaultCursor(); // Try and load up a "hand" cursor
 // Create the tooltip
 CRect rect;
 GetClientRect(rect);
 m_ToolTip.Create(this);
 if (m_strTipText.IsEmpty())
 {
  m_strTipText = m_strURL;
 }
 m_ToolTip.AddTool(this, m_strTipText, rect, TOOLTIP_ID);
 CStatic::PreSubclassWindow();
}

////////////////////////////////////////////// CMapHyperLink operations
void CMapHyperLink::SetURL(CString strURL)
{
 m_strURL = strURL;
 if (::IsWindow(GetSafeHwnd())) {
  PositionWindow();
  if (m_strTipText.IsEmpty())
  {
   m_strTipText = strURL;
  }
  m_ToolTip.UpdateTipText(m_strTipText, this, TOOLTIP_ID);
 }
}

CString CMapHyperLink::GetURL() const
{
 return m_strURL;
}

void CMapHyperLink::SetTipText(CString strTipText)
{
 m_strTipText = strTipText;
 if (::IsWindow(GetSafeHwnd())) {
  PositionWindow();
  m_ToolTip.UpdateTipText(m_strTipText, this, TOOLTIP_ID);
 }
}

CString CMapHyperLink::GetTipText() const
{
 return m_strTipText;
}

void CMapHyperLink::SetVisited(BOOL bVisited /* = TRUE */)
{
 m_bVisited = bVisited;
 if (::IsWindow(GetSafeHwnd()))
  Invalidate();
}

BOOL CMapHyperLink::GetVisited() const
{
 return m_bVisited;
}

void CMapHyperLink::SetLinkCursor(HCURSOR hCursor)
{
 m_hLinkCursor = hCursor;
 if (m_hLinkCursor == NULL)
  SetDefaultCursor();
}

HCURSOR CMapHyperLink::GetLinkCursor() const
{
 return m_hLinkCursor;
}

void CMapHyperLink::SetAutoSize(BOOL bAutoSize /* = TRUE */)
{
 m_bAdjustToFit = bAutoSize;
 if (::IsWindow(GetSafeHwnd()))
  PositionWindow();
}

BOOL CMapHyperLink::GetAutoSize() const
{
 return m_bAdjustToFit;
}

// Move and resize the window so that the window is the same size
void CMapHyperLink::PositionWindow()
{
 if (!::IsWindow(GetSafeHwnd()) || !m_bAdjustToFit)
  return;
 // Get the current window position
 CRect rect;
 GetWindowRect(rect);
 CWnd* pParent = GetParent();
 if (pParent)
  pParent->ScreenToClient(rect);
 CRect rectMap;
 GetClientRect(rectMap);
 // Get the text justification via the window style
 DWORD dwStyle = GetStyle();
 // Recalc the window size and position based on the text justification
 if (dwStyle & SS_CENTERIMAGE)
  rect.DeflateRect(0, (rect.Height() - rectMap.Height())/2);
 else
  rect.bottom = rect.top + rectMap.Height();
  if (dwStyle & SS_CENTER)
   rect.DeflateRect((rect.Width() - rectMap.Width())/2, 0);
  else if (dwStyle & SS_RIGHT)
   rect.left = rect.right - rectMap.Width();
  else // SS_LEFT = 0, so we can''t test for it explicitly
   rect.right = rect.left + rectMap.Width();
   // Move the window
  SetWindowPos(NULL, rect.left, rect.top, rect.Width(), rect.Height(), SWP_NOZORDER);
}

/////////////////////////////////////////////////// CMapHyperLink implementation
void CMapHyperLink::SetDefaultCursor()
{
 if (m_hLinkCursor == NULL) // No cursor handle - load our own
 {
  // Get the windows directory
  CString strWndDir;
  GetWindowsDirectory(strWndDir.GetBuffer(MAX_PATH), MAX_PATH);
  strWndDir.ReleaseBuffer();
  strWndDir += _T("\winhlp32.exe");
  // This retrieves cursor #106 from winhlp32.exe, which is a hand pointer
  HMODULE hModule = LoadLibrary(strWndDir);
  if (hModule) {
   HCURSOR hHandCursor = ::LoadCursor(hModule, MAKEINTRESOURCE(106));
   if (hHandCursor)
    m_hLinkCursor = CopyCursor(hHandCursor);
  }
  FreeLibrary(hModule);
 }
}

LONG CMapHyperLink::GetRegKey(HKEY key, LPCTSTR subkey, LPTSTR retdata)
{
 HKEY hkey;
 LONG retval = RegOpenKeyEx(key, subkey, 0, KEY_QUERY_VALUE, &hkey);
 if (retval == ERROR_SUCCESS) {
  long datasize = MAX_PATH;
  TCHAR data[MAX_PATH];
  RegQueryValue(hkey, NULL, data, &datasize);
  lstrcpy(retdata,data);
  RegCloseKey(hkey);
 }
 return retval;
}

void CMapHyperLink::ReportError(int nError)
{
 CString str;
 switch (nError) {
  case 0:
   str = "The operating system is out\nof memory or resources."; break;
  case SE_ERR_PNF:
   str = "The specified path was not found."; break;
  case SE_ERR_FNF:
   str = "The specified file was not found."; break;
  case ERROR_BAD_FORMAT:
   str = "The .EXE file is invalid\n(non-Win32 .EXE or error in .EXE image)."; break;
  case SE_ERR_ACCESSDENIED:
   str = "The operating system denied\naccess to the specified file."; break;
  case SE_ERR_ASSOCINCOMPLETE:
   str = "The filename association is\nincomplete or invalid."; break;
  case SE_ERR_DDEBUSY:
   str = "The DDE transaction could not\nbe completed because other DDE transactions\nwere being processed."; break;
  case SE_ERR_DDEFAIL:
   str = "The DDE transaction failed."; break;
  case SE_ERR_DDETIMEOUT:
   str = "The DDE transaction could not\nbe completed because the request timed out."; break;
  case SE_ERR_DLLNOTFOUND:
   str = "The specified dynamic-link library was not found."; break;
  case SE_ERR_NOASSOC:
   str = "There is no application associated\nwith the given filename extension."; break;
  case SE_ERR_OOM:
   str = "There was not enough memory to complete the operation."; break;
  case SE_ERR_SHARE:
   str = "A sharing violation occurred. ";
  default:
   str.Format("Unknown Error (%d) occurred.", nError); break;
 }
 str = "Unable to open hyperlink:\n\n" + str;
 AfxMessageBox(str, MB_ICONEXCLAMATION | MB_OK);
}

HINSTANCE CMapHyperLink::GotoURL(LPCTSTR url, int showcmd)
{
 TCHAR key[MAX_PATH + MAX_PATH];
 // First try ShellExecute()
 HINSTANCE result = ShellExecute(NULL, _T("open"), url, NULL,NULL, showcmd);
 // If it failed, get the .htm regkey and lookup the program
 if ((UINT)result <= HINSTANCE_ERROR) {
  if (GetRegKey(HKEY_CLASSES_ROOT, _T(".htm"), key) == ERROR_SUCCESS) {
   lstrcat(key, _T("\shell\open\command"));
   if (GetRegKey(HKEY_CLASSES_ROOT,key,key) == ERROR_SUCCESS) {
    TCHAR *pos;
    pos = _tcsstr(key, _T(""%1""));
    if (pos == NULL) { // No quotes found
     pos = strstr(key, _T("%1")); // Check for %1, without quotes
     if (pos == NULL) // No parameter at all...
      pos = key+lstrlen(key)-1;
     else
      *pos = ''\0''; // Remove the parameter
    }
    else
     *pos = ''\0''; // Remove the parameter
     lstrcat(pos, _T(" "));
     lstrcat(pos, url);
     result = (HINSTANCE) WinExec(key,showcmd);
   }
  }
 }
 return result;
}
/////////////////////////////////////////////////////////////////////////////////////

BOOL CTestDlg::OnInitDialog()
{
 CDialog::OnInitDialog();
 // Set the icon for this dialog. The framework does this automatically
 // when the application''s main window is not a dialog
 SetIcon(m_hIcon, TRUE); // Set big icon
 SetIcon(m_hIcon, FALSE); // Set small icon
 //設置圖形的超鏈接
 m_MapHyperLink1.SetURL("www.yesky.com");
 m_MapHyperLink1.SetTipText("歡迎訪問天極網");
 // TODO: Add extra initialization here
 return TRUE; // return TRUE unless you set the focus to a control
}

  四、小結

  本實例通過介紹如何實現超鏈接功能,介紹了工具提示、動態地從可執行文件中加載圖標、使用外殼函數ShellExecute()等知識,甚至還包括注冊表的操作等內容,應該說雖然程序比較簡單,但包含的內容還是比較豐富的。最后,運行此程序,將在對話框上顯示"天極網"的首頁鏈接,在圖像上點鼠標左鍵后將自動進入天極網首頁,效果很理想。

posted on 2008-04-28 16:02 wrh 閱讀(567) 評論(0)  編輯 收藏 引用

導航

<2008年10月>
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678

統計

常用鏈接

留言簿(19)

隨筆檔案

文章檔案

收藏夾

搜索

最新評論

閱讀排行榜

評論排行榜

青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            久久黄色网页| 日韩视频在线观看免费| 亚洲一二三四区| 国产精品免费小视频| 亚洲欧美激情视频在线观看一区二区三区| 99国内精品久久久久久久软件| 欧美日韩不卡| 午夜视频一区| 久久午夜色播影院免费高清| 亚洲国产成人精品女人久久久| 欧美激情女人20p| 欧美日韩一区视频| 久久精品一区二区国产| 久久影视三级福利片| 一区二区三区www| 亚洲欧美国产制服动漫| 亚洲人成免费| 亚洲在线视频免费观看| 亚洲第一网站| 99精品热视频只有精品10| 国产一区二区在线免费观看| 欧美国产日韩免费| 国产精品亚洲成人| 亚洲国产精品悠悠久久琪琪| 欧美日韩精品一本二本三本| 久久久久久色| 欧美视频在线一区| 欧美国产亚洲精品久久久8v| 国产精品久久久久aaaa| 亚洲国产精品一区二区www| 国产欧美一区二区视频| 91久久久久久久久久久久久| 国产一区二区视频在线观看 | 一区一区视频| 亚洲视频一二区| 亚洲精品男同| 久久国产婷婷国产香蕉| 亚洲一区在线直播| 欧美成人一区二区三区| 久久久久久夜| 国产精品资源| 一区二区三区精品视频在线观看| 亚洲人成毛片在线播放| 久久精品女人的天堂av| 欧美一区国产二区| 国产精品成人国产乱一区| 亚洲第一视频网站| 在线播放中文字幕一区| 亚洲欧美一级二级三级| 亚洲欧美日韩成人高清在线一区| 欧美精品123区| 欧美激情区在线播放| 一区二区三区在线视频免费观看| 亚洲一级片在线观看| 亚洲系列中文字幕| 欧美三区美女| 一区二区日韩免费看| 夜夜嗨av一区二区三区中文字幕 | 亚洲精品久久久久久久久久久久久 | 亚洲国产毛片完整版| 久久久久久97三级| 老司机免费视频一区二区| 国模私拍一区二区三区| 欧美在线欧美在线| 久久久噜噜噜久久中文字免| 国产亚洲综合在线| 久久精品99国产精品酒店日本| 欧美中文字幕在线播放| 国产一区二区中文字幕免费看| 午夜一区不卡| 麻豆久久精品| 91久久精品一区二区别| 欧美激情导航| 这里只有视频精品| 欧美亚洲自偷自偷| 一区二区三区在线高清| 欧美成人免费va影院高清| 亚洲人体大胆视频| 亚洲综合色激情五月| 国产精品一区视频| 久久全国免费视频| 亚洲日本电影| 亚洲欧美日韩精品| 激情成人在线视频| 欧美高清视频| 亚洲一区二区三| 久久夜色精品国产噜噜av| 最新亚洲视频| 欧美午夜精品理论片a级按摩| 午夜国产一区| 欧美www视频在线观看| 一卡二卡3卡四卡高清精品视频| 国产精品美女久久久浪潮软件| 久久精品国产一区二区三| 亚洲国产视频一区| 欧美一区二视频| 亚洲精品久久| 国产一区二区三区四区hd| 欧美精品精品一区| 午夜免费在线观看精品视频| 欧美黄色大片网站| 午夜一区在线| 99re热这里只有精品视频| 国产一区二区高清视频| 欧美日韩国产在线播放| 久久久久久久一区二区| 日韩一级片网址| 欧美成人综合网站| 欧美一区二区精美| 正在播放欧美视频| 在线免费日韩片| 国产精品一区免费在线观看| 欧美—级在线免费片| 久久久久国产精品人| 亚洲调教视频在线观看| 亚洲国产欧美一区| 久久婷婷国产麻豆91天堂| 亚洲午夜一区二区| 亚洲精品国产精品久久清纯直播 | 91久久国产综合久久91精品网站| 国产精品久久久久久久久久ktv| 久久综合国产精品| 欧美一区国产一区| 亚洲一线二线三线久久久| 亚洲人成欧美中文字幕| 牛牛精品成人免费视频| 久久精品中文字幕一区二区三区| 亚洲欧美在线免费| 亚洲视频一区二区在线观看| 亚洲精品亚洲人成人网| 亚洲夫妻自拍| 在线看无码的免费网站| 极品日韩av| 韩日精品中文字幕| 国产又爽又黄的激情精品视频| 国产精品亚洲第一区在线暖暖韩国| 欧美日韩中文字幕精品| 欧美日韩一二三区| 欧美日韩亚洲一区二区三区在线观看 | 欧美不卡视频一区发布| 久久综合一区二区| 久久综合给合| 欧美大片91| 欧美剧在线观看| 欧美日韩一区二区三区在线视频| 欧美美女喷水视频| 欧美偷拍另类| 国产精品免费观看视频| 国产精品一区在线观看| 国产在线国偷精品产拍免费yy| 国产亚洲精品7777| 黄色精品一区| 亚洲精品视频啊美女在线直播| 99国产精品久久久久久久成人热| 日韩午夜三级在线| 亚洲综合色自拍一区| 久久se精品一区二区| 麻豆精品国产91久久久久久| 亚洲高清三级视频| 夜夜爽99久久国产综合精品女不卡 | 亚洲一区二区免费| 欧美在线播放| 欧美成人精品不卡视频在线观看 | 久久精品麻豆| 免费成人av在线看| 日韩视频免费观看高清完整版| 在线亚洲国产精品网站| 欧美影院久久久| 欧美 日韩 国产在线 | 欧美一区二区三区免费看 | aa国产精品| 欧美一级夜夜爽| 欧美电影免费| 国产精品午夜国产小视频| 亚洲福利精品| 亚洲欧美日韩国产| 欧美不卡高清| 亚洲一区精品电影| 六十路精品视频| 国产精品日本一区二区| 亚洲欧洲日产国产综合网| 亚洲欧美综合v| 亚洲动漫精品| 欧美一区二区精品| 欧美日韩一区二区国产| 一区二区亚洲精品国产| 亚洲欧美欧美一区二区三区| 欧美va天堂在线| 午夜精品视频在线观看| 欧美日韩免费观看一区| 在线成人性视频| 欧美尤物巨大精品爽| 日韩亚洲欧美一区| 另类图片国产| 国产视频一区免费看| 亚洲午夜免费福利视频| 亚洲国产高清高潮精品美女| 久久成人av少妇免费| 国产精品久久亚洲7777| 中文日韩在线|