• 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]
For Unix/Linux C programmers, a quick guide to Windows programming?
 
I've been programming in C on Unix (and Linux) for more than 30 years, using vi(m), (g)cc, make, and...
[4 replies] Last: cygwin does produce native executable files. It links them to that aw... (by jonnin)
Sorting ListView columns
 
OK. I've tried to research the best way to sort a ListView column with no clear answer. The best an...
[5 replies] Last: I don't want to change the order. I want to be able to sort the colum... (by coder777)
wWinMain entry point warning (1,2)
 
I've been getting a 'Inconsistent annotation for 'wWinMain' warning for a long while now and I decid...
[25 replies] Last: I don't use make files much. Seems *nix folks are especially big on t... (by freddie1)
Disabling UP and DOWN key in ListView
 
When the user clicks on an item in a ListView table, how can I disable the UP and DOWN keys? I have...
[6 replies] Last: Apparently, the only way to reset all the controls within a ListView b... (by dodge55)
by MickH
Unable to close and end Windows Forms app
 
Forum - I have a small WinForms app which inputs video from a webcam and displays the video in a pic...
[3 replies] Last: coder777 - thanks for the reply, I didn't even think about blocking. I... (by MickH)
by Jezck
Overriding base class method
 
Hi, I have a query with regards to the use of the Virtual keyword for methods. If a derived class m...
[3 replies] Last: Thanks, that is what I see also. Except in the case where the paramet... (by mbozzi)
Access Violation when calling Class Function from WndProc
 
Greetings, I receive an access violation error when calling a Class Function from WM_MOVE in the Wi...
[6 replies] Last: I previously thought that the WM_MOVE could only happen after the Dis... (by seeplus)
by sarahm
win32 window doesn't resize
 
Hello. I'm having a bit of a problem with creating a win32 window: the window shows up fine, but ca...
[7 replies] Last: LoadIcon and LoadCursor have been deprecated, use LoadImage instead.... (by JohnOfC)
Delete
 
Delete
[no replies]
the managed nullptr type cannot be used here.
 
I have some code that should just call an event but I get this error: the managed nullptr type cann...
[11 replies] Last: using _Literal_zero = decltype(nullptr); is giving the error in the ... (by AnnoyingB)
by Geckoo
Sort lists
 
Hello everyone. I have a question about lists. I have an empty list A which I populate with inte...
[9 replies] Last: OP did say "list", though it might not have been deliberate. As ment... (by kigar64551)
Graphical User Interface Program
 
Maybe have a look here: http://www.cplusplus.com/forum/lounge/281241/ Of course, the optimal ch...
[2 replies] Last: Freddie, the OP has gone...this is the remnants of a dead thread. (by The Grey Wolf)
using text string functions in Win32
 
So, I have an embedded system that saves data in (unsigned char) format to an SD card. This data is...
[3 replies] Last: Thanks for the responses. It looks like MultiBytetoWideChar and vice-... (by dodge55)
Using BitBlt
 
So,it looks like BitBlt captures an image from a specific place in a window, which allows you to dup...
[19 replies] Last: at some point the invalidate rect trick may fail you, if you get into ... (by jonnin)
by volang
Shell commands from c++ without creating a new process every time?
 
Is there a way to run shell commands from c++ without creating a new process every time? E.g. have ...
[2 replies] Last: or & system("command1 & command2"); it may be possible to start a hea... (by jonnin)
by Alley
best way to configure / implement .NET web api, docker, mssql server
 
I come from an old way of doing this where we had connection strings in web.config or app.config. I'...
[1 reply] : I have no idea how to run .NET applications in a Docker container. But... (by kigar64551)
Convert string to double
 
Good day! :3 Some time ago I had an issue with converting NaNs: https://www.cplusplus.com/forum/win...
[8 replies] Last: Note that with std::from_chars(), leading white space is not ignored! (by seeplus)
Performance of memcpy() vs. "direct" memory access
 
Hello, I am working on a project where we need to compute the MD5 hash of a large block of memory (...
[8 replies] Last: That sounds right. These 'new' instructions are... really nice. (by jonnin)
Callback procedures in Child Windows
 
Do you have to have a separate callback procedure for each window you create? In other words, if I ...
[3 replies] Last: Here are some tutorials I've recently posted that would answer your qu... (by freddie1)
  Archived months: [nov2021]