English
Source / code snippets

inquire wastebasket windows

 
Hello on any
on the surface of my Dateiverwaltung is too one Button, around the windows-wastebasket aufzurufen. How can I but, similar the Desctop-symbol, this Button one other Icon allocate if the wastebasket Content has ? - concise, How question I the wastebasket ex ?
 
07/23/06  
 




Michael
Dell
Hello Horst,

small example:
Declare RecycleInfo#
Struct SHQUERYRBINFO = cbSize&,i64SizeLow&,i64SizeHigh&,i64NumItemsLow&,i64NumItemsHigh&
Dim RecycleInfo#,SHQUERYRBINFO
Def SHEmptyRecycleBin(3)      !SHELL32.DLL,SHEmptyRecycleBinA      %hwnd,lpRootPath$,dwFlags&
Def SHUpdateRecycleBinIcon(0) !SHELL32.DLL,SHUpdateRecycleBinIcon
Def SHQueryRecycleBin(2)      !SHELL32.DLL,SHQueryRecycleBinA      lpRootPath$,RecycleInfo# as SHQUERYRBINFO
RecycleInfo#.cbSize& = SizeOf(RecycleInfo#)
SHQueryRecycleBin(,RecycleInfo#)

Ifnot RecycleInfo#.i64SizeHigh&

    MessageBox((Entries:  +Str $(RecycleInfo#.i64NumItemsLow&)+
    Size: +Str $(RecycleInfo#.i64SizeLow&)+ Bytes),in the Trashcan...,48)

Else

    MessageBox(More as 2 GB in the Trashcan.,in the Trashcan...,48)

EndIf

End
 
Salu Michael...

Hab zwar krumme Fieß awer dofir e' ecklich Gsicht! 
07/23/06  
 



Hello Michael
thanks was very the, I sought have !
 
07/23/06  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

6.280 Views

Untitledvor 0 min.
PETER195607/18/18
GDL12/18/15
Uwe Lang07/22/14
Torsten Boo08/11/13
More...

Themeninformationen

this Topic has 2 subscriber:

unbekannt (2x)
Michael Dell (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