| View previous topic :: View next topic |
| Author |
Message |
Demokos
Joined: 28 Dec 2005 Posts: 84
|
Posted: Fri Oct 27, 2006 8:48 pm Post subject: Select All |
|
|
| Can you please say me what is(are) the message(s) (and the order of them if there is more that one) to use with Send/PostMessage to do a SelectAll (^a) before a WM_COPY, and with which parameters ? Thanks by advance for your answers. |
|
| Back to top |
|
 |
Demokos
Joined: 28 Dec 2005 Posts: 84
|
Posted: Sat Oct 28, 2006 8:23 am Post subject: |
|
|
Nobody knows  |
|
| Back to top |
|
 |
PhiLho
Joined: 27 Dec 2005 Posts: 6721 Location: France (near Paris)
|
Posted: Sat Oct 28, 2006 11:14 am Post subject: |
|
|
Send ^a
Even this isn't guarantee to work on all applications, because it has to be coded in the program itself.
So there is no universal order to tell "Select All", even more as it depends on the target control (edit, list view, custom control?).
If the control is a simple Edit or RichEdit, there are EM_ messages to control the selection, you have to search for them. _________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2") |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 5790
|
Posted: Sat Oct 28, 2006 11:51 am Post subject: |
|
|
| PhiLho wrote: | | So there is no universal order to tell "Select All", even more as it depends on the target control (edit, list view, custom control?). |
I was wondering .. Thanks for the Info.  _________________ SKAN - Suresh Kumar A N |
|
| Back to top |
|
 |
Demokos
Joined: 28 Dec 2005 Posts: 84
|
Posted: Sat Oct 28, 2006 12:20 pm Post subject: |
|
|
| PhiLho wrote: | | So there is no universal order to tell "Select All", even more as it depends on the target control (edit, list view, custom control?). |
Thanks PhiLho. I didn't knew that, too. I thought there was a "universal" method, as for copy, cut and paste, with something like WM_GETTEXTLENGTH and WM_GETTEXT, but I made some try and never succeed. |
|
| Back to top |
|
 |
|