• 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]
visual studio 2019 version16.11.5 strange behavior
 
The problem is I have a solution web api .net framework. after updating my visual studio every time ...
[no replies]
Help Using MySQL in Visual C++
 
I am writing an Archiving application in Visual Studio 2019 C++. I have not been able to write to...
[1 reply] : You can find an example here: https://stackoverflow.com/questions/1916... (by AbstractionAnon)
Disconnect the game application network
 
I have 3 game windows, I want to disconnect from the network game window 1, windows 2 and 3 work pro...
[7 replies] Last: It is much simpler than this. The OP asked if he could do it. If he ... (by jonnin)
Trying to find the programming code that activates or deactivates the screensaver.
 
Hello, if you are reading this please can you tell me what programming code activates or deactivates...
[4 replies] Last: at one point, not sure if still true, the SS was just an exe renamed t... (by jonnin)
DrawText buffering?
 
I have something really weird going on. DrawText appears to be buffering. I have a loop that's ...
[3 replies] Last: Hi coder777, thanks for your thoughts. I found this while I was debug... (by AbstractionAnon)
by sam464
Passing a pointer to a struct into a dll
 
windows 10 visual studio 2019 community I have an exe project with a large struct in it. I also ...
[13 replies] Last: Yes, this appears to be the answer. The compiler is 'assuming the wors... (by sam464)
SYSTEM_FONT
 
What is the SYSTEM_FONT for Win API? Is it Tahoma? How can you tell? I can look at the Text Metri...
[3 replies] Last: depends on what you mean, I guess. Windows hid the font change interfa... (by jonnin)
Scrolling data efficiently
 
So, I have a data file that I am reading in that is to displayed in my main window. Right now, I ha...
[14 replies] Last: LRESULT fnWndProc_OnHScroll(WndEventArgs& Wea) { ScrollData* pScrDt... (by freddie1)
Creating a popup window above an another.
 
I have a `handle` to third party window (not created by me, retrieved using the `FindWindow` functio...
[3 replies] Last: How can i achieve it without using the `HWND_TOPMOST` flag? 3 gallo... (by Furry Guy)
Scale for dimensions in .rc file vs CreateWindow
 
A few years ago I wrote a C++ program with the help of Virtual Studio and some books. The program w...
[3 replies] Last: Is there any relation between pixels and dialog base units?.. This m... (by The Grey Wolf)
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)
Pages: 12
  Archived months: [aug2021]