Ignore:
Timestamp:
Aug 25, 2009, 9:17:41 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

GUI-Tools: More work on EVFSGUI V.next (several additions)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/guitools-2.0/shared/smbtree.vrs

    r315 r319  
    1111        UserCred = '-N'
    1212    end
     13
     14    if ShowHidden = 'SHOWHIDDEN' | ShowHidden = '' then ShowHidden = 1
     15
    1316    say 'detach 'samba.!smbtreeexe' 'debuglevel' 'UserCred' >'samba.!msg
    1417    address cmd 'detach 'samba.!smbtreeexe' 'debuglevel' 'UserCred' >'samba.!msg
     
    6366                    parent = smbtree.!machine
    6467                    smbtree.!share = VRMethod( "CN_smbtree", "AddRecord",parent,, share||'0D0A'x||comment, res)
     68                    if pos("$", share) > 0 then ok = VRMethod( "CN_smbtree", "SetRecordAttr", smbtree.!share, "Visible", ShowHidden)
    6569                end
    6670            end
     
    146150*/
    147151_GuessIcon: procedure
    148     text = arg(1)
     152    text = translate(arg(1))
    149153    select /* Printer guessing */
    150154        when pos('LJ',text)      > 0 then res = '#65:PMWP.DLL'
     
    158162        when pos('LEXMARK',text) > 0 then res = '#65:PMWP.DLL'
    159163        when pos('IPC$',text)    > 0 then res = '#59:PMWP.DLL'
     164        when pos('GHOSTPDF',text)> 0 then res = '#65:PMWP.DLL'
     165        when pos('PDF',text)     > 0 & ,
     166             pos('WRI',text)     > 0 then res = '#65:PMWP.DLL'
    160167        otherwise res = "#34:PMWP.DLL"
    161168    end
Note: See TracChangeset for help on using the changeset viewer.