[随书类]Dos6.0源代码

源代码在线查看: helpstub.c

软件大小: 19270 K
上传用户: ylchsj521
关键词: Dos 6.0 源代码
下载地址: 免注册下载 普通下载 VIP

相关代码

				/*
					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 
				
				#include 
				#include 
				#include 
				
				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;
					}
				
							

相关资源