English
Forum

SelectLine() and Focus

 

Georg
Hovenbitzer
Hello together,

if I with SelectLine() a row markiere, in a list view where another row markiert was, we the Focus not on the new row pulled. it remaining on the row everybody can before by mouse or keyboard markiert has.

gives it a Possibility Mark and Focus a row To settle.
the only I found have is: ListView_SetItemState Macro, there becomes of Focus spoken.
For this know I but not well enough from

Greeting
Georg
 
Viele Grüsse, Georg Hovenbitzer(Windows XP Pro, XProfan 11.2, Profan2Cpp 1.6a)
10/27/06  
 



look you times the Message LVM_SETITEMSTATE on.
 
10/27/06  
 




Georg
Hovenbitzer
Hello Andreas,

have I straight, many Thanks.
there exists for me the The problem LVITEM Structure to to make up.

have you got for Perhaps one demonstration ?

Greeting
Georg
 
Viele Grüsse, Georg Hovenbitzer(Windows XP Pro, XProfan 11.2, Profan2Cpp 1.6a)
10/27/06  
 



Eigendlich will need you still only:
CompileMarkSeparation
 {$cleq}
declare myLV#
dim myLV#,lv_item

with myLv#

 

without XPSE fügst hold hinzu:
CompileMarkSeparation
struct LV_ITEM=MASK&,IITEM&,ISUBITEM&,STATE&,STATEMASK&,PSZTEXT#(4),CCHTEXTMAX&,IIMAGE&,LPARAM&
 
10/27/06  
 




Frank
Abbing
Hm, probier time:

SelectLine(listview&,0,6) ;Deselektiert any Lines
SetFocus(listview&)
SelectLine(listview&,100,1) ;Selektiert row 100 and scrolls To row 100
 
10/27/06  
 




Georg
Hovenbitzer
Hello together,

@Frank
These Variante I had already beseech, the Fokus becomes unfortunately thereby not staid.

@iF
with the hint has it worked
CompileMarkSeparation
With myLV#

    .Mask& = $8
    .State& = $1 | $2
    .StateMask& = -1

EndW
>

so becomes The row markiert and get whom Fokus.
I ought to me still time XPSE standing.

Greeting

Georg
 
Viele Grüsse, Georg Hovenbitzer(Windows XP Pro, XProfan 11.2, Profan2Cpp 1.6a)
10/27/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.243 Views

Untitledvor 0 min.
Manfred Barei03/02/14
Uwe Lang01/01/12

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