English
Forum

first slot rechtsbündig format

 

Jörg
Sellmeyer
was is always so, that the first row not rechtsbündig goes? Perhaps Have I indeed a Error installed
CompileMarkSeparation
 $I Listview_Funktionen.inc
Declare LVDllHdl&  _ONCE
Declare LVItemtexts#,LVbereich#,LVBuffer#,LVParamBuffer#
Dim LVParamBuffer#,320
Dim LVItemtexts#,16384
LVDllHdl&=UseDll(Listview.dll)
Declare ListView2&

Proc TextListView2

    WhileLoop 0,10

        SetItem ListView2&,Test  + Format$(0000,&Loop),Test,Test

    Wend

EndProc

Proc SetListView2

    InitMessages(%hwnd)
    Declare tmptxt$
    tmptxt$=Spalte 1
    IColumn(ListView2&,Addr(tmptxt$),200,1)
    tmptxt$=Spalte 2
    IColumn(ListView2&,Addr(tmptxt$),140,1)
    tmptxt$=Spalte 3
    IColumn(ListView2&,Addr(tmptxt$),100,0)
    TextListView2
    ShowListView(ListView2&,1,1,Width(%hwnd) - 2,Height(%hwnd) - 2)

EndProc

Proc ExitLV

    Dispose LVItemtexts#
    Dispose LVParamBuffer#
    CloseMessages(%hwnd)
    FreeDll LVDllHdl&

EndProc

UserMessages 16
WindowStyle $218
Window 100,100 - 620,520
ListView2&=CreateListView(%hwnd,%hinstance,0,14417146,-1,$0)
SetListView2
SetColumnAlignment(ListView2&,0,1)
Declare ende%

WhileNot ende%

    WaitInput

    If %umessage = 16

        ende% = 1

    EndIf

Wend

'./../../function-references/XProfan/exitlv/'>ExitLV
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
03/13/07  
 




Jörg
Sellmeyer
has itself Done after I Update(List view2&) installed have. ought to Perhaps in the Help erwähnt go.

Nachtrag:
But still strange, that one Bugfix 02.01 again bring into action must, around the slot rechtsbündig To catch. with whom others functions it too without. One bow? or a MS-Eigenwilligkeit?
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
03/13/07  
 




Frank
Abbing
objectively is it so, that The left slot (index 0) in a list view only The Textausrichtung left receive can. in the Win32.hlp standing moreover:

Specifies the alignment of the column heading and the subitem Text in the column. Diese member can be one of the following values:


LVCFMT_CENTERText is centered.
LVCFMT_LEFTText is left-aligned.
LVCFMT_RIGHTText is right-aligned.

The leftmost column in a list view control must be left aligned.


Komischerweise can but the Align as an afterthought too for slot 0 changed go! again once one MS-Inkonsequenz... hau me means not, I can't help it .

Dass some functions first to one Update react is too normal. some react only, if the Focus on the List view lying. i want but ungern whom Focus from the Dll settle let, if it not his must. is sure not always erwünscht.
in the Zweifelsfall means always first one Update(listviewhandle) try.
 
03/13/07  
 




Michael
Wodrich
With the first slot must linksbündig his is well the Sorting because of written been. there wished itself the Phone-Support well some angry ask save, wieso The Sorting suddenly not any more is correct...

Best wishes
Michael Wodrich
 
Programmieren, das spannendste Detektivspiel der Welt.
03/15/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.202 Views

Untitledvor 0 min.
rquindt03/20/18
Christof Neuß11/01/11

Themeninformationen



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