Click to See Complete Forum and Search --> : Loading string from string table


odin
April 17th, 1999, 03:30 PM
Hello,

How the heck do I load a string from the resource string-table.

m_pMainWnd->SetWindowText(MAKEINTRESOURCE(STR_IN_TABLE));

This didn't work!!!! ;P

-- Henrik

Paul McKenzie
April 17th, 1999, 04:38 PM
Call LoadString() first.

Regards,

Paul McKenzie

April 17th, 1999, 06:07 PM
The CString class has a member function LoadString. This function takes an ID of the resource.

Simple !