hyperlink.cpp

来自「在网上搜集的一些关于6502的资料,在win2000下调试通过了,有vb也有vc」· C++ 代码 · 共 23 行

CPP
23
字号
////////////////////////////////////////////////////////////////
// 1998 Microsoft Systems Journal
// If this code works, it was written by Paul DiLascia.
// If not, I don't know who wrote it.
//
#include "StdAfx.h"
#include "HyperLink.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

//////////////////
// Navigate link -- ie, execute the file
// Returns instance handle of app run, or error code (just like ShellExecute)
//
HINSTANCE CHyperlink::Navigate()
{
  return IsEmpty() ? NULL : ShellExecute(0, _T("open"), *this, 0, 0, SW_SHOWNORMAL);
}

⌨️ 快捷键说明

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