上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 63 下一页
摘要: AfxGetResourceHandle It returns An HINSTANCE handle where the default resources of the application are loaded. AfxSetResourceHandle Use this function to set the HINSTANCE handle that determines where ... 阅读全文
posted @ 2009-07-05 12:29 能巴 阅读(1473) 评论(0) 推荐(0)
摘要: For AfxLoadLibrary, and serving as the dll search rule: When no path is specified, the function searches for the file in the following sequence: The directory from which the application loaded. The c... 阅读全文
posted @ 2009-07-05 11:45 能巴 阅读(1071) 评论(0) 推荐(0)
摘要: It's so clear that there are three type dlls: regular dll, extension dll and non-MFC dll on windows. Below table from MSDN shows how to initialize it:Typically, your DLL has initialization code (such ... 阅读全文
posted @ 2009-07-05 11:18 能巴 阅读(313) 评论(0) 推荐(0)
摘要: [From CodeGuru: http://www.codeguru.com/cpp/w-d/dislog/ddxddv/article.php/c1997/]Enhacing CDialogBar with InitDialog and DDX Rating: Alger Pike (view profile) August 7, 1998 As you all know, the CDi... 阅读全文
posted @ 2009-05-30 00:35 能巴 阅读(672) 评论(0) 推荐(0)
摘要: [转载自: http://blog.csdn.net/franksunny/archive/2006/01/06/572357.aspx]一、创建DialogBar的派生类 首先,创建对话框资源:在对话框资源编辑器内生成一个Dialog资源,并将其风格(Style)属性必须设置为Child,不能设置为 Overlapped或Popup,否则运行肯定出错;至于边界属性必须选择None。其余属性也随用... 阅读全文
posted @ 2009-05-30 00:32 能巴 阅读(7256) 评论(0) 推荐(1)
摘要: One thing for sure is that in child class, only parent class's public and protected methods can be accessed.1. When to call CBase::func() ? In case you want to call a virtual function that is overridd... 阅读全文
posted @ 2009-05-29 17:14 能巴 阅读(229) 评论(0) 推荐(0)
摘要: [转自:http://blog.csdn.net/gxj1680/archive/2009/03/17/3998923.aspx]窗口消息概述: 所有的窗口消息的基本形式都是一样的,有3个部分:(1).一个无符号整数,包含消息的实际内容.(2)WPARAM,一个4字节整数.(3)LPARAM,一个4字节参数.无符号数是实际消息. 含MFC在内的任何WINDOWS程序的核心都是消息泵.消息泵是一个循... 阅读全文
posted @ 2009-05-28 14:20 能巴 阅读(1453) 评论(1) 推荐(0)
摘要: Model Dialog in Win32 c++ Creating modeldialog is veryeasy in MFC.It has neat class for dialog , CDialog. The DoModel functions of CDialog provides a way to appear model dialog. In Win32 thisis anoth... 阅读全文
posted @ 2009-05-28 13:17 能巴 阅读(1065) 评论(0) 推荐(0)
摘要: http://msdn.microsoft.com/en-us/library/aa383751(VS.85).aspx 阅读全文
posted @ 2009-05-26 21:01 能巴 阅读(166) 评论(0) 推荐(0)
摘要: In the place you plan to post message:a. If you are sure the WM_Command can be handled by view/document, you can directly call View::OnCmdMsg() or Doc::OnCmdMsg() to post the message;b. If you don't k... 阅读全文
posted @ 2009-05-21 13:33 能巴 阅读(1247) 评论(0) 推荐(0)
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 63 下一页