| |
|
|
- Page 1 - |
|
Julian Schmidt | Hi, can somehow of/ one row one Listviews a designed Tooltip allocate? Greeting |
|
|
| |
|
|
| |
|
- 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 X2Intel 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] |
|
|
| |
|
|
|
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] |
|
|
| |
|
|
|
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 ▲ |
|
|
|