PRB: Resource Language Must Match the Current System Language (145997)
The information in this article applies to:
- The ClassWizard, when used with:
- Microsoft Visual C++, 32-bit Editions 4.0
This article was previously published under Q145997 SYMPTOMS
Under some circumstances, ClassWizard does not show the control IDs for a
dialog resource in the Control IDs listbox under Member Variable Tab.
CAUSE
This is by design. If the language settings of the resource are not the
same as the language settings of the operating system, you will see this
behavior. For example, if you are using US English settings for the
operating system and the dialog resource is in some other language, you
will see this problem.
RESOLUTION
By design, the language setting for the resources must be identical to the
language setting for the operating system. There are two ways to
synchronize your resources language:
Method One: Reset the Language for an Existing Resource- From the Resource View, highlight the resource in question, and then
right-click it.
- Select Properties.
- Choose the language that matches that of your operating system.
Method Two: Copy an Existing Resource to One that Matches Your Language- Right-click the dialog's name in Resource View, and then click Insert
Copy.
- In Insert Resource Copy window, select the language that exactly matches
the language setting of the operating system.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 10/24/2003 |
---|
Keywords: | kbLocalization kbprb kbusage kbwizard KB145997 |
---|
|