Windows Programming - September 2021

DrawText help - Follow-up Question
 
I'm trying to paint a star from the wingdings character set. I get nothing on the screen. SQUARE ...
[4 replies] Last: I think SetBkMode(hdc, TRANSPARENT); might be what you are looking ... (by The Grey Wolf)
DPI scaling issues (1,2)
 
I am not getting the scale ratio right, what am I doing wrong?. The button always moves at a differe...
[22 replies] Last: I found an interesting article; https://mariusbancila.ro/blog/2021/05... (by JohnOfC)
DXGI ERROR: IDXGIFactory::CreateSwapChain: No target window specified
 
I get "DXGI ERROR: IDXGIFactory::CreateSwapChain: No target window specified in DXGI_SWAP_CHAIN_DESC...
[no replies]
DC understanding
 
This forum has been great to learn faster when my Petzold book and online searches fail to help with...
[5 replies] Last: Nah. I'm way past getting offended by any forum post. I just keep as... (by dodge55)
VS2019 Windows.h / MFC conflict
 
I've been working on a static library. Everything was fine until a couple of days ago. Then I star...
[6 replies] Last: @forgottencoder - Thanks for the link. That was helpful. I replaced ... (by AbstractionAnon)
by volang
getaddrinfo parameters
 
I got something like this: void func(addrinfo * ip_list) { addrinfo hints; ZeroMemory(&hin...
[3 replies] Last: Don't forget to call freeaddrinfo() to free the memory allocated by ge... (by kbw)
SFML window size?
 
Working on that book "Beginning C++ Game Programming" on the 1st Timber project. My desktop recomme...
[2 replies] Last: // get screen resolution void MainApp::GetDesktopResolution(int& hor... (by Geckoo)
Automatically Activating a button after CreateWindow
 
I have 6 buttons created like this with different tasks: CreateWindow(L"BUTTON", L"OVERVIEW", WS_...
[5 replies] Last: Finally, change the PostMessage() call above to SendMessage() and note... (by freddie1)
Using different text colors on the same printed line
 
If I'm using the default system font, which is not symmetrical, how can I print a list of 3 items pe...
[6 replies] Last: Thanks for the responses. I think I'll just spread out my display lik... (by dodge55)
Creating a child window that can't be dragged
 
I have the following code that creates an About Window. AboutBox is called from WndProc(). How do ...
[5 replies] Last: JohnOfC - perfect. Thanks. Works great. (by dodge55)
by CandyK
Possible to make VisualStudio stop breaking on errors caught by try/catch while debugging?
 
Hey In Visual Studio19, I can only figure out how to make it ignore the error in general, but I don'...
[1 reply] : Under Debug > Windows > Exception Settings, uncheck everything in the ... (by helios)
Looking for C++ IDE for Windows (1,2)
 
Can someone point me to where I can find a C++ IDE for Windows development? Embarcadero won't let...
[33 replies] Last: Hey Just download it from here: https://visualstudio.microsoft.com/do... (by CandyK)
Compiling using wxWidgets and mingw
 
I am trying to compile a program that, for now, solely includes wxWidgets's necessities. I have a...
[1 reply] : MinGW is not Visual Studio. Your make is including files only needed ... (by Furry Guy)
problem with LPWSTR
 
I have this code which with address being "c:\Program Files\WinRAR\WinRAR.exe" as input won't work: ...
[6 replies] Last: It wasn't working because you weren't converting from a narrow string ... (by kbw)
WM_PAINT - round 2
 
So, I want to create a window with text "Please select file to open" in the center, but only on the ...
[7 replies] Last: Thanks, Furry Guy, you are right. Missed that. (by dodge55)
Control from c ++ PDF
 
I wanted to put the PDF file on one page. When opening with "# page = 123" or "/ A page = 123" in th...
[2 replies] Last: I'm testing on PDF versions 8.3 and 10.1.16 (by danekbb)
Path to learn Windows API (1,2)
 
I am a software developer that has been retired for 5 years, but now would like to learn some Window...
[31 replies] Last: LRESULT fnWndProc_OnMouseWheel(WndEventArgs& Wea) { int zdelta=GET_... (by freddie1)
by Rob190
Visual Studio: preventing unecessary recompiles of static libs (1,2)
 
MSVC Version 16.11.0 Preview 4.0, Windows 10. I have two MSVC C++ apps which share a number of stat...
[24 replies] Last: You're welcome. I'm not keen on putting everything in one solution. ... (by malibor)
by Dvd
QueryFullProcessImageName works while debugging and not in runtime
 
This function should print to the console the path of the desired process by its PID, but it only wo...
[2 replies] Last: Thanks a lot for the north (by Dvd)
  Archived months: [aug2021] [oct2021]

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