CSDN首页 空间 新闻 论坛 Blog 下载 读书 网摘 搜索 .NET Java 视频 接项目 求职 在线学习 买书 程序员 通知
不看会后悔的Windows XP之经验谈 简单快捷DIY实用家庭影院
CSDN社区
搜索 收藏 打印 关闭
CSDN社区 >  VC/MFC >  进程/线程/DLL

为何dll的对话框的tab不起作用?

楼主sstower(幽幽)2006-12-01 19:02:35 在 VC/MFC / 进程/线程/DLL 提问

如题! 问题点数:100、回复次数:5Top

1 楼yjgx007(还不结帖?!听妈妈的话! http://www.geekclaw.com)回复于 2006-12-02 23:07:02 得分 0

By   default,   MFC   uses   the   resource   handle   of   the   main   application   to   load   the   resource   template.   If   you   have   an   exported   function   in   a   DLL,   such   as   one   that   launches   a   dialog   box   in   the   DLL,   this   template   is   actually   stored   in   the   DLL   module.   You   need   to   switch   the   module   state   for   the   correct   handle   to   be   used.   You   can   do   this   by   adding   the   following   code   to   the   beginning   of   the   function:  
   
  AFX_MANAGE_STATE(AfxGetStaticModuleState(   ));  
   
  Top

2 楼answermyquestion(昨晚我做梦了)回复于 2006-12-03 19:10:03 得分 0

问题没型懂,倒底是在对话框中按tab键无法将焦点移到其它控件上还是怎么着,若是那样的话检查对话框控件的Tab   order或者Tab   stop属性,使用Ctrl+D应该可以看各控件顺序Top

3 楼LiChenYue(卐)(李忱悦)(怎堪蔑拒?鳄泪横流㊣暗恋未遂!独孤求偶)(卐)回复于 2007-01-26 20:21:33 得分 0

很久没蹭分了,蹭一下。Top

4 楼DentistryDoctor(不在无聊中无奈,就在沉默中变态)回复于 2007-01-26 21:11:14 得分 0

什么叫不起作用?Top

5 楼Juchiyufei(三更半夜我送你回家.总统也许我做不到.今生难得的遇见你,我们就应该在一起.....)回复于 2007-02-12 19:56:09 得分 0

你直接建MFC扩展DLL,再加进去就可以了.  
   
  什么叫不起作用?  
   
  Top

相关问题

关键词

得分解答快速导航

  • 帖主:sstower

相关链接

  • Visual C++类图书
  • Visual C++类源码下载

广告也精彩

反馈

请通过下述方式给我们反馈
反馈
提问
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|问题报告
北京创新乐知广告有限公司 版权所有, 京 ICP 证 070598 号
世纪乐知(北京)网络技术有限公司 提供技术支持
Copyright © 2000-2008, CSDN.NET, All Rights Reserved
GongshangLogo