Windows Programming - April 2023

Cast LOGFONT to DWRITE_FONT_WEIGHT
 
I have font class which is a wrapper around API's that create HFONT . Relevant excerpt from class: class Font { // ... HFONT mhFont; }; bool Font::...
[1 reply] : In the meantime I've found a better method with IDWriteGdiInterop::Cr... (by malibor)
Is tab control a parent like group box?
 
Talking of common controls and talking with my self to determine control relationships, I need help with class design.. We can say that group box is a parent w...
[5 replies] Last: This article from Raymond Chen really confirms what I have been debugg... (by malibor)
How to debug a CMakeLists.txt in MSVC 2022?
 
I read that it is possible to debug a CMakeLists.txt file in MSVC 2022 but I have not been able to accomplish it!! Is it possible? How? Regards, Juan
[2 replies] Last: Configure CMake debugging sessions in Visual Studio https://learn.mic... (by George P)
What should be return value for WM_CONTEXTMENU?
 
I'm handling a WM_CONTEXTMENU to show a pop up menu. According to docs there is no return value. Return value No return value. https://learn.microsoft.com/...
[2 replies] Last: Yes it seems return value is not important but I'm unable to find some... (by malibor)
by ruzip
Printing International Fonts w/o changing console fonts
 
This one works, but is changing the whole console font and size. Is there a windows way similar to how Linux does it w/o any font change? #include <...
[2 replies] Last: @maxim2511 I think mixing Win32 API functions and C/C++ Runtime fun... (by kigar64551)
  Archived months: [mar2023] [may2023]

This is an archived page. To post a new message, go to the current page.