Click here to Skip to main content
11,434,695 members (46,706 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ Win32
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 19:49pm

1 solution

Rate this: bad
good
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.
  Permalink  

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



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

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