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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VC++ Can't manipulate forms

Status
Not open for further replies.

f9073341

Technical User
Mar 25, 2012
2
GB
I'm running Visual Studio Express 2008 and I'm currently using a Windows Form Application.

I really just want to know how to update my form (.h file) from outside the form (if that makes sense). E.g. Update the text in a text box from a management class outside of the form. Or maybe you can suggest a better design here?

I thought this might be the answer, but I'm not familiar with properties:


Thanks.
 
I think the main problem is this auto-generated statement in main().

Application::Run(gcnew form1()));

Because it sets up the message loop, I can't seem to interact with the form.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top