Sign in to follow this  
Daos

User Input in a chess game

Recommended Posts

Daos    103
Hi! I've been working on a chess game for one month now, and i ran into a problem while trying to make some sort of user input for loading a game you now.Is there any means of reading all file names from a directory,from which someone could choose(a list of names i mean).Since i'm not such a crazy MFC lover ,i will surely appreciate your help. Thanks!

Share this post


Link to post
Share on other sites
Mastaba    761
If you only want to allow the user to choose one or more files to open, and you are using Windows, then you can just use the Open File Common Dialog via GetOpenFileName(..)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this