Click here to Skip to main content
12,506,338 members (55,640 online)
Rate this:
 
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 18: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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160927.1 | Last Updated 23 Dec 2012
Copyright © CodeProject, 1999-2016
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