Hi all,
I have the free borland C++ command line compiler.
It's complaining about IDC_TEXT being an undefined symbol.
Where is IDC_TEXT defined?
I'm want to use it as the nIDDlgItem argument in SetDlgItemText().
TIA, rotis23
Hi all,
I have the free borland C++ command line compiler.
It's complaining about IDC_TEXT being an undefined symbol.
Where is IDC_TEXT defined?
I'm want to use it as the nIDDlgItem argument in SetDlgItemText().
TIA, rotis23
You should define it yourself in your resource.h file.
Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah
You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie
OK, thanks.
What could nIDDlgItem be? The MSDN site only gives IDC_TEXT as an example and I don't know what value it is.
In your resource editor, it will have assigned a name to the edit or whatever you're changing the text on. Just use that ID instead.
Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah
You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie
Sorry XSquared, I'm using Broland free comannd-line compiler.
I presume IDC_TEXT is a user-defined ID for the win32 control.
Any int is ok as long no other control has that id?
Am I right?
It has to be the value that is defined in your resource header file, because that is what's used when the control is created.
Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah
You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie