English
Forum

Tooltip for a row one Listviews settle

 
- Page 1 -



Julian
Schmidt
Hi,
can somehow of/ one row one Listviews a designed Tooltip allocate?
Greeting
 
XProfan X2
Win7 Home Premium, SP1, AMD Athlon(tm) II Neo K125 Processor

˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗˗
Webseite [...] 
02/18/12  
 



 
- Page 3 -



Thomas
Freier
miss too our List view Gurus.
another small Spielerei on a row related. can but on one Item extended go.
'GridBOX: Items inquire
 $H windows.ph
 $H commctrl.ph
Struct LVHitTestInfo = X&,Y&,flags&,Item&,SubItem&
Declare LVHTI#,LView&,l%
Dim LVHTI#,LVHitTestInfo

Proc LV_HitTest

    Parameters  LV&,X%,Y%
    ~GetCursorPos(LVHTI#)
    ~ScreenToClient(LV&,LVHTI#)
    SendMessage(LV&,~LVM_SUBITEMHITTEST,0,LVHTI#)
    Return LVHTI#.SubItem&

ENDPROC

Cls
LView& = Create("GridBox",%hwnd,"Test 0;0;100;Test 1;0;100;Test 2;0;100;Bemerkung;0;100",0,20,10,410,200)

WhileLoop 0,4

    AddStrings(LView&,"0 Test " + Str $(&Loop) + "|1 Test " + Str $(&Loop) + "|2 Test " + Str $(&Loop) + "|")

Wend

var Text$="Was is because at all one List view? \nOb tappt im dunkeln's believe or not. "+  \
"Sobald tappt im dunkeln ihren windows-PC switch on, appear already the first List view."+ \
"Wo, ask tappt im dunkeln? On their screen.\nDer windows screen is namely nothing other as one List view.\n"+ \
"(FRABBING)"
SetText LView&, 1, 3, Text$
sendmessage(Lview&,~LVM_SETEXTENDEDLISTVIEWSTYLE,0,~LVM_SUBITEMHITTEST)'markiert The row under the mouse
'sendmessage(LView&,0,~LVM_SETHOVERTIME,10) 'resolve useful one Click from ????
var ToolTip&=create("Tooltip",%hwnd,LView&,"")
var medit%=Create("MultiEdit",%hwnd,"",0,0,300,-400)
ShowWindow(medit%,0)

While 1

    WaitInput 100
    l% =  LV_HitTest(LView&,%mousex,%mousey)
    '

    SELECT LVHTI#.Item&

        CASEOF 1

        If LVHTI#.SubItem&=3

            SetText medit%,GetText$(LView&,LVHTI#.Item&,LVHTI#.SubItem&)
            Text$=""

            Whileloop GetLineCount(medit%)'Number of lines

                Text$=text $+GetLine$(medit%,&loop-1)+"\n"'single Lines read and Line break

            Wend

            settext ToolTip&,%hwnd,LView&,Text$

        EndIf

        CASEOF 3

        settext ToolTip&,%hwnd,LView&,"erste Wahl"
        OTHERWISE
        settext ToolTip&,%hwnd,LView&,""

    ENDSELECT

Wend

end

21.02.12 Nachtrag: the employment of LVM_SETHOVERTIME is me still unclear.
whom Tooltip I had already to that Show of dbf-MEMO-Feldern in the list view inserted. Script adjusted.
 
Gruß Thomas
Windows XP SP2, XProfan X2
02/21/12  
 




Jörg
Sellmeyer
Roland, have you got what on Structures changed? me was is with one of my Codes already noticed and here becomes one nichtvorhandenes .SubItem& angemeckert, though since it is.
Teste the still time - or überseh I what?

with Profan12 functions it incidentally correct. I wealth it's located on whom Points.

it's about whom Code Thomas suitor.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
09/26/14  
 




RGH
If you me whom code mail or here postest, can I time nachschauen. with Points have I nothing changed, only gedroht!

Greeting
Roland
 
XProfan X2
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
09/26/14  
 




Jörg
Sellmeyer
The code standing directly over my Posting.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
09/26/14  
 



[OFFTOPIC][/OFFTOPIC]
 
09/27/14  
 




Jörg
Sellmeyer
[OFFTOPIC]I hab's Yes yet dazugeschrieben (Text Thomas suitor) but I wished not Rolands intelligence offend, because I it directly zitiere [/OFFTOPIC]
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
09/27/14  
 




RGH
The functions by me but utterly perfect! Also: where are there störende spots?
but I faith, in the last Delivery was there one entsprechender bow drin, whom I by me already have resolved. means next Delivery to wait it out.

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
09/27/14  
 




Jörg
Sellmeyer
I schrub already, that by me the one fehlendes SubItem& angemeckert becomes. I accepted, that You there any point-variables differently treat as before.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
09/27/14  
 




RGH
No, there changes itself nothing. because of the Hashvariablen had I on the Parser smaller ones adjustments distinguished and there I had in the Interpreter a row To plenty auskommentiert. the was me though already noticed and by me is it already korrigiert. The next Delivery ought to tommorrow (sunday) ready go.

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
09/27/14  
 




Jörg
Sellmeyer
RGH (27.09.14)
No, there changes itself nothing. because of the Hashvariablen had I Parser smaller ones adjustments distinguished and there I had in the Interpreter a row To plenty auskommentiert. the was me though already noticed and by me is it already korrigiert. The next Delivery ought to tommorrow (sunday) ready go.

Greeting
Roland


You small Parser You...
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
09/27/14  
 



[OFFTOPIC][/OFFTOPIC]
 
09/27/14  
 




Jörg
Sellmeyer
Very beautiful - now functions it again.
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
09/27/14  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

28.421 Views

Untitledvor 0 min.
Uwe Lang04/13/20
RudiB.08/08/19
H.Brill12/30/18
Member 154727709/23/18
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