Página 1 de 1

TTreeView y lCheckBoxes

Publicado: Mar Jun 05, 2007 12:40 pm
por desarrollo
Hola,
¿Hay algún evento que se dispare al cambiar el estado del CheckBox de un
TreeView?
Quiero, por ejemplo, que al marcar el padre se marquen automáticamente los
hijos.
Saludos
Jose A. Suarez

TTreeView y lCheckBoxes

Publicado: Mar Jun 05, 2007 1:13 pm
por ignacio
José,
No, me temo que no lo hay, lo siento.
Estas son las notificaciones que ofrece el control:
Notification Description
TVN_BEGINDRAG Signals the start of a drag-and-drop operation.
TVN_BEGINLABELEDIT Signals the start of in-place label editing.
TVN_BEGINRDRAG Signals that the right mouse button has started a drag-and-drop operation.
TVN_DELETEITEM Signals the deletion of a specific item.
TVN_ENDLABELEDIT Signals the end of label editing.
TVN_GETDISPINFO Requests information that the tree-view control requires to display an item.
TVN_ITEMEXPANDED Signals that a parent item's list of child items was expanded or collapsed.
TVN_ITEMEXPANDING Signals that a parent item's list of child items is about to be expanded or collapsed.
TVN_KEYDOWN Signals a keyboard event.
TVN_SELCHANGED Signals that the selection has changed from one item to another.
TVN_SELCHANGING Signals that the selection is about to be changed from one item to another.
TVN_SETDISPINFO
Como puede ver no existe ninguna notificación del cambio de checkbox.
Un saludo
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Jose A. Suarez" <desarrollo@aseproda.com> escribió en el mensaje news:46653d87$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Hola,
>
> ¿Hay algún evento que se dispare al cambiar el estado del CheckBox de un
> TreeView?
>
> Quiero, por ejemplo, que al marcar el padre se marquen automáticamente los
> hijos.
>
> Saludos
>
> Jose A. Suarez
>
>
--

TTreeView y lCheckBoxes

Publicado: Mar Jun 05, 2007 1:25 pm
por desarrollo
Gracias Ignacio.
Ya inventaré algo.
Saludos
Jose A. Suarez
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> escribió en el mensaje news:46654569$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
José,
No, me temo que no lo hay, lo siento.
Estas son las notificaciones que ofrece el control:
Notification Description
TVN_BEGINDRAG Signals the start of a drag-and-drop operation.
TVN_BEGINLABELEDIT Signals the start of in-place label editing.
TVN_BEGINRDRAG Signals that the right mouse button has started a drag-and-drop operation.
TVN_DELETEITEM Signals the deletion of a specific item.
TVN_ENDLABELEDIT Signals the end of label editing.
TVN_GETDISPINFO Requests information that the tree-view control requires to display an item.
TVN_ITEMEXPANDED Signals that a parent item's list of child items was expanded or collapsed.
TVN_ITEMEXPANDING Signals that a parent item's list of child items is about to be expanded or collapsed.
TVN_KEYDOWN Signals a keyboard event.
TVN_SELCHANGED Signals that the selection has changed from one item to another.
TVN_SELCHANGING Signals that the selection is about to be changed from one item to another.
TVN_SETDISPINFO
Como puede ver no existe ninguna notificación del cambio de checkbox.
Un saludo
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Jose A. Suarez" <desarrollo@aseproda.com> escribió en el mensaje news:46653d87$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Hola,
>
> ¿Hay algún evento que se dispare al cambiar el estado del CheckBox de un
> TreeView?
>
> Quiero, por ejemplo, que al marcar el padre se marquen automáticamente los
> hijos.
>
> Saludos
>
> Jose A. Suarez
>
>
--