怎样设置 DirectoryListBox 的初始路径为 我得电脑 或者桌面  不用TDriveComboBox?
请高手指教

解决方案 »

  1.   

    两个 不同 的应用程序 其中一个应用程序发消息:
        hMain:=FindWindow(nil, PChar('K9测试系统'));    if hMain = NULL then
            showmessage('Can not find Main Window!')
        else
        begin
            hChild:=FindWindowEx(hMain,0,PChar('TButton'),PChar('Button1'));
            if hChild = NULL then 
                showmessage('Can not find Button1!')
            else
            begin
                SendMessage(hChild,WM_LBUTTONDOWN,0,0);
                SendMessage(hChild,WM_LBUTTONUP,0,0);
            end;
        end;为什么 没有触发 另外一各应用程序上面的  按钮的 Click 事件 ?
    请  高手 牛人们 指教了!