Win32小问题 [英] Win32 Minor Question
本文介绍了Win32小问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这是一个随机的问题,但是在用Win32编程时有没有办法左对齐窗口的标题?这对应用程序的功能来说并不重要,但我正在尝试重新创建一个旧的16位应用程序,并且标题是左对齐的。有什么办法吗?
提前谢谢。
This is a random question, but is there any way to left-align a window''s title when programming with Win32? This really isn''t important to the app''s function, but I''m trying to recreate an old 16-bit application and the title was left-justified. Is there any way?
Thanks in advance.
推荐答案
Aren''t window titles left aligned默认情况下?
无论如何,你有没有尝试扩展窗口样式 [ ^ ]?将样式设置为WS_EX_LEFT。文档提到这应该是默认值。
我希望这会有所帮助。
Aren''t window titles left aligned by default?
Anyways, did you try Extended window styles[^]? Set the style to WS_EX_LEFT. The documentation mentions this is supposed to be the default.
I hope this helps.
这篇关于Win32小问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文