Click here to Skip to main content
15,913,584 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionThere has a MFC Ctrl like Dreamweaver 's panel ctrl? Pin
matakk25-Feb-07 22:35
matakk25-Feb-07 22:35 
AnswerRe: There has a MFC Ctrl like Dreamweaver 's panel ctrl? Pin
Hamid_RT26-Feb-07 7:45
Hamid_RT26-Feb-07 7:45 
GeneralRe: There has a MFC Ctrl like Dreamweaver 's panel ctrl? Pin
matakk26-Feb-07 18:19
matakk26-Feb-07 18:19 
GeneralRe: There has a MFC Ctrl like Dreamweaver 's panel ctrl? Pin
Hamid_RT27-Feb-07 1:02
Hamid_RT27-Feb-07 1:02 
GeneralRe: There has a MFC Ctrl like Dreamweaver 's panel ctrl? Pin
matakk27-Feb-07 22:57
matakk27-Feb-07 22:57 
Questionhai, How to find the size of folder or size of directory using MFC? Pin
CodeVarma25-Feb-07 22:06
CodeVarma25-Feb-07 22:06 
AnswerRe: hai, How to find the size of folder or size of directory using MFC? Pin
prasad_som25-Feb-07 23:29
prasad_som25-Feb-07 23:29 
GeneralRe: hai, How to find the size of folder or size of directory using MFC? Pin
CodeVarma26-Feb-07 0:42
CodeVarma26-Feb-07 0:42 
void FindFoldersize ()
{
WIN32_FIND_DATA fd;
HANDLE hFind = ::FindFirstFile (_T ("*.*"), &fd);
CString str;
DWORD filesize;
int size=0;
if (hFind != INVALID_HANDLE_VALUE)
{
do
{
if (!(fd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY))
{
TRACE (_T ("%s\n"), fd.cFileName);
}


str.Format("%s",fd.cFileName);
//AfxMessageBox(str);

filesize=((fd.nFileSizeHigh* MAXDWORD) + fd.nFileSizeLow);

str.Format("%d",filesize);
//AfxMessageBox(str);

size=size+filesize;

} while (::FindNextFile (hFind, &fd));


CString str3;

str3.Format("%d bytes",size/1024);
AfxMessageBox(str3);

::FindClose (hFind);
}


}

This Works

Fly Like An Eagle With MIGHTY POWER.

AnswerRe: hai, How to find the size of folder or size of directory using MFC? Pin
prasad_som26-Feb-07 0:46
prasad_som26-Feb-07 0:46 
AnswerRe: hai, How to find the size of folder or size of directory using MFC? Pin
Hamid_RT26-Feb-07 7:28
Hamid_RT26-Feb-07 7:28 
Questionhow to upate one child dialog from other child dilaog? Pin
amitmistry_petlad 25-Feb-07 22:03
amitmistry_petlad 25-Feb-07 22:03 
AnswerRe: how to upate one child dialog from other child dilaog? Pin
jhwurmbach25-Feb-07 22:15
jhwurmbach25-Feb-07 22:15 
GeneralRe: how to upate one child dialog from other child dilaog? Pin
amitmistry_petlad 25-Feb-07 22:47
amitmistry_petlad 25-Feb-07 22:47 
GeneralRe: how to upate one child dialog from other child dilaog? Pin
jhwurmbach25-Feb-07 23:00
jhwurmbach25-Feb-07 23:00 
GeneralRe: how to upate one child dialog from other child dilaog? Pin
amitmistry_petlad 25-Feb-07 23:13
amitmistry_petlad 25-Feb-07 23:13 
GeneralRe: how to upate one child dialog from other child dilaog? Pin
jhwurmbach25-Feb-07 23:33
jhwurmbach25-Feb-07 23:33 
QuestionDeploying VS2005 applications without administrator rights Pin
Cedric Moonen25-Feb-07 22:02
Cedric Moonen25-Feb-07 22:02 
AnswerRe: Deploying VS2005 applications without administrator rights Pin
sps-itsec4625-Feb-07 23:41
sps-itsec4625-Feb-07 23:41 
AnswerRe: Deploying VS2005 applications without administrator rights Pin
Michael Dunn26-Feb-07 10:28
sitebuilderMichael Dunn26-Feb-07 10:28 
GeneralRe: Deploying VS2005 applications without administrator rights Pin
sps-itsec4627-Feb-07 2:37
sps-itsec4627-Feb-07 2:37 
QuestionHow can I load French Stringtable Pin
dungpapai25-Feb-07 21:58
dungpapai25-Feb-07 21:58 
AnswerWhat is the big deal? Pin
Rajesh R Subramanian25-Feb-07 22:29
professionalRajesh R Subramanian25-Feb-07 22:29 
AnswerRe: How can I load French Stringtable Pin
KaЯl27-Feb-07 4:05
KaЯl27-Feb-07 4:05 
Questionassignment operator for CDBVariant Pin
prithaa25-Feb-07 21:25
prithaa25-Feb-07 21:25 
AnswerRe: assignment operator for CDBVariant Pin
Try25-Feb-07 21:31
Try25-Feb-07 21:31 

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.