Quantcast
Channel: Visual C forum
Viewing all articles
Browse latest Browse all 15302

OPENFILENAME ofn;

$
0
0

OK given...

OPENFILENAME ofn; 

comes from the old Win32, I was wondering what is the best usage to span XP through Windows 8.1 to open file

*.TXT is the mask in mind, however I am also interested in possibly opening more than a single file

I found this one MSDN but its a tad terse

I use std::fstream for my file work, have not had issues with that approach so far


Corsair Carbide 300R with window & Corsair TX850V2 70A@12V

Asus M5A99FX PRO R2.0 CFX/SLI & AMD Phenom II 965 C3 Black Edition @ 4.0 GHz & G.SKILL RipjawsX DDR3-2133 8 GB 

GTX 260 SLI 216 core (GT200 Tesla) & Asus PA238QR IPS LED HDMI DP 1080p

ST2000DM001 & Windows 8.1 Enterprise x64

Microsoft Wireless Desktop 2000 & Wacom Bamboo CHT470M

Place your rig specifics into your signature like I have, makes it 100x easier to understand!


Hardcore Games Legendary is the Only Way to Play


Viewing all articles
Browse latest Browse all 15302


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>