ディレクトリ一覧をツリー表示するだけのシンプルなアプリケーションである。このツリー項目の1つをエクスプローラへドラッグ&ドロップすると、実際にそのディレクトリが移動する。 このアプリケーションは、起動時にマイ・コンピュータ以下のドライブを列挙し、そのドライブやその下位のフォルダを開くたびにサブ・フォルダの項目を追加して表示する。詳しいプログラムのソース・コードの内容解説は割愛するが、ドライブの列挙については「TIPS:利用可能なドライブの一覧を取得するには?」を、ディレクトリの列挙については「TIPS:ファイルやディレクトリの一覧を取得するには?」を、TreeViewコントロールに適宜サブ・フォルダを追加する方法については「TIPS:TreeViewコントロールで効率的にツリーを構築するには?」を参照されたい。 それではさっそくこのアプリケーションを実装してみよう。 エクスプローラへのドラ
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く