Designing an OO windows programming framework

This is a discussion on Designing an OO windows programming framework within the C++ Programming forums, part of the General Programming Boards category; I would like to design an object oriented windows programming frame work and i already have a few ideas and ...

  1. #1
    Registered User
    Join Date
    Dec 2003
    Posts
    167

    Designing an OO windows programming framework

    I would like to design an object oriented windows programming frame work and i already have a few ideas and would like to know if anyone has any ideas, suggestions or words of caution that would help me. I'm very new to c++ and newer to object oriented programming so this project should be useful in my learning process. What I have in mind is to create different classes for different aspects of the windows api such as windows, sockets, printing etc. What about a base class? Should I have one? An abstract class that the other objects are derived from? And how should I deal with message handling? I've done some winapi programming before but not with other frameworks such as mfc or wxwindows.
    silk.odyssey

  2. #2
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    Don't reinvent the wheel.

    Use MFC or some other 3rd party class library that accomplishes this. It's already been done and probably far more thorough than anything you or I could come up with.

  3. #3
    Registered User
    Join Date
    Dec 2003
    Posts
    167
    Yeah I could use MFC or something like that but part of the reason is to learn about OOP and I don't necessarily want to implement it with c++ either.
    silk.odyssey

  4. #4
    Registered User Codeplug's Avatar
    Join Date
    Mar 2003
    Posts
    4,674
    Anything is ok if your goal is to learn from it.

    For now, I would stick with a non-gui-framework category like GDI, sockets, threads, synchronization, waitable objects, etc...
    Pick something you would like to learn or use in future projects. Once you do some of these you'll be better prepaired to takle a gui framework.

    gg

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Just starting Windows Programming, School me!
    By Shamino in forum Windows Programming
    Replies: 17
    Last Post: 02-22-2008, 07:14 AM
  2. how to make a windows application
    By crvenkapa in forum C++ Programming
    Replies: 3
    Last Post: 03-26-2007, 09:59 AM
  3. Question..
    By pode in forum Windows Programming
    Replies: 12
    Last Post: 12-19-2004, 06:05 PM
  4. Designing a database for a windows program
    By MPSoutine in forum Windows Programming
    Replies: 3
    Last Post: 10-14-2003, 10:10 PM
  5. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21