English
Forum

CompactPath with internal Listbox

 

Jörg
Sellmeyer
Hi,
is the one bow or one feature? After my understanding might the Content the Listboxliste not from the function changed go:
CompileMarkSeparation
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
11/04/07  
 




Jörg
Sellmeyer
here's it really yet merkwürdiger, there p$ somehow zurechtgestutzt becomes before The length compressed becomes.
CompileMarkSeparation
 $H Windows.ph
 $H shlwapi.ph
Def Desktop(0) ReadIni$(Hkey_1,SoftwareMicrosoftWindowsCurrentVersionExplorerShell Folders,DeskTop)
Window 0,0 - 800,600
ChDir Desktop()
AddFiles **.lnk
Declare p$,DC&
p$ =
Print p$

While p$ >

    p$ = Listbox$(,2)
    print p$
    DC& = ~GetDC(%hwnd)
    ~PathCompactPath(DC&,Addr(p$),200)
    print p$
    ~ReleaseDC(%hwnd,DC&)

Wend

 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
11/04/07  
 




Jörg
Sellmeyer
OK, the second have I out:
CompileMarkSeparation
 $H Windows.ph
 $H shlwapi.ph
Def Desktop(0) ReadIni$(Hkey_1,SoftwareMicrosoftWindowsCurrentVersionExplorerShell Folders,DeskTop)
Window 0,0 - 800,600
ChDir Desktop()
AddFiles **.lnk
Declare p$,DC&
p$ =
Print p$

While p$ >

    Clear p$
    p$ = Listbox$(,2)
    print p$
    DC& = ~GetDC(%hwnd)
    ~PathCompactPath(DC&,Addr(p$),200 + Rnd(200))
    print SubStr$(p$,1,z)
    ~ReleaseDC(%hwnd,DC&)

Wend


i haven't been on it virtual, the Profanstrings indeed Nullbytes read along. The Return in p$ is through one Nullbyte zoned.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
11/04/07  
 




RGH
Jörg Sellmeyer
Hi,
is the one bow or one feature?


Weder yet, sooner a Eigenart. ;) See here: [...] 

Greeting
Roland
 
Intel Duo E8400 3,0 GHz / 4 GB RAM / 1000 GB HDD - ATI Radeon HD 4770 512 MB - Windows 7 Home Premium 32Bit - XProfan X4
11/04/07  
 




Jörg
Sellmeyer
RGH
Jörg Sellmeyer
Hi,
is the one bow or one feature?


Weder yet, sooner a Eigenart. ;) See here: [...] 

Greeting
Roland


Thanks your Statement there too a integrally simple Workaround for:
CompileMarkSeparation
p$ = Listbox$(,2)  + z
>
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
11/04/07  
 



I mean I had simply always only angehangen and it reichte.
 
11/05/07  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

1.121 Views

Untitledvor 0 min.
Untitled03/24/12
Frank Vorholzer04/12/11

Themeninformationen

this Topic has 3 subscriber:

Jörg Sellmeyer (4x)
iF (1x)
RGH (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