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

📄 index.htm

📁 关于vc的一本问题集,很不错的,有很多精采的问题
💻 HTM
📖 第 1 页 / 共 3 页
字号:
  target=fwkmain><FONT face=宋体 size=2>如何使用一个预定义的Windows光标</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index064.htm" 
  target=fwkmain><FONT face=宋体 size=2>如何确定当前屏幕分辨率</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index065.htm" 
  target=fwkmain><FONT face=宋体 size=2>如何检索原先的Task Manager应用程序使用的任务列表</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index066.htm" 
  target=fwkmain><FONT face=宋体 size=2>如何确定Windows和Windows系统目录</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index067.htm" 
  target=fwkmain><FONT face=宋体 size=2>在哪儿创建临文件</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index068.htm" 
  target=fwkmain><FONT face=宋体 size=2>如何访问桌面窗口</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index069.htm" 
  target=fwkmain><FONT face=宋体 size=2>我怎样才能建立一个等待光标? </FONT></A>
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index070.htm" 
  target=fwkmain><FONT face=宋体 size=2>我在MDI框架中有个 form 
  视窗。它有个取消按钮,我需要当用户按取消按钮时可关闭form视窗。我应该如何关闭该文档? </FONT></A>
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index071.htm" 
  target=fwkmain><FONT face=宋体 size=2>什么是COLORREF? 我该怎样用它? </FONT></A>
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index072.htm" 
  target=fwkmain><FONT face=宋体 
  size=2>我在我的程序中是了CDWordArray。我向它添加了约10,000个整数,这使得它变得非常非常慢。为什么会这么糟? </FONT></A>
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index073.htm" 
  target=fwkmain><FONT face=宋体 size=2>AppWizard所产生的STDAFX文件是干什么用的? </FONT></A>
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index074.htm" 
  target=fwkmain><FONT face=宋体 size=2>在我的程序的某些部分,我可以调用 MessageBox 
  函数来建立一个信息对话框,例如在视类中。但是,在其它部分我却不能,如文档类中。为什么?我怎样才能在我的应用程序类中建立一个信息对话框? 
</FONT></A>
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index075.htm" 
  target=fwkmain><FONT face=宋体 size=2>我该如何改变MDI框架窗口的子窗口的大小以使在窗口以一定的大小打开? 
  </FONT></A>
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index076.htm" 
  target=fwkmain><FONT face=宋体 size=2>我需要在我的程序中设置全局变量,以使文档中的所有类都能访问。我应该吧它放到哪儿? 
  </FONT></A>
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index077.htm" 
  target=fwkmain><FONT face=宋体 size=2>我听说MFC可以发现内存漏洞,我怎样使用该特性?</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index078.htm" 
  target=fwkmain><FONT face=宋体 size=2>我怎样才能在我的应用程序中循环浏览已经打开的文档? </FONT></A>
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index079.htm" 
  target=fwkmain><FONT face=宋体 size=2>我怎样才能在我的应用程序中循环浏览已经打开的视? </FONT></A>
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index080.htm" 
  target=fwkmain><FONT face=宋体 size=2>虚拟函数PreCreateWindow是干什么用的? </FONT></A>
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index081.htm" 
  target=fwkmain><FONT face=宋体 size=2>我应该怎样防止MFC在窗口标题栏上添加文档名?</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index082.htm" 
  target=fwkmain><FONT face=宋体 size=2>我应该怎样防止MFC在窗口标题栏上把文档名预置成应用程序名? </FONT></A>
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index083.htm" 
  target=fwkmain><FONT face=宋体 size=2>我应该如何改变视窗口的大小? </FONT></A>
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index084.htm" 
  target=fwkmain><FONT face=宋体 
  size=2>我有一无模式对话框。我怎样才能在窗口退出时删除CDialog对象?</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index085.htm" 
  target=fwkmain><FONT face=宋体 size=2>为什么把“delete 
  this”放在PostNcDestroy中而不是OnNcDestroy? </FONT></A>
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index086.htm" 
  target=fwkmain><FONT face=宋体 
  size=2>File菜单中的MRU列表是从哪儿来的?列表中的名字放在哪儿了?我怎样才能改变列表中项目的最大值?</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index087.htm" 
  target=fwkmain><FONT face=宋体 
  size=2>我在菜单中添加了新的项。但是,当我选该项时,在状态栏上没有出现任何提示信息。为什么?</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index088.htm" 
  target=fwkmain><FONT face=宋体 size=2>我怎样才能在应用程序的缺省系统菜单中加上一些东西? </FONT></A>
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index089.htm" 
  target=fwkmain><FONT face=宋体 size=2>我怎样才能使一个窗口具有“always on top”特性?</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index090.htm" 
  target=fwkmain><FONT face=宋体 
  size=2>我建立了一个对话框。但是当我显示该对话框时,第一个编辑框总是不能获得焦点,我必须单击它来使它获得焦点。我怎样才能使第一个编辑框在对话框打开时就获得焦点?</FONT></A> 

  <LI><A href="http://www.ourcode.net/vc/cywt/index/index091.htm" 
  target=fwkmain><FONT face=宋体 size=2>我要为我的form 
  view添加文档模板。我先建立了对话框模板,然后使用ClassWizard建立了基于CFormView的新类,它也是从CDocument继承来的。我还建立了相应的资源并在InitInstance中添加了新的文档模板。但是,当我试图运行该程序时,出现了Assertion信息。为什么?</FONT></A> 

  <LI><A href="http://www.ourcode.net/vc/cywt/index/index092.htm" 
  target=fwkmain><FONT face=宋体 
  size=2>我在一对话框中有一列表框,我需要tabbed列表框中的项目。但是,当我处理含有tab字符(用AddString添加的)的列表项时,tab被显示成小黑块而没有展开。哪儿出错了?</FONT></A> 

  <LI><A href="http://www.ourcode.net/vc/cywt/index/index093.htm" 
  target=fwkmain><FONT face=宋体 
  size=2>我建立了一个应用程序,并使用了CRecordset类。但是,当我运行该程序时,它试图要访问数据库,并给出“Internal 
  Application Error”对话框。我应该怎样做?</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index094.htm" 
  target=fwkmain><FONT face=宋体 
  size=2>我用ClassWizard建立了一个类。但是,我把名字取错了,我想把它从项目中删除,应该如何做?</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index095.htm" 
  target=fwkmain><FONT face=宋体 
  size=2>当我打开应用程序中的窗口时,我要传递该窗口的矩形尺寸。该矩形指定了窗口的外围大小,但是当我调用GetClientRect时,所得到的尺寸要比所希望的值要小(因为工具栏和窗口边框的缘故)。有其它方法来计算窗口的尺寸吗?</FONT></A> 

  <LI><A href="http://www.ourcode.net/vc/cywt/index/index096.htm" 
  target=fwkmain><FONT face=宋体 
  size=2>我在文档类中设置了一个整型变量。但是,当我试图把该变量写入Serialize函数中的archive文件中时,出现了类型错误。而文档中的其它变量没有问题。为什么? 
  </FONT></A>
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index097.htm" 
  target=fwkmain><FONT face=宋体 size=2>如何控制菜单的大小?</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index098.htm" 
  target=fwkmain><FONT face=宋体 size=2>改变LVIS_SELECTED的状态颜色?</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index099.htm" 
  target=fwkmain><FONT face=宋体 size=2>如何只存储文档的某一部分?</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index100.htm" 
  target=fwkmain><FONT face=宋体 size=2>保存工具条菜单有bug吗?</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index101.htm" 
  target=fwkmain><FONT face=宋体 size=2>Tip of the day的bug</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index102.htm" 
  target=fwkmain><FONT face=宋体 size=2>如何让我的mfc应用程序可以在最上面?</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index103.htm" 
  target=fwkmain><FONT face=宋体 size=2>如何控制窗口框架的最大最小尺寸?</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index104.htm" 
  target=fwkmain><FONT face=宋体 size=2>如何改变窗口框架的颜色?</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index105.htm" 
  target=fwkmain><FONT face=宋体 size=2>如何将应用程序窗口置于屏幕正中?</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index106.htm" 
  target=fwkmain><FONT face=宋体 size=2>当文档被修改时,如何在标题上加上标志'*'?</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index107.htm" 
  target=fwkmain><FONT face=宋体 size=2>VC6.0对VC5.0的兼容性?</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index108.htm" 
  target=fwkmain><FONT face=宋体 size=2>打印和打印机的问题?</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index109.htm" 
  target=fwkmain><FONT face=宋体 size=2>CRichEditCtrl滚动条的问题?</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index110.htm" 
  target=fwkmain><FONT face=宋体 size=2>从数据库中读大于32k的内容?</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index111.htm" 
  target=fwkmain><FONT face=宋体 size=2>如何获得CRichEditCtrl中字符的位置?</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index112.htm" 
  target=fwkmain><FONT face=宋体 size=2>如何限制mdi子框架最大化时的大小?</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index113.htm" 
  target=fwkmain><FONT face=宋体 size=2>如何切换视口而不破坏它们?</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index114.htm" 
  target=fwkmain><FONT face=宋体 size=2>改变列表控制时发生闪烁现象?</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index115.htm" 
  target=fwkmain><FONT face=宋体 size=2>处理列表控件可见项的问题?</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index116.htm" 
  target=fwkmain><FONT face=宋体 size=2>产生线程的问题?</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index117.htm" 
  target=fwkmain><FONT face=宋体 size=2>CFile使用了缓冲区吗?</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index118.htm" 
  target=fwkmain><FONT face=宋体 size=2>DAO的密码?</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index119.htm" 
  target=fwkmain><FONT face=宋体 size=2>如何知道CListBox什么时候滚动了?</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index120.htm" 
  target=fwkmain><FONT face=宋体 size=2>视口的不活动性如何处理?</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index121.htm" 
  target=fwkmain><FONT face=宋体 size=2>如何使用COleClientItem的IDispatch接口?</FONT></A> 

  <LI><A href="http://www.ourcode.net/vc/cywt/index/index122.htm" 
  target=fwkmain><FONT face=宋体 size=2>关于用户自定义的消息使用?</FONT></A> 
  <LI><A href="http://www.ourcode.net/vc/cywt/index/index123.htm" 
  target=fwkmain><FONT face=宋体 size=2>在打开一个文档时退出?</FONT></A> 

⌨️ 快捷键说明

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