CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 11 of 11

Thread: Newbe question

Threaded View

  1. #2
    Join Date
    Mar 2004
    Location
    (Upper-) Austria
    Posts
    2,899

    Re: Newbe question

    Please post your code, because we may can find the mistake in it.

    the default scheme for such an operation:

    Code:
    TCHAR szStr[100] = "";
    GetDlgItemText(hDlg, IDC_BUTTON, szStr, 100);
    SetDlgItemText(hDlg, IDC_EDITBOX, szStr);
    This will print the entire text that is displayed on the IDC_BUTTON into IDC_EDITBOX,
    Last edited by NoHero; December 18th, 2004 at 10:02 AM. Reason: forgot to initialize the string buffer ... darn ..
    I am not offering technical guidiance via email or IM
    Come on share your photo with us! CG members photo album!
    Use the Code Tags!

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