I am trying to create the 'Open' common dialog box and
I am using the sample code found in the help files of
the Microsoft Visual C++ 4.0 Standard Edition. Part
of the code is as follows:
cbString = LoadString(hInst, IDS_FILTERSTRING, szFilter,
Towards the end of the help, it says
The string referred to by the IDS_FILTERSTRING value is
defined as follows in the resource-definition file.
IDS_FILTERSTRING "Bitmap File(*.BMP)|*.bmp|"
Now, I assumed that I should include this IDS_FILTERSTRING
stuff in <projname>.rc file.
When I compile, I get a message saying that 'IDS_FILTERSTRING is an undefined keyword or key name' in .rc file. Could someone tell me where I should define this ID? Am I doing the right thing by including it in the <projname>.rc file? Any help will be greatly appreciated. Thanks in advance.