"Creating a Win32 Window Wrapper Class" - читать интересную книгу автора (Sonaiya Oluseyi)Creating a Win32 Window Wrapper Class by Oluseyi SonaiyaAnyone familiar with the Win32 API knows that the process for creating windows is rather lengthy: you create a So it's logical that the enterprising C++ developer would like to wrap all of the above in a nice class that would allow her write something like: Window *wnd = new Window(…);
Doesn't look to hard… Ha! it took me a good 2 hours to perfect the object association and proper message pump termination. I'll share my design principles, implementation, revisions and discoveries in the process of creating this wrapper class. I will not be covering the fundamentals of creating windows with Win32, or any other technology I consider to be elementary. There are several good references available on the web for these topics; please take advantage of them. Without further ado, let's dive in! |
|
© 2025 Библиотека RealLib.org
(support [a t] reallib.org) |