Easiest way to get plenty of information about a file!

We all need the easiest right! 😉 Well this is too easy, it’s already done for us by MFC. There is a structure called CFileStatus which holds plenty of information related to a file, for eg: it’s creation, modification, and access time, along with size of file, attribute of a file and absolute file name […]
Continue reading…

 

Displaying “Properties window” for any file!

Right click on any file in windows and select properties, you will see a tabbed properties window pop up. Ever wondered how to do this programmatically on any file that you choose… Here is a demo… [sourcecode language=”cpp”]#include <afxwin.h> #include <afxdlgs.h> // CFileDialog int main() {    // initialize MFC and print an error on […]
Continue reading…