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

vc++ error about controls

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
lets say i put in the code:

CButton button;
button.GetDlgItem (IDC_BUTTON1);

i put in this code so that I can make a control for a button...But how come when I do this, as soon as the program reaches this part of the code, i get a CLOSE and IGNORE error....why is that??
 
> why is that??

It is because your code is not even close to being meaningful or correct. Are you an entry level programmer? What is your background? What 'Windows Programming' books have you read?

Contrary to popular Hollywood and Societal beliefs, you actually have to know something about what you are doing to author software. Even more so in a powerful language like C++.

"But, that's just my opinion... I could be wrong".
-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top