Click here to Skip to main content
13,595,908 members
Rate this:
Please Sign up or sign in to vote.
See more:
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.
Posted 22-Dec-12 18:49pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web03 | 2.8.180621.3 | Last Updated 23 Dec 2012
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100