Click here to Skip to main content
15,912,205 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Short time format Pin
_Flaviu6-Jan-14 2:24
_Flaviu6-Jan-14 2:24 
AnswerRe: Short time format Pin
David Crow6-Jan-14 5:03
David Crow6-Jan-14 5:03 
GeneralRe: Short time format Pin
_Flaviu6-Jan-14 20:44
_Flaviu6-Jan-14 20:44 
AnswerRe: Short time format Pin
Peter Leow6-Jan-14 1:06
professionalPeter Leow6-Jan-14 1:06 
Question[build c++ by command line on windows OS][visual studio 2008] Pin
Thong LeTrung5-Jan-14 21:32
Thong LeTrung5-Jan-14 21:32 
AnswerRe: [build c++ by command line on windows OS][visual studio 2008] Pin
Richard MacCutchan5-Jan-14 22:22
mveRichard MacCutchan5-Jan-14 22:22 
QuestionHow to build QT application statically Pin
Utheen5-Jan-14 17:45
Utheen5-Jan-14 17:45 
AnswerRe: How to build QT application statically Pin
Richard MacCutchan5-Jan-14 22:19
mveRichard MacCutchan5-Jan-14 22:19 
AnswerRe: How to build QT application statically Pin
Marco Bertschi6-Jan-14 0:12
protectorMarco Bertschi6-Jan-14 0:12 
GeneralRe: How to build QT application statically Pin
Utheen6-Jan-14 0:23
Utheen6-Jan-14 0:23 
GeneralRe: How to build QT application statically Pin
Marco Bertschi6-Jan-14 0:43
protectorMarco Bertschi6-Jan-14 0:43 
GeneralRe: How to build QT application statically Pin
Utheen6-Jan-14 0:52
Utheen6-Jan-14 0:52 
GeneralRe: How to build QT application statically Pin
Marco Bertschi6-Jan-14 1:00
protectorMarco Bertschi6-Jan-14 1:00 
GeneralRe: How to build QT application statically Pin
Utheen6-Jan-14 2:09
Utheen6-Jan-14 2:09 
GeneralRe: How to build QT application statically Pin
Gisle Vanem6-Jan-14 21:34
Gisle Vanem6-Jan-14 21:34 
GeneralRe: How to build QT application statically Pin
Utheen7-Jan-14 17:41
Utheen7-Jan-14 17:41 
GeneralRe: How to build QT application statically Pin
Gisle Vanem7-Jan-14 22:57
Gisle Vanem7-Jan-14 22:57 
Question[SOLVED}stack vs. heap objects: how to destruct only heap ones? Pin
liquid_4-Jan-14 6:12
liquid_4-Jan-14 6:12 
AnswerRe: stack vs. heap objects Pin
Richard Andrew x644-Jan-14 7:16
professionalRichard Andrew x644-Jan-14 7:16 
GeneralRe: stack vs. heap objects Pin
liquid_4-Jan-14 11:28
liquid_4-Jan-14 11:28 
GeneralRe: stack vs. heap objects Pin
Richard Andrew x644-Jan-14 13:34
professionalRichard Andrew x644-Jan-14 13:34 
Question[SOLVED] Toolbar style window Pin
Richard Andrew x643-Jan-14 3:09
professionalRichard Andrew x643-Jan-14 3:09 
I was able to find the answer to this question at the end of this post:
http://social.msdn.microsoft.com/Forums/vstudio/en-US/3c4c722d-eecd-49ce-98f9-5948b656bd93/wsextoolwindow-doesnt-give-look-i-want-in-windows-8?forum=vcgeneral[^]
=========
I am creating a window with the WS_EX_TOOLWINDOW style on Windows 8, and the window ends up with the full-height title bar instead of the expected half-height title bar of a tool window.

Does Windows 8 not support this half-height title bar for tool windows, or am I doing something wrong?

Here is the window creation:

C++
hWnd = CreateWindowEx(WS_EX_TOOLWINDOW | WS_EX_TOPMOST, _TEXT("Class"), _TEXT("Caption"), WS_SYSMENU | WS_VISIBLE | WS_SIZEBOX | WS_CLIPCHILDREN | WS_CLIPSIBLINGS, CW_USEDEFAULT, 0, CW_USEDEFAULT, 0, NULL, NULL, hInstance, NULL);


EDIT:

I just tested this in a Win 7 virtual machine, and I get the expected half-height title bar, so apparently this has something to do with Windows 8. Does anyone have any idea how to get the half-height title bar in Windows 8?



The difficult we do right away...
...the impossible takes slightly longer.


modified 3-Jan-14 9:37am.

QuestionDeleting Files Pin
BobInNJ2-Jan-14 8:25
BobInNJ2-Jan-14 8:25 
AnswerRe: Deleting Files Pin
Chris Losinger2-Jan-14 9:58
professionalChris Losinger2-Jan-14 9:58 
AnswerRe: Deleting Files Pin
David Crow3-Jan-14 4:24
David Crow3-Jan-14 4:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.