James Hawkins : msi: Highlight the text in the PathEdit control.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Aug 29 07:19:31 CDT 2006


Module: wine
Branch: master
Commit: 7df642117c2e23949a329ba6d070f7078427c0fe
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=7df642117c2e23949a329ba6d070f7078427c0fe

Author: James Hawkins <truiken at gmail.com>
Date:   Mon Aug 28 17:53:20 2006 -0700

msi: Highlight the text in the PathEdit control.

---

 dlls/msi/dialog.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/msi/dialog.c b/dlls/msi/dialog.c
index 465af05..4ff8632 100644
--- a/dlls/msi/dialog.c
+++ b/dlls/msi/dialog.c
@@ -1434,6 +1434,9 @@ static UINT msi_dialog_pathedit_control(
 
     val = msi_dup_property( dialog->package, prop );
     SetWindowTextW( control->hwnd, val );
+
+    SendMessageW( control->hwnd, EM_SETSEL, 0, -1 );
+
     msi_free( val );
     msi_free( indirect );
 




More information about the wine-cvs mailing list