"WindowsForms10.Window.20008.app.0.134c08f_r11_ad1"这种窗口类名是什么意思?

maohbao 2015-07-05 10:11:46
我手头有几个程序,用spy++查看窗口类名时,都是类似“WindowsForms10.Window.20008.app.0.134c08f_r11_ad1”的名称(数字部分有些不一样),这种程序是用什么开发的,它代表程序使用某种控件包开发的吗?求答案,谢谢!
...全文
819 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
schlafenhamster 2015-07-10
  • 打赏
  • 举报
回复
In MFC-land, you don’t normally call RegisterClass because MFC registers several window classes for you, such as AfxFrameOrView and others with weird names like Afx:400000:3:1:14fe:10:0. You can also change the style by calling SetClassLong(GCL_STYLE), but you might confuse MFC because it encodes the style as part of the class name (the 400000 in the example above).
maohbao 2015-07-07
  • 打赏
  • 举报
回复
引用 5 楼 schlafenhamster 的回复:
MFC产生的应用就是
不对呀,我写的 MFC程序类名都是 #32770
schlafenhamster 2015-07-07
  • 打赏
  • 举报
回复
MFC产生的应用就是
maohbao 2015-07-07
  • 打赏
  • 举报
回复
“WindowsForms10.Window.20008.app.0.134c08f_r11_ad1” 上面这种类型的类名各部分有什么含义吗?有没有人知道?
schlafenhamster 2015-07-07
  • 打赏
  • 举报
回复
//#32768 The class for a menu. //#32769 The class for the desktop window. //#32770 The class for a dialog box. //#32771 The class for the task switch window. //#32772 The class for icon titles.
schlafenhamster 2015-07-07
  • 打赏
  • 举报
回复
#32770 是对话框的类名, 你用 SDI或MDI程序试试,view的类名会不同.
maohbao 2015-07-06
  • 打赏
  • 举报
回复
引用 2 楼 schlafenhamster 的回复:
"这种窗口类名"是编译器自动加的, 因为应用窗口必须用类名注册.
是哪种编译器或哪种语言会自动加这种形式的类名呢?
maohbao 2015-07-06
  • 打赏
  • 举报
回复
引用 1 楼 jiangsheng 的回复:
Windows Forms开发 查窗口类想干什么?
说明是用C#写的程序吗?想分析一个别人的程序而已。。。。。。
schlafenhamster 2015-07-06
  • 打赏
  • 举报
回复
"这种窗口类名"是编译器自动加的, 因为应用窗口必须用类名注册.
蒋晟 2015-07-06
  • 打赏
  • 举报
回复
Windows Forms开发 查窗口类想干什么?

16,472

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC相关问题讨论
社区管理员
  • 基础类社区
  • Web++
  • encoderlee
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

        VC/MFC社区版块或许是CSDN最“古老”的版块了,记忆之中,与CSDN的年龄几乎差不多。随着时间的推移,MFC技术渐渐的偏离了开发主流,若干年之后的今天,当我们面对着微软的这个经典之笔,内心充满着敬意,那些曾经的记忆,可以说代表着二十年前曾经的辉煌……
        向经典致敬,或许是老一代程序员内心里面难以释怀的感受。互联网大行其道的今天,我们期待着MFC技术能够恢复其曾经的辉煌,或许这个期待会永远成为一种“梦想”,或许一切皆有可能……
        我们希望这个版块可以很好的适配Web时代,期待更好的互联网技术能够使得MFC技术框架得以重现活力,……

试试用AI创作助手写篇文章吧