yarek
asked on
delphi shelltreeview checkbox
drop a shelltreeview on a form (from samples components) and add:
procedure TForm1.FormCreate(Sender: TObject);
var
dwStyle : DWord;
begin
dwStyle := GetWindowLong(ShellTreeVie w1.Handle, GWL_STYLE) ;
dwStyle := dwStyle or OBM_CHECKBOXES;
SetWindowLong(ShellTreeVie w1.Handle, GWL_STYLE, dwStyle);
end;
It displays Checkboxes and NOW...
how to get the CHECKED folders ?
Thanks
procedure TForm1.FormCreate(Sender: TObject);
var
dwStyle : DWord;
begin
dwStyle := GetWindowLong(ShellTreeVie
dwStyle := dwStyle or OBM_CHECKBOXES;
SetWindowLong(ShellTreeVie
end;
It displays Checkboxes and NOW...
how to get the CHECKED folders ?
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you think you've googled enough, google some more ;)
Oh, and you'll need CommCtrl in the uses clause.
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.
I will leave the following recommendation for this question in the Cleanup Zone:
split between TName {http:#17495453} and mahdiparak {http:#17467478}
Any objections should be posted here in the next 4 days. After that time, the question will be closed.
ziolko
Experts Exchange Cleanup Volunteer
I will leave the following recommendation for this question in the Cleanup Zone:
split between TName {http:#17495453} and mahdiparak {http:#17467478}
Any objections should be posted here in the next 4 days. After that time, the question will be closed.
ziolko
Experts Exchange Cleanup Volunteer
http://www.mustangpeak.net/
it is powerful, with checkbox, easy to get checked folders.