CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2003
    Posts
    23

    Lightbulb how to add text entered in one dialog to another dialog's listbox

    how to add text entered in one dialog to another dialog's listbox

  2. #2
    Join Date
    Nov 2002
    Location
    Israel
    Posts
    182
    Send a message. For example:
    ...
    #define WM_NEWTEXT WM_USER + 51
    ...

    From the first dialog:
    ::SendMessage(hSecondDlg, WM_NEWTEXT, (WPARAM)szBuffer, (LPARAM)nSize);

    and inf the second dialog you need to write a handler for WM_NEWTEXT
    Good luck

  3. #3
    Join Date
    May 2000
    Location
    KY, USA
    Posts
    18,652
    Are these two dialogs part of the same application? Or different ones?

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