Results 1 to 2 of 2

Thread: OK Maybe I asked this wrong

  1. #1

    Thread Starter
    Frenzied Member Technocrat's Avatar
    Join Date
    Jan 2000
    Location
    I live in the 1s and 0s of everyones data streams
    Posts
    1,024

    Unhappy

    Since no one responed to my question on my last post I am going to try and ask this differently. Lets say you have a form with an edit box. How do you get a string from a function in a different class (Than Form/Window/APP) to that edit box? Can you give me an example? Please this is making me crazy.

    Thanks
    MSVS 6, .NET & .NET 2003 Pro
    I HATE MSDN with .NET & .NET 2003!!!

    Check out my sites:
    http://www.filthyhands.com
    http://www.techno-coding.com


  2. #2
    Lively Member rekcus's Avatar
    Join Date
    Jan 1999
    Location
    Kuala Lumpur
    Posts
    122
    I believe a most simple way to do that is to load the string to a global char. Then run a
    Code:
    SetDlgItemText(hWnd, IDC_EDIT, strGlobal);
    penyou!

    "The code bytes.."

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