English
Regulars table & Café

DlgDirListComboBox.

 


Description:

DlgDirListComboBox filling a Combobox with whom Inhalten one Folder. The function filling The Combobox with all Files, Laufwerken and Subfolders, The whom angegebenen Attributen correspond to. under not NT-based Systemen gives The function short File and Ordnernamen back.




Deklaration:

DEF @DlgDirListComboBox(5) !User32,DlgDirListComboBoxA




Parameter:

1.Parameter: lever the Fensters, on the The Combobox platziert is.
2.Parameter: address one Strings or Memory-Variable with a String, the a To durchsuchenden Ordner (evtl. with a Filenames) contains. The function changes the actually directory into angegebenen Ordner.
3.Parameter: The ID the To füllenden Combobox as Integer.
4.Parameter: ID one Static Controls, the whom actually Suchpfad spend should.
5.Parameter: ? Happen? for Dateiattribute the To seeking Files. different ? Happen? can with | add go.
-$20 = archive
-$10 = directory
-$4000 = drives
-$8000 = solely Results with all angegebenen Attributen lists.
-$2 = cache
-$1 = Schreibgeschützt
-$0 = read- and Schreibzugriff
-$4 = system
-$2000 = Messages go from the function on Main window and not on The Combobox gesendet.



Return Value:

with failure 0, otherwise <>0.


Examples:

CompileMarkSeparation
WINDOWSTYLE 31
WINDOWTITLE "Dateibrowser"
WINDOW 0,0-640,440
DEF @DlgDirListComboBox(5) !"User32","DlgDirListComboBoxA"
DEF @DlgDirSelectComboBoxEx(4) !"User32","DlgDirSelectComboBoxExA"
Declare Liste&,Suchstring$,TEXT&,Auswahl#,DLGDIR&
LET LISTE&=@Control("ComboBox","",$40000+$40000000+$10000000+$200000+$100000,20,40,300,300,%HWND,2111,%HINSTANCE)
LET TEXT&=@Control("STATIC","",$40000000+$10000000,20,20,300,20,%HWND,2112,%HINSTANCE)
LET Suchstring$="*.*"
@DlgDirListComboBox(%HWND,@addr(Suchstring$),2111,2112,$4000+1+2+4+$10+$20)

While 0=0

    Getmessage

    IF %LastMessage=515

        DIM Auswahl#,500
        LET DLGDIR&=@DlgDirSelectComboBoxEx(%HWND,Auswahl#,500,2111)

        IF DLGDIR&=1

            CHDIR @string$(Auswahl#,0)

        ENDIF

        Dispose Auswahl#
        @DlgDirListComboBox(%HWND,@addr(Suchstring$),2111,2112,$4000+1+2+4+$10+$20)

    endif

wend

 
03/27/05  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.797 Views

Untitledvor 0 min.
Untitled10/27/12
Juergen Baier11/27/11

Themeninformationen

this Topic has 1 subscriber:

unbekannt (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie