Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tree Control with checkboxes

Status
Not open for further replies.

ABCD

Programmer
Mar 14, 2000
2
CA
Hello,

I'm working under windows NT , VC++.

I'm working on A Tree control(CTreeCtrl) which has checkbuttons.
You can enable Tree Control to include checkbuttons
by enabling the "checkbuttons" property.

Normally this checkbuttons ( inside the Tree control )
have only two states.
Is it possible to define a third state ?
The state i want to define is when the chekbox is marked
and its color is grey.

Another question is , How can i activate a function when
a user check ( marks ) the checkboxes ?

I want to write a callback function that will be activated
when the checkbox in the list controlled will be marked
(checked). is this possible ?



Thanks,
Ronen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top