msi [1/6]: Highlight the text in the PathEdit control

James Hawkins truiken at gmail.com
Mon Aug 28 19:53:20 CDT 2006


Hi,

Changelog:
* Highlight the text in the PathEdit control.

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

-- 
James Hawkins
-------------- next part --------------
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 );
 
-- 
1.4.2


More information about the wine-patches mailing list