English
Forum

In Listbox entry blue Mark

 

Pedro
Santos
Hello
use this code of Andreas Miethe?? around the seriellen interfaces in a Listbox view, the functions too very well, still unfortunately if I each Items anclicke go these blue markiert and at nochmaligen anclicken demarkiert
still I need is the only the Item blue markiert the angecklickt becomes any others mussen demarkiert stay. probably there a Sendmessage for still have in the Help nothing suitable found. can someone help?

thanks
greeting

Pedro
CompileMarkSeparation
proc procura_coms

    coms&=CreateMultiListBox(_dlg&,"",0019,0020,0110,0091) cria a Multiedit que vai receber as COMs encontradas
    ClearList   limpa a lista das COMs
    avalia as COMs disponíveis no PC
    X& = 1

    Whilenot X& = 51

        ComNome$ = "\\.\COM"+STR$(X&)
        ComHandle& = ~CreateFile(Addr(Comnome$),
        ~GENERIC_READ |
        ~GENERIC_WRITE,
        0,0,~OPEN_EXISTING,
        ~FILE_ATTRIBUTE_NORMAL |
        ~FILE_FLAG_OVERLAPPED,0)

        If ComHandle& <> ~INVALID_HANDLE_VALUE

            Addstring "COM"+STR$(X&)  adiciona Ã	 lista
            ~CloseHandle(ComHandle&)

        Endif

        Inc X&

    EndWhile

    Eintrag wählen
    linha%=@GetCursel(coms&)
    com$=@GetString$(coms&,linha%)     in com$ steht der gewählter entry
 
Windows XP Home
Xprofan 10
06/21/06  
 




Jörg
Sellmeyer
If you instead of the selbstdefinierten function CreateMultiListbox simply The Profanfunktion CreateListbox(), b.z.w. Create(Listbox,...) verwendest, ought to it functions.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
06/21/06  
 




Pedro
Santos
Hello Jörg

Yes, with the Profan function Listbox functions it

thanks

greeting

Pedro
 
Windows XP Home
Xprofan 10
06/21/06  
 




Frank
Abbing
Zuständig this is the Flag LBS_MULTIPLESEL ($8 ).
 
06/21/06  
 



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.433 Views

Untitledvor 0 min.
Sven Bader08/17/21
Thomas Zielinski10/22/20
Walter06/08/18
Untitled03/24/12
More...

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