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

TOpenDialog   Найти похожие ветки 

← →
K.o.Z   (2004-06-02 18:19) [0]

TOpenDialog для выбора директорий без VCL на Win32 API.
  Как это осуществить?


← →
serge ©   (2004-06-02 18:22) [1]

SHBrowseForFolder


← →
WebErr ©   (2004-06-02 18:25) [2]

OPENFILENAME + WinSDK Help


← →
DVM ©   (2004-06-02 19:10) [3]

function SelectFolder(Wnd: HWND; Text, Title: PChar; OutPutDir: string; ShowPath: Bool): string;
var
 pidlRoot, resPIDL : PITEMIDLIST ;
 tbi : TBrowseInfoA;
 name, path : Array[0..max_path] of char;
begin
 SHGetSpecialFolderLocation(wnd, CSIDL_DRIVES,PidlRoot);
 tbi.pidlRoot := PidlRoot;
 tbi.lpszTitle := title;
 if (text <> nil) or showPath then tbi.ulFlags := BIF_RETURNONLYFSDIRS or BIF_STATUSTEXT
   else tbi.ulFlags := BIF_RETURNONLYFSDIRS;
 tbi.lpfn:=nil;
 tbi.hwndOwner:=wnd;
 tbi.pszDisplayName:=name;;
 ResPIDL:=SHBrowseForFolder(tbi);
 if ResPIDL <> nil then
   begin
     SHGetPathFromIDList(ResPIDL,path);
     Result:=Path;
   end
 else
   Result:="";
end;



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

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



Память: 0.45 MB
Время: 0.02 c
1-1087973954
Aldor
2004-06-23 10:59
2004.07.11
%d в FormatStrings поддерживает Int64?


14-1087740468
DDDeN
2004-06-20 18:07
2004.07.11
CDA Track Project


6-1083932647
SiDoff
2004-05-07 16:24
2004.07.11
Поможите с SMTP разобраться ....


6-1084428865
P.D.YU
2004-05-13 10:14
2004.07.11
tserversocket and tclientsocket


14-1087417843
AlexG
2004-06-17 00:30
2004.07.11
Людские странности...




   Наверх