Click here to Skip to main content
15,929,025 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Chris's Grid Control Doc/View Pin
Matt Newman24-Sep-01 15:46
Matt Newman24-Sep-01 15:46 
GeneralRe: Chris's Grid Control Doc/View Pin
Chris Maunder24-Sep-01 15:39
cofounderChris Maunder24-Sep-01 15:39 
GeneralRe: Chris's Grid Control Doc/View Pin
Matt Newman24-Sep-01 15:47
Matt Newman24-Sep-01 15:47 
GeneralCustom AppWizard Pin
23-Sep-01 14:53
suss23-Sep-01 14:53 
GeneralRe: Custom AppWizard Pin
abarbs20-Oct-04 2:39
abarbs20-Oct-04 2:39 
GeneralPosting to a form Pin
Christian Skovdal Andersen23-Sep-01 12:23
Christian Skovdal Andersen23-Sep-01 12:23 
GeneralGetting file status without using MFC !!! Pin
Hadi Rezaee23-Sep-01 10:55
Hadi Rezaee23-Sep-01 10:55 
GeneralRe: Getting file status without using MFC !!! Pin
Chris Losinger23-Sep-01 11:07
professionalChris Losinger23-Sep-01 11:07 
#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
time_t GetFileDateString(const CString &csFQSrcPath, BOOL bMod)
{
	struct _stat buf;
	int result = _stat( csFQSrcPath, &buf );
	if( result != 0 ) {
		return "?/?/?";
	}
	
	time_t ft = buf.st_ctime; // creation time
	if (bMod)
		ft = buf.st_mtime; // mod time

return ft;
}


------------------------------
Smaller Animals Software, Inc.
http://www.smalleranimals.com
GeneralRe: Getting file status without using MFC !!! Pin
Hadi Rezaee23-Sep-01 19:23
Hadi Rezaee23-Sep-01 19:23 
GeneralRe: Getting file status without using MFC !!! Pin
Michael Dunn23-Sep-01 11:19
sitebuilderMichael Dunn23-Sep-01 11:19 
GeneralSetting a permanent size to a control Pin
23-Sep-01 9:30
suss23-Sep-01 9:30 
GeneralRe: Setting a permanent size to a control Pin
Joaquín M López Muñoz23-Sep-01 10:15
Joaquín M López Muñoz23-Sep-01 10:15 
GeneralRe: Setting a permanent size to a control Pin
23-Sep-01 11:08
suss23-Sep-01 11:08 
GeneralRe: Setting a permanent size to a control Pin
Michael Dunn23-Sep-01 11:22
sitebuilderMichael Dunn23-Sep-01 11:22 
GeneralRe: Setting a permanent size to a control Pin
23-Sep-01 11:35
suss23-Sep-01 11:35 
GeneralRe: Setting a permanent size to a control Pin
Joaquín M López Muñoz23-Sep-01 11:36
Joaquín M López Muñoz23-Sep-01 11:36 
GeneralRe: Setting a permanent size to a control Pin
23-Sep-01 12:41
suss23-Sep-01 12:41 
GeneralRe: Setting a permanent size to a control Pin
23-Sep-01 14:14
suss23-Sep-01 14:14 
QuestionWhen I print preview a document, I see it. But if I zoom in the content disappears?? Pin
DanYELL23-Sep-01 8:34
DanYELL23-Sep-01 8:34 
GeneralActiveX Pin
23-Sep-01 7:25
suss23-Sep-01 7:25 
GeneralFull Screen with MDI Pin
23-Sep-01 6:41
suss23-Sep-01 6:41 
GeneralOnNcPaint() Pin
23-Sep-01 5:22
suss23-Sep-01 5:22 
GeneralRe: OnNcPaint() Pin
23-Sep-01 5:47
suss23-Sep-01 5:47 
GeneralRe: OnNcPaint() Pin
Ravi Bhavnani23-Sep-01 6:05
professionalRavi Bhavnani23-Sep-01 6:05 
GeneralRe: OnNcPaint() Pin
24-Sep-01 2:45
suss24-Sep-01 2:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.