Getting pasted test
-
Hi Is there any way to get the pasted text in a dialog? Any control in the dialog may have the focus. Regards
-
Hi Is there any way to get the pasted text in a dialog? Any control in the dialog may have the focus. Regards
-
You can read the contents of the clipboard with the
GetClipboardData()
[^] function, and write it to any control.One of these days I'm going to think of a really clever signature.
Thanks But I want to get the text when it's pasted. I checked WM_PASTE but it is send to the control that has the focus not it's parent CWnd. My dialog has some control of buttons, edit boxes, list control, ... so it is posible that any of these controls has the focus (when something is paste) Regards
-
Thanks But I want to get the text when it's pasted. I checked WM_PASTE but it is send to the control that has the focus not it's parent CWnd. My dialog has some control of buttons, edit boxes, list control, ... so it is posible that any of these controls has the focus (when something is paste) Regards