Вниз
Скачать: CL | DM;

Путь к диалогу выполнить Windows-a   Найти похожие ветки 

 
DelphiN! ©   (2004-09-13 09:07) [0]

Не подскажет ли кто путь к диалогу выполнить Виндовса(как его вызвать)


 
easy ©   (2004-09-13 10:08) [1]

procedure ShowRunDialog(Handle:HWND);
var
   RunDialog: function (hOwner: HWND; hIcon: HICON; pszDirectory: LPWSTR ;
           szTitle: LPWSTR ; szPrompt: LPWSTR ; uFlags: Integer): Integer;
stdcall;

   DLLHandle: HMODULE ;
begin

   DLLHandle := LoadLibrary("SHELL32.DLL");
   if DLLHandle <> 0 then begin
       @RunDialog := GetProcAddress(DLLHandle, Pchar(61));
       if @RunDialog <> nil then
           RunDialog(handle, 0, NIL, NIL, NIL , 2)
       else
           MessageBox(Handle, Pchar("Cannot show RunDialog"),
Pchar("Error"), MB_OK or MB_IconError);

       FreeLibrary(DLLHandle);
   end
   ELSE
       MessageBox(Handle, Pchar("Cannot load SHELL32.DLL."),
Pchar("Error"), MB_OK or MB_IconError);

end;



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.027 c
4-1093438611
Xobbit
2004-08-25 16:56
2004.10.03
Запуск "Выполнить"


1-1095697968
N
2004-09-20 20:32
2004.10.03
TGisNavigator


1-1095316993
Чайник
2004-09-16 10:43
2004.10.03
Перелив цветов


8-1089802421
ПЛОВ
2004-07-14 14:53
2004.10.03
RGBA


9-1086382702
Vin_Ghost
2004-06-05 00:58
2004.10.03
перемещение по миникарте




   Наверх