Skip to content
James Bremner edited this page Apr 6, 2019 · 1 revision

filebox

Doxygen description

Usage ( v1.7 )

    nana::filebox fb(fm,true);
    fb.title("Mixer Logs");
    fb.init_path("C:\\ProgramData\\pinmed\\pelexmixer");
    fb.add_filter("Log File", "*.log");
    fb.add_filter("All Files", "*.*");

    auto path = fb.show();
    if( ! path.empty() )    //When user clicked 'OK'
    {
        text.load( path[0].string() );
    }
Clone this wiki locally