Module: wine Branch: master Commit: 7df642117c2e23949a329ba6d070f7078427c0fe URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=7df642117c2e23949a329ba6...
Author: James Hawkins truiken@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 );