Windows forms aplication c++ (visual studio)
co trzeba za komendy dodać w funkcji listview aby pokazywał nam zawartość dysku ?
Nie wiem jak to zrobić i mma tylko podstawe
[code]
//
// listView1
//
this->listView1->Anchor = static_castSystem::Windows::Forms::AnchorStyles(((System::Top | System::Bottom)
| System::Left));
this->listView1->Columns->AddRange(gcnew cli::array< System::ColumnHeader^ >(3) {this->columnHeader1, this->columnHeader2,
this->columnHeader3});
this->listView1->FullRowSelect = true;
this->listView1->HideSelection = false;
this->listView1->Location = System::Point(13, 13);
this->listView1->Name = L"listView1";
this->listView1->Size = System::Size(200, 273);
this->listView1->TabIndex = 10;
this->listView1->UseCompatibleStateImageBehavior = false;
this->listView1->View = System::Details;
this->listView1->SelectedIndexChanged += gcnew System::EventHandler(this, &Form1::listView1_SelectedIndexChanged);
//
// columnHeader1
//
this->columnHeader1->Text = L"Nazwa";
//
// columnHeader2
//
this->columnHeader2->Text = L"Typ";
//
// columnHeader3
//
this->columnHeader3->Text = L"Rozmiar";
[/code]
[code]
private: System::Void listView1_SelectedIndexChanged(System::Object sender, System::EventArgs e)
{
}[/code]
i czy jeszcze cos jest potrzebne z przodu
(nie używałem tego nigdy, dopiwero zaczynam, proszę o wyrozumiałość)
ref