登录
首页 » Windows开发 » 如果你用 MFC 编写过多文档界面(MDI)Windows 程序,那么肯定知道:如果父窗口标题为“PCaption”,子窗口标题为“CCaption”,那么每当...

如果你用 MFC 编写过多文档界面(MDI)Windows 程序,那么肯定知道:如果父窗口标题为“PCaption”,子窗口标题为“CCaption”,那么每当...

于 2023-02-19 发布 文件大小:26.58 kB
0 176
下载积分: 2 下载次数: 1

代码说明:

如果你用 MFC 编写过多文档界面(MDI)Windows 程序,那么肯定知道:如果父窗口标题为“PCaption”,子窗口标题为“CCaption”,那么每当子窗口最大化并处于激活状态时,子窗口标题一般都会与父窗口标题合二为一,变成“PCaption-[CCaption]”。 这是一种 MDI 的默认行为。用 C# 编写多文档界面程序也不例外。很多用户都不喜欢这种缺省特性,往往想用定制的窗口标题取而代之。该例子示范如何在C#程序中定制和修改MDI应用的窗口标题。-If you use MFC prepared excessive document interface (MDI) Windows procedures, Well know for sure : If the father window entitled "PCaption" Subwindow entitled "CCaption," then maximize the window whenever son was in a state of activation, Subwindow heading generally patriarchal heading into one window, become "PCaption-[CCaption]." This is a MDI default behavior. C# prepared multi-document interface procedures are no exception. Many users do not like this default characteristics are often customized to use the title of the window replaced. The examples demonstrate how C# procedures customization and modification of MDI application"s window title.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 操作系统的 自己一看就知道
    操作系统的 自己一看就知道-its own operating system a person would know
    2022-09-26 00:50:03下载
    积分:1
  • 快速CRC校验源码
    快速CRC校验源码-Fast CRC FOSS
    2022-02-01 22:52:06下载
    积分:1
  • 特征码定位器可以根据机器码找到代码所在的内存地址,是定位CALL的好工具...
    特征码定位器可以根据机器码找到代码所在的内存地址,是定位CALL的好工具-Signature locator can be found under the binary code where the memory address is the better instrument positioning CALL
    2022-07-17 08:42:10下载
    积分:1
  • 一个Chart控件的例子
    一个Chart控件的例子-Example of a Chart control
    2022-08-22 13:16:41下载
    积分:1
  • 把快捷方式的文件的路径,使用IShellLink。
    怎样获取快捷方式所指向的目标文件名? HRESULT hres IShellLink* psl HRESULT hres IShellLink* psl char szGotPath[MAX_PATH] char szDescription[MAX_PATH] WIN32_FIND_DATA wfd OleInitialize(0) hres = CoCreateInstance(CLSID_ShellLink, NULL, CLSCTX_INPROC_SERVER, IID_IShellLink, (LPVOID*)&psl) if (SUCCEEDED(hres)) { IPersistFile* ppf hres = psl->QueryInterface(IID_IPersistFile, (void**)&ppf) if (SUCCEEDED(hres)) { WCHAR wsz[MAX_PATH] char lpszLinkFile[MAX_PATH] //这里存放的是快捷方式的路径 if(MultiByteToWideChar(CP_ACP, 0, lpszLinkFile, -1, wsz, MAX_PATH)==0) return hres = ppf->Load(wsz, STGM_READ) if (SUCCEEDED(hres)) { hres = psl->Resolve(m_hWnd, 0) if (SUCCEEDED(hres)) { hres = psl->GetPath(szGotPath, MAX_PATH, (WIN32_FIND_DATA*)&wfd, SLGP_SHORTPATH)-Get the path file of the Shortcut, using IShellLink.
    2023-07-15 01:10:03下载
    积分:1
  • VC.NET的操作ACCESS数据库的程序
    VC.NET开发的操作ACCESS数据库的程序-VC. Operating procedures ACCESS database
    2022-07-03 07:40:20下载
    积分:1
  • vc++.net编写画图程序,利用坐标来显示每一秒钟显示一侦
    vc++.net编写画图程序,利用坐标来显示每一秒钟显示一侦-vc++. net drawing preparation procedures, the use of coordinates to show every second investigation showed that one
    2022-06-18 00:06:58下载
    积分:1
  • 这很容易
    This easy-to-follow book provides a comprehensive and practical introduction to the basic AI techniques used by game developers, leading you through the process of designing, programming, and implementing intelligent agents for action games using C++.
    2022-05-26 07:01:15下载
    积分:1
  • Engineer系统是降低服务器负载,减少企业运营成本
    Engineer系统是降低服务器负载,减少企业运营成本-Engineer system is to reduce server load, reduce operating costs
    2022-12-12 12:35:03下载
    积分:1
  • 在 C# 中的迷宫求解 (最短路径)
    介绍了一个简单的技术,以找到一个 2D 的迷宫中两点间最短路径。类似的应用程序在这种情况下使用图,但本文将展示如何,这可以没有头痛的图。它使用类似于广度优先搜索技术。MazeSolver 类商店迷宫作为一个二维整数数组的值 "0" 开放 (可用) 节点和非零这对已关闭的节点 (墙)。如果某条路径将被发现,一种新的二维整数数组创建的路径 PathCharacter 其默认值是 "100"。类也可以跟踪对角的路径,如果它允许这样做 贯穿这篇文章,我们将使用"节点"来引用矩阵 (二维整数数组表示一个迷宫) 的元素。我假设读者是熟悉图和它的术语 (边缘、 节点等)。
    2023-05-25 08:05:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载