⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 helpstub.c

📁 dos 1.0 其中包含quick basic源代码、内存管理himem emm386 发展历史
💻 C
字号:
/*
	COW : Character Oriented Windows

	helpstub.c : stub for help

	(included for applications that don't supply help)
	(for those that do, this module will not be included)
*/

#define COW
#include <cow.h>

#include <uevent.h>
#include <udialog.h>
#include <kkeyboar.h>

STATIC BOOL fInsideHelp = FALSE;


VOID FARPUBLIC
Help(hem, hid, pv, kk) 
WORD	hem;		/* help message */
WORD	hid;		/* help id */
VOID *	pv;		/* optional parameter */
WORD	kk;		/* key shift states */
	{
	Unreferenced(hem);
	Unreferenced(hid);
	Unreferenced(pv);

	if (fInsideHelp)
		return;		/* no recursive please */

	fInsideHelp = TRUE;
	MessageBox(
	   (kk & KK_SHIFT) ? "No Tutorial Available" : "No Help Available",
	   "(so leave me alone)", NULL, MB_OK);
	fInsideHelp = FALSE;
	}

⌨️ 快捷键说明

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