Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Returning values from function to different dialog controls
#10
Kevin Wrote:try this
Function Hot_Dialog
Code:
Copy      Help
,case WM_APP
,sel wParam
,,case 10
,,SetDlgItemText hDlg wParam F"{lParam%%s}"
,,case 9
,,int hwndControl=id(wParam hDlg)
,,SendMessage hwndControl EM_SETSEL 1000000000 1000000000
,,SendMessage hwndControl EM_REPLACESEL 0 F"{lParam%%i}[]"

Works perfectly!

Thank you kindly Kevin.

Matt


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)