Вниз
Скачать: 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.05 c
1-1095691269
Slaga
2004-09-20 18:41
2004.10.03
Создание шаблона набора компонент


1-1095306828
linux
2004-09-16 07:53
2004.10.03
Заставка для программы


14-1095244104
NailMan
2004-09-15 14:28
2004.10.03
Давал ли вам чего-нибудь полезного Спам?


1-1095171547
Vladimir_
2004-09-14 18:19
2004.10.03
Помогите с TreeView


6-1090675089
banderas
2004-07-24 17:18
2004.10.03
idTCPServer &amp; idTCPClient1 передача служебной информации




   Наверх