|
baldha rakesh wrote:
hi all,
please help me on read recursive folder.
Thanks & Regards
rakesh baldha
MSDN and google are your friend.. any way your example
void Recurse(LPCTSTR pstr)
{
CFileFind finder;
CString strWildcard(pstr);
strWildcard += _T("\\*.*");
BOOL bWorking = finder.FindFile(strWildcard);
while (bWorking)
{
bWorking = finder.FindNextFile();
if (finder.IsDots())
continue;
if (finder.IsDirectory())
{
CString str = finder.GetFilePath();
cout << (LPCTSTR) str << endl;
Recurse(str);
}
}
finder.Close();
}
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief And You
|
|
|
|
|
Thank you everybody i have got your concept.
and i have implemetnted it thanks
rakesh baldha.
Thanks & Regards
rakesh baldha
|
|
|
|
|
I have a gif file. I want use it as a running window application just like MS office assitant. It can response to right click. How can I do?
|
|
|
|
|
Look up Microsoft Agent - that's the name of the component used to make those animated characters.
|
|
|
|
|
Hello everybody...
I am new to VC++. And I want to learn it.
So please help me from where to start...and from which website I can get nice tutorials for it...
Please suggest me nice websites which has good contents of vc++...
Waiting for reply...
alpa shah
|
|
|
|
|
You can refer MSDN as well as codeproject.com to start learning about VC++.
These two are very good sources for newbies who want to learn VC++.
Somethings seem HARD to do, until we know how to do them.
_AnShUmAn_
|
|
|
|
|
Thank you...
Now I'm going to start with this...
But I was not able to find VC++ tutorials on this "codeproject.com" site....
so please send me link...or section name where I can find tutorials for VC++
Waiting for reply....
alpa shah
|
|
|
|
|
alpa shah wrote:
Thank you...
Now I'm going to start with this...
But I was not able to find VC++ tutorials on this "codeproject.com" site....
so please send me link...or section name where I can find tutorials for VC++
http://codeproject.com/cpp
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief And You
|
|
|
|
|
IMO, the best way to start learning it is to buy a good book. Unfortunately, I don't know a good book for beginner...
But also, you need to be more precise: what do you want to start to learn first ? C++ or VC++ (which means, MFC and all the stuff for GUI). If you never worked with C++, I strongly suggest that you start by the basics in C++, thus only making console application and then switch to windows GUI once you have a good grasp on the language.
|
|
|
|
|
I've learned C++...so now I want to learn VC++ and mostly for it's ATL project building....And more for building COM Components.....so can you please suggest me nice book or online helping tutorials for ATL/COM of VC++
alpa shah
|
|
|
|
|
Hi,
hm ... maybe "Developer's Workshop to COM and ATL 3.0" by Andrew W. Troelsen
-----------
Mila
|
|
|
|
|
Thanks for your reply....I'll try this book also...
alpa shah
|
|
|
|
|
alpa shah wrote: Please suggest me nice websites which has good contents of vc++...
IMHO being a beginner this will be hard on you. Long hours staring on the computer screen will make you tired or you will have to take prints, which is quite expensive.
As already said start off with a book. Buy Yashwant kanetkar's book on VC++. You will enjoy this book.
It starts with the most basic stuff. Most books start with Document view architecture which could be hard on you. This book is quite different from them and does help beginners a lot. Don't forget to do the exercises given at the end of chapters.
Welcome to world of VC++.
|
|
|
|
|
Thanks for your response....I'll sure try this book...
alpa shah
|
|
|
|
|
|
Hi all,
I would like to know how do i make the dialog box as transparent?
Could anyone please help me in this problem?
thanks in advance.
Regards,
Ram
|
|
|
|
|
|
Thank you. this helped me to get what i want.
Regards,
Ram
|
|
|
|
|
|
Hi all,
I had created customised tree control class derived from CTreeCtrl .
I had written a handler to WM_RBUTTONDOWN message in that class.
The problem is in release mode this handler nerver get executed but in debug mode it works fine.
What may be the problem?
Thanx in advance.
|
|
|
|
|
|
Double-check to see that the handler has the correct signature (return type, calling convention and parameters).
Peace!
-=- James If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! DeleteFXPFiles & CheckFavorites (Please rate this post!)
|
|
|
|
|
I have a specific problem relating to GUI. i have designed a skin based dialog application. it works fine on normal desktop appearance settings. But on my boss computer he did some specific appearance settings now if he starts the application the buttons on the look bad they are displaced here and there. the button do not adjust automatically. So please someone GUI guru can tell me which thing i am missing. do i need to handle some specific message to reset the position of the buttons.
any response will be appreciated.
Omar Lodhi
|
|
|
|
|
You probably mean that he choose another screen resolution, so that your controls on your GUI are not properly positioned ?
If that's the case, you'll need to reposition your controls (depending on the resolution) at startup. But there are also some classes on this website that manage that automatically.
|
|
|
|
|
thanks for early reply,
this is happening only on one PC. on all other pc's if we change the resolution application has no problem. there is some appearance settings changed on that particular pc that has the problem but the other skinned application from other vendors work fine. my question is why not windows readjusts the controls on the dialog. All the controls are owner draws. how can i readjust the controls to the position that they were put on the design time.
omar lodhi
|
|
|
|