SOL9 Sample: FolderBrowser

SOL9 2.0 Samples

1 Screenshot


2 Source code

/*
 * FolderBrowser.cpp 
 * Copyright (c) 2015 Antillia.com TOSHIYUKI ARAI. ALL RIGHTS RESERVED. 
 */



#include <sol\FolderBrowser.h>

void _tmain(int argc, TCHAR** argv)
{
  FolderBrowser folderBrowser;

  String selectedFolder = _T("");

  const TCHAR* startingDir = _T("C:\\");

  folderBrowser.setTitle(_T("Please browse and select a folder"));

  int rc = folderBrowser.show(startingDir, selectedFolder);
  if (rc == IDOK) {
    _tprintf(_T("selectedFolder=[%s]\n"), (const TCHAR*)selectedFolder);
  }
}

Last modified: 2 May 2016

Copyright (c) 2016 Antillia.com ALL RIGHTS RESERVED.