Hello

Its the first time a use visual, so happens some problems...

I made a form with a button and a label.

When the button is pressed the label must print "Testing", for this i used SetDlgItemText(HWND,.....,....);

The problem is that i cant find where is the ID of my "parent" window, just to compile i used GetForegroundWindow();

But he returns the follwing errors:

"error C3861: 'SetDlgItemText': identifier not found"
"error C3861: 'GetForegroundWindow': identifier not found"


Any suggestions?

Thanks