Update of /cvsroot/wnd/wnd/wnd_doc/doc/controls/control classes/listview
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17741
Modified Files:
listview.dtpl
Log Message:
bit of this and a bit of that
Index: listview.dtpl
===================================================================
RCS file: /cvsroot/wnd/wnd/wnd_doc/doc/controls/control classes/listview/listview.dtpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** listview.dtpl 17 May 2005 20:17:15 -0000 1.3
--- listview.dtpl 2 Jul 2005 09:42:01 -0000 1.4
***************
*** 618,622 ****
lp=tuple(dwOldState, dwNewState)<br>
The tuple contains the bit-flags of the items state.
! Use either the <a HREF="StateToString.html">StateToString</a>
method to translate it into human readable strings,
or use bitwise & on one of the LVIS_* constants as defined
--- 618,622 ----
lp=tuple(dwOldState, dwNewState)<br>
The tuple contains the bit-flags of the items state.
! Use either the <a HREF="Listview methods/StateToString.html">StateToString</a>
method to translate it into human readable strings,
or use bitwise & on one of the LVIS_* constants as defined
***************
*** 638,642 ****
<DT>'lmdoubble'
! <DD>left mouse double click on th elistview<br>
wp=allways zero<br>
lp=allways zero
--- 638,642 ----
<DT>'lmdoubble'
! <DD>left mouse double click on the listview<br>
wp=allways zero<br>
lp=allways zero
***************
*** 644,652 ****
<DT>'lmbdown'
! <DT>left mouse button released<br>
! <DD>wp=allways zero<br>
lp=allways zero
<br><br>
<DT>'return'
<DD>send when the return key is hit<br>
--- 644,658 ----
<DT>'lmbdown'
! <DD>left mouse button released<br>
! wp=allways zero<br>
lp=allways zero
<br><br>
+ <DT>'releasecapture'
+ <DD>send when the listview has released the mouse capture<br>
+ wp=allways zero<br>
+ lp=allways zero
+ <br><br>
+
<DT>'return'
<DD>send when the return key is hit<br>
***************
*** 705,709 ****
::item:: InsertItem
! <code>InsertItem(lineno, text, iImage=None, lp=None, iStateImage=0)</code><br>
<P>
Inserts an item.
--- 711,715 ----
::item:: InsertItem
! <code>InsertItem(lineno, text, iImage=None, lp=None, iOverlayImage=0, iStateImage=0)</code><br>
<P>
Inserts an item.
***************
*** 721,724 ****
--- 727,733 ----
the item. Can be any int or long with a
meaning to the user.
+ <DT>iOverlayImage
+ <DD>Index of an overlay image in the associated
+ state image list
<DT>iStateImage
<DD>Index of the state image in the associated
***************
*** 740,744 ****
::item:: Item
! <code>Item(text, iImage=None, lp=None, iStateImage=0)</code><br>
<P>
Append an item to the listview
--- 749,753 ----
::item:: Item
! <code>Item(text, iImage=None, lp=None, iOverlayImage=0, iStateImage=0)</code><br>
<P>
Append an item to the listview
***************
*** 826,830 ****
::item:: CutSelectItem
<code>CutSelectItem(lineno=-1)</code><br>
! <P>Marks the item as selected for a cut-and-paste selection
<br><br>
The default applies this to all items
--- 835,839 ----
::item:: CutSelectItem
<code>CutSelectItem(lineno=-1)</code><br>
! <P>Marks the item as selected
<br><br>
The default applies this to all items
***************
*** 844,848 ****
</P>
! ::item::DropHilightItem
<code>DropHilightItem(lineno=-1)</code><br>
<P>Marks the item as drop-hilighted
--- 853,857 ----
</P>
! ::item:: DropHilightItem
<code>DropHilightItem(lineno=-1)</code><br>
<P>Marks the item as drop-hilighted
***************
*** 930,939 ****
</P>
! ::item:: GetItemStateImage
! <code>GetItemStateImage(lineno)</code><br>
! <P>
! Returns the index of the state image currently
! assigned to the item.
! </P>
--- 939,943 ----
</P>
!
***************
*** 959,962 ****
--- 963,989 ----
</P>
+ ::item:: GetItemStateImage
+ <code>GetItemStateImage(lineno)</code><br>
+ <P>
+ Returns the index of the state image currently
+ assigned to the item.
+ </P>
+
+
+ ::item:: SetItemOverlayImage
+ <code>SetItemOverlayImage(lineno, iOverlayImage)</code><br>
+ <P>
+ Sets the overlay image for the item.
+ If lineno is -1 the image applies to all items in the listview.
+ </P>
+
+ ::item:: GetItemOverlayImage
+ <code>GetItemOverlayImage(lineno)</code><br>
+ <P>
+ Returns the index of the overlay image currently
+ assigned to the item.
+ </P>
+
+
::item:: Clear
<code>Clear()</code><br>
***************
*** 1151,1154 ****
--- 1178,1197 ----
+ ::item:: SetTooltips
+ <code>SetTooltips(Tooltip)</code><br>
+ <P>Associates a tooltip control to the Listview
+ <br><br>
+ <b>Return value</b><br>
+ the hwnd of the tooltip control previously asigned to the Listview
+ </P>
+
+ ::item:: GetTooltips
+ <code>GetTooltips()</code><br>
+ <P>Returns the hwnd of the tooltip control assigned to the Listview or
+ None
+ </P>
+
+
+
::item:: GetSelectedCount
<code>GetSelectedCount()</code><br>
|