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!

Stupid question.... load a .txt file automaticly??

Status
Not open for further replies.

FORAND

Programmer
Joined
May 26, 2003
Messages
64
Location
CA

I need to load a simple .txt file when my dialog box loads.
But i can't figure out where to put my code so that i don't have to click on anything to load the .txt.......

This might seem like a stupid question, but i've past the last 2 hours looking for an awnser... i need help ;)


Thanks!

 
Catch the WM_INIT event of the dialog (or, in the case of an MFC dialog, do it in OnInitDialog).

Greetings,
Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top