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

📄 wpw_mfc_dialog_95.html

📁 VC programing
💻 HTML
字号:
<HTML>


<HR><A NAME=MFC_DIALOG_DISABLECLOSE>
Return to <a href="wpw_mfc_index.html#TOC">Table of Contents for this chapter</a><br> 
<H4>Subject: Disable ESC(close) in dialog box</H4><PRE>
In article <3rluo6$8co@erinews.ericsson.se>, ekabjm@eka.ericsson.se (Bjvrn Medin) says:
>
>one exception. I can not disable the ESC-key causing the program to close. I 
>have tried to filter the WM_CHAR and WM_SYSCHAR messages but with no success.
>How can this be done? (MSC 7.0 with MFC 1.0).

You are using MFC, so overload OnCancel() and return NULL.

yours Carl Verner Skou

***********************************************************
  What's mind? Doesn't matter. What's matter? Don't mind.
    cvs@psy.aau.dk            2:237/10.3 Cognitive Point
    Institute of Psychology, Aarhus University, Denmark	
</PRE> 
<HR><A NAME=MFC_DIALOG_TAB>
Return to <a href="wpw_mfc_index.html#TOC">Table of Contents for this chapter</a><br><I>Supported by </I><a href="ixf.html"><B>Interactive Cross Reference for Windows</A></B><br>
<H4>Subject: Where's that Tabbed Dialog in VC++ 1.5x?</H4><PRE>

olavt@ksedb.no (Olav Tollefsen) wrote:

>In article <DC10KB.39x@nntpa.cb.att.com>
>djs@abiss.smst290.att.com (David J. Straley) wrote:

>> 	Can anyone tell me how to make a Tabbed Dialog Box in VC++ 1.5x?  
>> I can't seem to find it.

Try:

   ftp.netnet.net  /pub/users/freeman/tabc10.zip

It's free.


---
Kent Tong
Freeman Installer ==> ftp.netnet.net /pub/users/freeman/finst22.zip
NT version        ==> fi22nt.zip


</PRE>

</HTML>

⌨️ 快捷键说明

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