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
Printable View
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
Call LoadString() first.
Regards,
Paul McKenzie
The CString class has a member function LoadString. This function takes an ID of the resource.
Simple !