Treeview with Checkboxes.

C

CViniciusM

Hello,

I have used the code below (into the oncreate method) to get a
treeview with checkboxes:
HWND handle = TreeView1->Handle;
value = GetWindowLong(handle, GWL_STYLE);
if(value)
{
value = SetWindowLong(handle, GWL_STYLE, value
|
TVS_CHECKBOXES);
}

But how to verify/change the state of the checkboxes manually? Any
ideas, please?

Thanks in advance, Vinicius.

P.S.: I'm using Borland C++Builder 3 Professional.
 
L

lallous

CViniciusM said:
Hello,

I have used the code below (into the oncreate method) to get a
treeview with checkboxes:
HWND handle = TreeView1->Handle;
value = GetWindowLong(handle, GWL_STYLE);
if(value)
{
value = SetWindowLong(handle, GWL_STYLE, value
|
TVS_CHECKBOXES);
}

But how to verify/change the state of the checkboxes manually? Any
ideas, please?

Thanks in advance, Vinicius.

P.S.: I'm using Borland C++Builder 3 Professional.

Not a C++ language question.
Try asking in comp.os.ms-windows.programmer.win32
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top