문제

I am new to Windows programming. On Windows OS, almost every application opens a window, and I want to know that if all these applications invoke the same API CreateWindow() to create their windows?

Or, another way to ask my question: Do Games, Music Players, Browsers, Instant Messaging, IDEs, etc create their window all by invoking API CreateWindow()? If not, what other APIs can be used to create a windows on Windows?

도움이 되었습니까?

해결책

Yes, that and CreateWindowEx are the only APIs that can create a window (other related APIs such as DialogBox and AllocConsole also do this internally). No matter what graphics stack each application uses (WPF, DirectX etc) in the end it all boils down to a CreateWindow.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top