Results 1 to 2 of 2

Thread: Windows Application - WinAPI C++ - (SDI Interface)

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2006
    Posts
    15

    Windows Application - WinAPI C++ - (SDI Interface)

    Provides an implementation of a base window class in C++.

    Creating the main window class, deriving from Window was as simple as creating a WM_NCDESTROY handler (only needed to post the quit message due to being the main window) and calling it in the WindowProcess override in class MainWindow.

    Other messages were processed by Window::WindowProcess.

    This will suit well for SDI windows or even custom controls as a base class.

    My next project will provide an MDI main frame and child frame classes. (Views can be just derived from Window =) )

    Code attached below.
    Attached Files Attached Files

  2. #2
    Junior Member
    Join Date
    Sep 2006
    Posts
    28

    Re: Windows Application - WinAPI C++ - (SDI Interface)

    Thanks, this is very useful for me, I wish to learn how to do GUIs in C++ but am unsure where to start, I'm sure this will help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width