Вниз
Скачать: 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.039 c
6-1090908972
MetalFan
2004-07-27 10:16
2004.10.03
IdTCPClient&amp;IdTCPServer VS ServerSocket&amp;ClientSocket


4-1093175700
banderas
2004-08-22 15:55
2004.10.03
net send


14-1095242021
xman
2004-09-15 13:53
2004.10.03
Имя провайдера


3-1094187253
Еврей ;)
2004-09-03 08:54
2004.10.03
Запрос на сервере


14-1095089567
Knight
2004-09-13 19:32
2004.10.03
А что такое Альтернативный ввод текста и где его найти?




   Наверх