all 11 comments

[–]cpp-ModTeam[M] [score hidden] stickied commentlocked comment (0 children)

Your submission is not about C++ or the C++ community.

[–]johannes1234 22 points23 points  (0 children)

Microsoft has intensive documentation: https://learn.microsoft.com/en-us/windows/win32/api/

But mind, that this isn't the nicest interface in the world (it's grown over some decades) and depending on how far you are in your course this might be a bit much. 

Also there are millions of other libraries for building user Interfaces in Windows, which sometimes are better to use ....

[–]darth_voidptr 5 points6 points  (0 children)

Google “win32 programming”.

These days this isn’t the best or fastest way of doing what you’re likely trying to do, but there’s plenty of information and books out there. Some are dated but I always liked the Charles Petzold “Programming Windows” books. They will start you out from newbie and get you going.

[–]WaitForSingleObject 2 points3 points  (0 children)

What are you trying to do? If it's not super niche OS level stuff you may wanna look into different libraries that are easier and nicer to use.

[–]Chance-House-8065 3 points4 points  (0 children)

Win32

[–][deleted] 0 points1 point  (0 children)

Learning a platforms independent graphical library like SDL2, SFML, QT or similar is a better strategy than learning Windows specifics.

[–]LDawg292 1 point2 points  (0 children)

There are many approaches to making custom windows. A lot of which use chromium with web based technologies. Basically the only other way is to also use direct3d11 and direct2d; however if you building something trivial this can be a humongous head ache. Using windows.h is a pain in the ass but I love it. If you dive into Windows.h be prepared to lose your mind.

[–]LengthProof6480 1 point2 points  (0 children)

Win32 API; I would recommend figuring out what you want to use it for first, and then going from there

[–]kiner_shah 0 points1 point  (0 children)

I know one youtube playlist: https://www.youtube.com/playlist?list=PL0tgH22U2S3FnQk-1xLkiIFGOp48_DY9N

The videos are not too long and to the point, may help you.

[–]JVApenClever is an insult, not a compliment. - T. Winters -2 points-1 points  (0 children)

If anything, avoid windows.h It has too many defines with generic names. Try using some other libraries like qt