CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 1999
    Location
    Sweden
    Posts
    30

    Loading string from string table

    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


  2. #2
    Join Date
    Apr 1999
    Posts
    27,449

    Re: Loading string from string table

    Call LoadString() first.

    Regards,

    Paul McKenzie


  3. #3
    Guest

    Re: Loading string from string table

    The CString class has a member function LoadString. This function takes an ID of the resource.

    Simple !


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured