Jump to content
Hash, Inc. Forums

My first Windows program


Recommended Posts

Rodney and I have been learning C++ and now we are looking at MFC with an eye to writing A:M plugins

MFC or Microsoft Foundation Class is an addition to C++ that handles standard Windows GUI elements like menus and dialogs and interactions with the main program.

WinTester.exe is my first program using these.


WinTester has an "Exercise" menu with four choices:

  • Blank - erases screen
  • Red Rectangle - makes one
  • Gradient - asks you to input RGB values for start and end colors and will draw a smooth transition between the two.
  • Ballistic - will plot a projectile path based on parameters you input...
    • X and Y define a point from the lower left corner that your gun is aimed at.
    • Scale controls the initial velocity
    • Gravity is a constant downward force
    • Wind is a horizontal force



  • Like 1
  • love 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...