Creating Containers That Respond to User Actions
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Creating Containers That Respond to User Actions

  1. #1
    Join Date
    Oct 2013
    Location
    Edmonton, AB
    Posts
    1

    Creating Containers That Respond to User Actions

    I am looking for direction on what topic I should be reading up on. I am new to C++ and Windows MFC.

    This is my real world problem, in the context of the application user. (these term do not refer to OPP concepts)

    I want to create shapes (containers) in an application that will respond and collect other objects;

    Imagine a Windows frame, containing several 2 dimensional squares. I want to be able to drag and drop marbles into the squares,
    and have the square retain and display the marbles in the square, in the order that they were dropped in.

    How do I create the shapes, and how will the square sense when a marble is over it?

    How would I create irregular shapes (a combination of lines and curves) that would be responsive to the marbles?

    Thanks

  2. #2
    Join Date
    Dec 2012
    Location
    England
    Posts
    2,396

    Re: Creating Containers That Respond to User Actions

    I am new to C++ and Windows MFC.
    Before delving into Windows MFC, you need a thorough knowledge of c++ and in particular classes.

    For c++ I suggest
    c++ primer plus
    http://www.amazon.co.uk/C-Primer-Plu...1935860&sr=1-1

    Accelerated c++
    http://www.amazon.co.uk/Accelerated-...erated+c%2B%2B


    For MFC I suggest
    Programming Windows with MFC
    http://www.amazon.co.uk/Programming-...%2B+mfc+proise
    All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.

  3. #3
    GCDEF is offline Elite Member Power Poster
    Join Date
    Nov 2003
    Posts
    12,098

    Re: Creating Containers That Respond to User Actions

    What 2kaud said. You're intermingling several topics there - Inheritance, Data Structures and GUI, all of which are pretty involved, and way beyond anything anybody could tell you here. Immerse yourself in one or more of the books he suggested. Be prepared to spend several months at least.

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center