dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: shaharM123

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    4,134

    Re: using handles to get RichEdit text

    I solved the problem with

    TCHAR txt[32]=L"";
    ::SendMessage(hwndRichEdit, WM_GETTEXT, 32, (LPARAM)txt);

    It seems that the class type wasn't correct:
    It suppose to be TCHAR and not char class,...
  2. Replies
    5
    Views
    4,134

    Re: using handles to get RichEdit text

    I tried using the SendMessage:

    char txt[512]="";
    ::SendMessage(hwndRichEditControl1 ,WM_GETTEXT,512,(LPARAM)txt);

    But even this doesn't work.. any ideas?

    I'm using winID to watch this...
  3. Replies
    5
    Views
    4,134

    Re: using handles to get RichEdit text

    I know GetWindowText doesn't work with controls.

    That's why I'm asking what function I CAN use for this purpose.
  4. Replies
    5
    Views
    4,134

    using handles to get RichEdit text

    Hi there,

    I'm trying to get the text from two RichEdit controls which are located in external application, but I can't get the the text with GetWindowText. What is my mistake?

    Any help would be...
Results 1 to 4 of 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)