QUOTE
下面引用由Yonsm在 2003/03/28 02:16pm 发表的内容:
...发现他是用 CreateDialogIndirectParam 创建的对话框,参数也好像没问题的,不知怎么的字体就是改不过来。郁闷!
能否帮忙看看修改 MSDEV.exe 的对话框字体?
Yonsm (QQ:123018)
Yonsm 你好:
对不起,昨天晚上回家才看到你的帖。
你说得没错,这个对话框是通过 CreateDialogIndirectParam 产生,但不在MSDEV.exe中,在 DevShl.dll 中,如果你要修改,应该修改的地方请参考:
5005A312 push offset byte_50037CEC ; 指向 "MS Sans Serif"
5005A317 push 20h ; DWORD
5005A319 push edi ; DWORD
5005A31A push edi ; DWORD
5005A31B push edi ; DWORD
5005A31C push edi ; DWORD
5005A31D push edi ; DWORD
5005A31E push edi ; DWORD
5005A31F push edi ; DWORD
5005A320 push 2BCh ; int
5005A325 push edi ; int
5005A326 push edi ; int
5005A327 neg eax
5005A329 push edi ; int
5005A32A push eax ; int
5005A32B call ds:CreateFontA
祝你好运。
btw
1 AutoFontSet 0.x 目前还没有考虑对 dll 内部字体函数的拦截。
2 现在“误报”的问题已经解决。打算过一阵再贴出来。 :biggrin: