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 derfloh 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: asimov500
  • Content: Threads
  • Order by date
  1. asimov500

    Scope of a function

    Hi there, I am programming Visual C++/cli 2008. I can make functions with no problem and I can call them from Form1.h without a problem. The problem comes when I want to change a textBox or Label control from a function. I realise it won't work because the textBox is out of scope. How do I...
  2. asimov500

    Classes and Where Do I put stuff in MFC

    I am not new to programming but I am new to Visual C++ and the MFC. I read the example I get the cli versions to work in dos but the problems come when I start to use MFC. I have never used Classes before and so I read the example and I almost get it to work but not quite in the form. I know...
  3. asimov500

    Changing a control in a function

    Hi there, I am not new to programming but I am new to C++. I want to be able to change MFC textBox's in a function to keep my code modular. The following line works ok in my main code. textBox1->Text = "Not Pressed"; But when I put it in a function I get a compiler error. eg void laughing(){...

Part and Inventory Search

Back
Top