to liuminghao: 还是奇怪!
SelectDirectory函数有两种调用格式:
function SelectDirectory(var Directory: string; Options: TSelectDirOpts; HelpCtx: Longint): Boolean; overload;
function SelectDirectory(const Caption: string; const Root: WideString; out Directory: string): Boolean; overload;
如果是用第二种格式,效果和SHBrowseForFolder一莫一样! 怎么会界面不美观呢?
界面一莫一样啊!!!!!!!!!!!!!!!!!!!!!!