Display Destination Path in a non-editable field
Posted 17 April 2001 - 19:42
Posted 18 April 2001 - 01:00
You'll need a custom dialog to accomplish this. Copy the screen from _isres.dll to _isuser.dll, and copy the code from the .rul-script containing the code for SdShowDestPath. Make your changes in the copied code.
Success, Ide
Posted 19 April 2001 - 20:21
Posted 19 April 2001 - 20:25
Posted 20 April 2001 - 09:36
prototype DialogFieldDisable( STRING, INT, INT);
function DialogFieldDisable( svDlg, iFieldId, iAction)
HWND hwndFieldName, hwndDlg;
BOOL bvEnableFieldName;
begin
hwndDlg = CmdGetHwndDlg( svDlg );
hwndFieldName = GetDlgItem( hwndDlg, iFieldId );
bvEnableFieldName = ( iAction == ENABLE );
EnableWindow( hwndFieldName, bvEnableFieldName );
end;
Call like :
DialogFieldDisable(svDialog, ControlID, ENABLE);
or
DialogFieldDisable(svDialog, ControlID, DISABLE);
Ide