04-29-2013, 04:42 AM
Currently text is appended below current text in a rich text box, from the top down. I see that MSDN library has scroll to caret method so you can start at the bottom of the text box and move the text UP.
Can I use EM_SCROLLCARET to achieve this in the dialog? If so, could I have an example? Currently I am using the following to output the text to the dialog
Macro TRP_FINAL
Function _15_4_HOT
Thanks kindly
Matt
Can I use EM_SCROLLCARET to achieve this in the dialog? If so, could I have an example? Currently I am using the following to output the text to the dialog
Macro TRP_FINAL
Function _15_4_HOT
int hwndControl=id(wParam hDlg)
,, SendMessage hwndControl EM_SETSEL 1000000000 1000000000
,, SendMessage hwndControl EM_REPLACESEL 0 F"{lParam%%s}[]"
Thanks kindly
Matt