Welcome to %s forums

BrainModular Users Forum

Login Register

File filter, how to use it?

Create your own modules in C++
Post Reply
23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 14 Aug 2017, 00:06

I got two functions that use sdk file dialog stuff to read/write from specified file.

but i fail to understand how the 'filter' works.
ie Its supposed on open to only display .bin files, but i can see for ex a text file here.

i tried to set the ansicharpt to "(*.bin)" or "*.bin" , or ".bin", or "bin", but no luck..
any clues?


Image

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 14 Aug 2017, 00:20

oops sorry found the answer on microsoft site, need to use a bar ' | '
ie in my case tried "Curve files | *.bin"; and that works, only see bin files now :)

in case some would have similar wonders:
https://msdn.microsoft.com/fr-fr/librar ... s.95).aspx

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests