i know the basic C++ language, but i have only worked with console applications and im used to the Visual Basic way of coding

my big problem is how do i reference (in code) a control name that is on a dialog?

like in VB you just do cmdWhatever.Caption = "Hello"

is it like IDC_BUTTON1.Caption("Hello"); in C++?

thanx