Win32 File Switching within a directory
How do you implement ACDSEE like file switching within a current directory using win32 Api. As in, in my project I am reading a "DICOM" file as input and now I want a way in which I can view the next file by just clicking on a "Button" on the Toolbar. How do I implement such kind of File Switching in the Win32 Api. Like "Previous Button" for previous file and "next button" for next file instead of clicking File->Open and all that stuff.
Re: Win32 File Switching within a directory
When any file is open use the vector to store the names/paths of all the files present in that directory. You need to use vector because you dont know the number of files you will have anc link list will be a more complicated approach. Now when anyone clicks next or previous just display the respected file.
|All times are GMT +5.5. The time now is 20:01.|