[Wnd-commit] wnd/wnd_doc/doc/controls/control classes/treeview treeview.dtpl,1.1.1.1,1.2
Status: Alpha
Brought to you by:
jurner
|
From: jürgen u. <cer...@us...> - 2005-05-15 10:10:15
|
Update of /cvsroot/wnd/wnd/wnd_doc/doc/controls/control classes/treeview In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9571 Modified Files: treeview.dtpl Log Message: bit of this and a bit of that Index: treeview.dtpl =================================================================== RCS file: /cvsroot/wnd/wnd/wnd_doc/doc/controls/control classes/treeview/treeview.dtpl,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** treeview.dtpl 29 Apr 2005 15:17:54 -0000 1.1.1.1 --- treeview.dtpl 15 May 2005 10:09:32 -0000 1.2 *************** *** 124,129 **** <DL> <DT>'beginlabeledit' ! <DD>wp=tuple(hItem, lParam)<br> ! wp=text of the item<br> Return False to disallow label editing <br><br> --- 124,130 ---- <DL> <DT>'beginlabeledit' ! <DD>wp=hItem<br> ! lp= tuple(lParam, text) ! <br> Return False to disallow label editing <br><br> *************** *** 131,136 **** <DT>'begindrag' <DD>a drag with the left mouse button<br> ! wp=tuple(lParam, ||type-POINT||)<br> ! lp=hItem<br> ||type-POINT|| holds the coordinates of the item being dragged <br><br> --- 132,137 ---- <DT>'begindrag' <DD>a drag with the left mouse button<br> ! wp= hItem<br> ! wp= tuple(lParam, ||type-POINT||)<br> ||type-POINT|| holds the coordinates of the item being dragged <br><br> *************** *** 138,142 **** <DT>'beginrdrag' <DD>a drag with the right mouse button<br> ! wp=tuple(lParam, ||type-POINT||)<br> lp=hItem<br> ||type-POINT|| holds the coordinates of the item being dragged --- 139,144 ---- <DT>'beginrdrag' <DD>a drag with the right mouse button<br> ! wp=hItem<br> ! lp= tuple(lParam, ||type-POINT||)<br> lp=hItem<br> ||type-POINT|| holds the coordinates of the item being dragged *************** *** 169,175 **** <br><br> <DT>'endlabeledit' ! <DD>wp=tuple(hItem, lParamm-of-the-item)<br> ! wp=new text<br> Return False to disallow the change.<br> If the user canceled label editing no message will be send --- 171,183 ---- <br><br> + <DT>'destroy' + <DD>the control is about to be destroyed<br> + wp=allways zero<br> + lp=allways zero + <br><br> + <DT>'endlabeledit' ! <DD>wp= hItem<br> ! wp==tuple(lParam, text)<br> Return False to disallow the change.<br> If the user canceled label editing no message will be send *************** *** 199,203 **** lp=lParam of the item<br> You will receive this message if one or more aspects of the item are callback items. No matter what aspect is a callback ! you should allways return a 4-tuple(item-text, iImage, iSelectedImage, hasChildren). The dispinfo handler then will decide wich members of the tuple to use. <br> --- 207,211 ---- lp=lParam of the item<br> You will receive this message if one or more aspects of the item are callback items. No matter what aspect is a callback ! you should allways return a 4-tuple(item-text, iImage, iSelectedImage, hasChildren (True or False)). The dispinfo handler then will decide wich members of the tuple to use. <br> *************** *** 224,229 **** <DT>'removeitem' <DD>an item has been removed<br> ! wp=lParam of the item<br> ! lp=hItem <br><br> --- 232,237 ---- <DT>'removeitem' <DD>an item has been removed<br> ! wp=hItem<br> ! lp=lParam of the item <br><br> *************** *** 239,244 **** <DT>'selchange' <DD> position<br> ! wp=allways zero<br> ! lp=tuple(handle-old-item, handle-new-item)<br> If you return False in response this call the change is disallowed --- 247,252 ---- <DT>'selchange' <DD> position<br> ! wp=hItem<br> ! lp=hOldItem<br> If you return False in response this call the change is disallowed *************** *** 248,252 **** <DD>The treview informs you that you must update the information for a callback item<br> wp=handle of the item<br> ! lp=tuple(new text for the item, lParam-of-the-item)<br> This message is typically send in response to a label edit for a callabck item --- 256,260 ---- <DD>The treview informs you that you must update the information for a callback item<br> wp=handle of the item<br> ! lp=tuple(lParam-of-the-item, new text for the item)<br> This message is typically send in response to a label edit for a callabck item *************** *** 495,507 **** <DD>user defined value to associate to the item<br> Can be any int or long <DT>fInsert <DD>the insert flag. Can be 'last' to apend, 'first' to insert before ! or 'sort' to add it sorted. <br><br> <DT>childinfo ! <DD>This flag can be set to True to indicate you are interested ! in setting the information if an item has children at ! runtime<br><br> <DT>integral --- 503,523 ---- <DD>user defined value to associate to the item<br> Can be any int or long + <br><br> + <DT>fInsert <DD>the insert flag. Can be 'last' to apend, 'first' to insert before ! or 'sort' to add it sorted. 'sort' is case insensitive. ! Alternatively you can specify a item handle to insert the item ! after the specified item. <br><br> <DT>childinfo ! <DD>You can set this flag to indicate if the item has children. ! <br><br> ! If you set this flag to True the item is assumed to have children. ! If you set it to -1 the system will call you back ! everytime it needs the information with a 'getdispinfo' message ! to request the required information. ! <br><br> <DT>integral *************** *** 683,687 **** </P> ! ::item:: Select --- 699,713 ---- </P> ! ::item:: SetChildInfo ! <code>SetChildInfo(handle, value)</code><br> ! <P>Alters the flag used to indicate if an item has subitems or not. ! <br><br> ! value can be True, False or -1. ! <br> ! If True the item is supposed have child items. If false it is supposed have no child ! items. -1 makes it a callback item. ! <br><br> ! Displaying of the + - box, for example, is affected by the value of this flag. ! </P> ::item:: Select *************** *** 1050,1055 **** </P> ! ::item:: SetImageListState ! <code>SetImageListState(Imagelist)</code><br> <P>Sets the state Imagelist for the Treeview.<br> Return value is the handle of the previous state --- 1076,1081 ---- </P> ! ::item:: SetImagelistState ! <code>SetImagelistState(Imagelist)</code><br> <P>Sets the state Imagelist for the Treeview.<br> Return value is the handle of the previous state *************** *** 1057,1068 **** </P> ! ::item:: GetImageListState ! <code>GetImageListState()</code><br> <P>Returns the handle of the the state Imagelist of the Treeview or None.<br> </P> ! ::item:: SetImageListNormal ! <code>SetImageListNormal(Imagelist)</code><br> <P>Sets the normal Imagelist for the Treeview.<br> Return value is the handle of the previous normal --- 1083,1094 ---- </P> ! ::item:: GetImagelistState ! <code>GetImagelistState()</code><br> <P>Returns the handle of the the state Imagelist of the Treeview or None.<br> </P> ! ::item:: SetImagelistNormal ! <code>SetImagelistNormal(Imagelist)</code><br> <P>Sets the normal Imagelist for the Treeview.<br> Return value is the handle of the previous normal *************** *** 1070,1075 **** </P> ! ::item:: GetImageListNormal ! <code>GetImageListNormal()</code><br> <P>Returns the handle of the the normal Imagelist of the Treeview or None.<br> --- 1096,1101 ---- </P> ! ::item:: GetImagelistNormal ! <code>GetImagelistNormal()</code><br> <P>Returns the handle of the the normal Imagelist of the Treeview or None.<br> *************** *** 1078,1104 **** - ::item:: - <code></code><br> - <P> - </P> - - - ::item:: - <code></code><br> - <P> - </P> - - - ::item:: - <code></code><br> - <P> - </P> - - - ::item:: - <code></code><br> - <P> - </P> - - --- 1104,1106 ---- |