Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: graetzd
  • Content: Threads
  • Order by date
  1. graetzd

    SetConsoleCtrlHandler() problem

    Hello Forum Gurus: I am implementing a CONSOLE application vis-a-vis my SDI application. I can get a console to launch correctly and send output to the console. My Problem: I would like for the console to exit "gracefully" when the user hits the X-button or choses Close from the...
  2. graetzd

    Scaling a View

    Hello Forum Gurus: Does someone have an example of how to implement an OnDraw() function that will draw a series of polygons in a view such that regardless of how many polygons there are they will all be drawn in the current view size? Assume that: 1) I can predetermine what the maximum and...
  3. graetzd

    SetConsoleCtrlHandler() problem

    Hello Forum Gurus: I am implementing a CONSOLE application vis-a-vis my SDI application. I found some code to do this, and I can get a win-32 style console to launch correctly and send output to the console. My Problem: I would like for the console to exit "gracefully" when the user...
  4. graetzd

    ConstructElements of a CArray within an another CArray

    Hello Forum Gurus: I am trying to figure out how to implement a CArray of a structure that contains within it another CArray. The outer structure desired is: struct BASE { int BasePoly; CArray <int,int> AdjTo; }; and I can declare a member of this in my document: class CMainDoc : public...
  5. graetzd

    View data as with old command-style window

    Hello Tek-Tips Forum, Before describing my problem I should give a short background. I am a forest research scientist and my applications have been stictly command window programs. I am now trying to learn some C++ and MFC so I can build some simple front-end user interfaces for future...
  6. graetzd

    Help with generic free store memory deleter

    I am trying to create a generic function that will delete memory I have created on the Free Store (using operator new). My idea is to have a Switch statement inside the function that is activated by an incoming parameter. My problem is that I am using pointers within structures and I may be...
  7. graetzd

    Parsing Column Delimited Strings

    Does anyone have a good fail-safe method to parse out a text string that is column delimited (i.e. columns 1-4, which may have whitespace, is reserved for a particular variable). I have the following set up to read lines of input data that need to be parsed apart: while((GetStatus =...

Part and Inventory Search

Back
Top