Click here to Skip to main content
15,905,875 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: stl string class in VS2003 Pin
User 58385229-Jul-04 17:45
User 58385229-Jul-04 17:45 
GeneralRe: stl string class in VS2003 Pin
John M. Drescher29-Jul-04 22:51
John M. Drescher29-Jul-04 22:51 
GeneralRe: stl string class in VS2003 Pin
User 58385229-Jul-04 23:48
User 58385229-Jul-04 23:48 
GeneralRe: stl string class in VS2003 Pin
Tim Smith30-Jul-04 4:27
Tim Smith30-Jul-04 4:27 
GeneralRe: stl string class in VS2003 Pin
User 58385230-Jul-04 15:02
User 58385230-Jul-04 15:02 
GeneralSetting up Tab Controls Pin
Tyrus18229-Jul-04 16:25
Tyrus18229-Jul-04 16:25 
GeneralRe: Setting up Tab Controls Pin
alex.barylski29-Jul-04 17:44
alex.barylski29-Jul-04 17:44 
GeneralManually adding resources to rc2 file Pin
paulb29-Jul-04 16:22
paulb29-Jul-04 16:22 
I need to add a string resource manaully to the .rc2 file in an MFC project, so did this (copying from the syntax in .rc file):

STRINGTABLE
BEGIN
IDS_THESTRING "really long string here.."
END

and with a define inside resource.h:

#define IDS_THESTRING 101


This compiles but the strings defined in the normal .rc file (that are edited through the string table editor in VS) are no longer valid, any attempt to reference them fails.

Is this the correct syntax for manually adding a string resource?

GeneralRe: Manually adding resources to rc2 file Pin
John M. Drescher29-Jul-04 17:30
John M. Drescher29-Jul-04 17:30 
GeneralRe: Manually adding resources to rc2 file Pin
V.29-Jul-04 20:44
professionalV.29-Jul-04 20:44 
GeneralQuestion on OCX Pin
prgrmr29-Jul-04 15:29
prgrmr29-Jul-04 15:29 
QuestionCPropertySheet - how to abort OnOK? Pin
Max Santos29-Jul-04 14:36
Max Santos29-Jul-04 14:36 
AnswerRe: CPropertySheet - how to abort OnOK? Pin
Ryan Binns29-Jul-04 18:24
Ryan Binns29-Jul-04 18:24 
Generaladding shared_ptr to CListCtrl::SetItemData Pin
Shielsy1029-Jul-04 14:19
Shielsy1029-Jul-04 14:19 
GeneralRe: adding shared_ptr to CListCtrl::SetItemData Pin
palbano29-Jul-04 18:07
palbano29-Jul-04 18:07 
GeneralRe: adding shared_ptr to CListCtrl::SetItemData Pin
Shielsy1029-Jul-04 23:36
Shielsy1029-Jul-04 23:36 
Generalcopying a complete partition Pin
X204029-Jul-04 14:18
X204029-Jul-04 14:18 
GeneralPrint Preview buttons are not being enabled Pin
Shielsy1029-Jul-04 14:18
Shielsy1029-Jul-04 14:18 
GeneralWizard question..Please Help Pin
ben229-Jul-04 13:48
ben229-Jul-04 13:48 
QuestionHow to auto configure the 802.11 wireless lan adaptor Pin
Member 119359929-Jul-04 13:29
Member 119359929-Jul-04 13:29 
GeneralCompiling a single cpp file Pin
tentons29-Jul-04 13:02
tentons29-Jul-04 13:02 
GeneralRe: Compiling a single cpp file Pin
Nemanja Trifunovic29-Jul-04 13:51
Nemanja Trifunovic29-Jul-04 13:51 
GeneralRe: Compiling a single cpp file Pin
vmaltsev30-Jul-04 3:48
vmaltsev30-Jul-04 3:48 
QuestionHow to make a button like MSN sign in button Pin
Dody_DK29-Jul-04 11:20
Dody_DK29-Jul-04 11:20 
AnswerRe: How to make a button like MSN sign in button Pin
Ravi Bhavnani29-Jul-04 12:39
professionalRavi Bhavnani29-Jul-04 12:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.