Вниз
Скачать: 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.023 c
1-1095400109
Leaner
2004-09-17 09:48
2004.10.03
Вызов процедуры из собственной библиотеки.


3-1093960141
stud
2004-08-31 17:49
2004.10.03
кто работал с master view от квантума


3-1094122564
Rostislav Rotaru
2004-09-02 14:56
2004.10.03
Нужен ваш совет


14-1095317193
080D:07BBh
2004-09-16 10:46
2004.10.03
Intel vs AMD


4-1092953711
ZeBriD
2004-08-20 02:15
2004.10.03
как можно вывести комп из спящего режима?




   Наверх