Can we exlain my "wxTreeCtrl"

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
Erni
Knows some wx things
Knows some wx things
Posts: 40
Joined: Thu Mar 10, 2005 5:35 pm

Can we exlain my "wxTreeCtrl"

Post by Erni »

hay
I'm beginner in wxWidgets liberary and
I have this prablem,I must write aplication with wxTreeCtrl (file list view)
and i can't ....
Can we explain my step by step what i must do and how
:roll: PLEASE
cg
Filthy Rich wx Solver
Filthy Rich wx Solver
Posts: 201
Joined: Sun Aug 29, 2004 12:33 am
Location: Canada
Contact:

Post by cg »

Theres a tree control sample in the "Samples" directory

wxwidgets-2.6.0/samples/treectrl

HTH

Chris

------------------------------------------------------------
Chinook Developer Studio
*Free multiplatform IDE for BSD.Linux.Solaris.Windows*
http://www.degarrah.com/chinookfree.php

Zephyr Automated Test Runner
*Cross platform automated functional and regression testing*
http://www.degarrah.com/zephyr.php
------------------------------------------------------------
Erni
Knows some wx things
Knows some wx things
Posts: 40
Joined: Thu Mar 10, 2005 5:35 pm

Post by Erni »

cg wrote:Theres a tree control sample in the "Samples" directory

wxwidgets-2.6.0/samples/treectrl
I'm beginner in wxWidgets and i can't understand this sample
:roll:
Avi
Super wx Problem Solver
Super wx Problem Solver
Posts: 398
Joined: Mon Aug 30, 2004 9:27 pm
Location: Tel-Aviv, Israel

Post by Avi »

Erni wrote:
cg wrote:Theres a tree control sample in the "Samples" directory

wxwidgets-2.6.0/samples/treectrl
I'm beginner in wxWidgets and i can't understand this sample
:roll:
What exactly don't you understand about it? (quote a specific code-part...)
Check the samples/minimal for a more basic wxWidgets app.
Muskelkatermann
Earned some good credits
Earned some good credits
Posts: 135
Joined: Thu Apr 28, 2005 11:36 am
Location: Gie

Post by Muskelkatermann »

Sounds like you need this:

http://www.wxwidgets.org/manuals/2.6.0/ ... ricdirctrl

this will show a tree Menu with all your Logical drives, the folders, files ...

And it is easy to customize.

I did some changes some months ago on it. Some Drag n Drop Stuff and I removed the logical drives. There was only one special Folder shown.

Tell me if you need more info about that...

grtx
Erni
Knows some wx things
Knows some wx things
Posts: 40
Joined: Thu Mar 10, 2005 5:35 pm

Post by Erni »

Muskelkatermann wrote:Sounds like you need this:

http://www.wxwidgets.org/manuals/2.6.0/ ... ricdirctrl

this will show a tree Menu with all your Logical drives, the folders, files ...

And it is easy to customize.

I did some changes some months ago on it. Some Drag n Drop Stuff and I removed the logical drives. There was only one special Folder shown.

Tell me if you need more info about that...

grtx
OK Muskelkatermann
You help my very much , I was created GetFilterListCtrl control for current directory and i can view file and folder list in a TREE...

but i have next problem becouse :
becouse i want but wxGenericDirCtrl
give my a directory to selected file of directory from TREE and i do't know where i must give this code:
wxString plik;
plik=WxTree->GetPath();
wxMessageBox(plik);
When i give this code to construktor
class okno : public wxDialog

Then wxGenericDirCtrl give my selected directory only one time, when construktor will be created.
What i must do ,when i want but
wxGenericDirCtrl give me directory when i select it in the TREE
for every one when i do it...
PLEASE HELP MY :roll:
Erni
Knows some wx things
Knows some wx things
Posts: 40
Joined: Thu Mar 10, 2005 5:35 pm

Post by Erni »

Please do't leave my alone :roll:
Post Reply