Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Returning values from function to different dialog controls
#2
Let SendMessage send control id in wParam, and SetDlgItemText use wParam.

SendMessage hDlg WM_APP 4 "text is in text box 1"
SendMessage hDlg WM_APP 7 "text is in text box 2"

SetDlgItemText hDlg wParam F"{lParam%%s}"


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)