BOOL WINAPI GetOpenFileName( Inout LPOPENFILENAME lpofn );
is used for opening a file in a VC++ program, say
C:\Hello\World\abc.txt
. But I want to use this function to select a folder
C:\Hello\World instaed of a file in it.
I guess I need to make some changes to the members of the structure "OPENFILENAME". Can anyone kindly lemme know how do I achieve this in a VC++ program. Thanks in advance.