• Forum
  • Windows Programming

Windows Programming

by admin
Welcome to this board!
Welcome to the Windows forum in C++.com! In this forum, users can to talk about any topic related t...
[no replies]
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...
[21 replies] Last: i used mvs 2019 with option 'run code analysis on sulution' alt+f11 ... (by freddie1)
DC understanding
This forum has been great to learn faster when my Petzold book and online searches fail to help with...
[1 reply] : I also use 'hdc_main' as a global DC when printing text to the windo... (by freddie1)
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)
I have a small snippet of code in my WndProc that has a WM_PAINT with nothing in it except return(0)...
[4 replies] Last: Many thanks for this. That answers my question. (by dodge55)
Providing electronic car weighing station management software nationwide
Providing electronic car weighing station management software nationwide Nowadays, the control of t...
[no replies]
by Geckoo
Letter Occurences
https://en.wikipedia.org/wiki/Letter_frequency Hello. I am working on a simple program so as to che...
[12 replies] Last: You are right Furry Guy. It is very important to foresee some user mis... (by Geckoo)
Pages: 12
  Archived months: [jul2021]