From: Mayayana on 14 Jun 2010 08:51 | | Is this the default behavior of the GetOpenFileName or the software | has added this functionality? | The OPENFILENAME that Thorsten Albers refers to is the one parameter of the function. You can see your options there. Nothing "remembers" the last folder, but you can do that yourself by holding the path of the last file and then setting this value in OPENFILENAME: lpstrInitialDir Pointer to a string that specifies the initial file directory. See the OPENFILENAME structure docs to see your other options. I think you'll find it worthwhile to read Randy Birch's pages. (Earlier link.) He provides very clear code in his samples, and he's probably demonstrated most of what you might want to do.
First
|
Prev
|
Pages: 1 2 Prev: Best way to fix status bar drawing issues Next: Arranging windows of an external application |