|
I thought "My Favourites", what that person gave was an example
Nobody can give you wiser advice than yourself. - Cicero
|
|
|
|
|
As Galatei told, you can use SHGetSpecialFolderPath if it is a special folder whose path is what you need. If it is "My Favourites", then check the following code sample.
char szPath[255];
if(SUCCEEDED(SHGetSpecialFolderPath(NULL,szPath,CSIDL_FAVORITES, 0)))
MessageBox(szPath);
Nobody can give you wiser advice than yourself. - Cicero
|
|
|
|
|
Thanks both for ur reply's.for example if i have My Favourites folder in F Drive,then what should be done to display only the My Favourites folder without the Drive name to be displayed in the Tree control i.e,I want to display the one and only My Favourites folder.
Thanks.
|
|
|
|
|
I'm afraid that it completely depends on your implementation.
Regards
|
|
|
|
|
radhika28 wrote: My Favourites folder in F Drive,then what should be done to display only the My Favourites folder without the Drive name
You don't want us to help you parse your string
Both std::string as well as CString help you by that.
"We trained hard, but it seemed that every time we were beginning to form up into teams we would be reorganised. I was to learn later in life that we tend to meet any new situation by reorganising: and a wonderful method it can be for creating the illusion of progress, while producing confusion, inefficiency and demoralisation."
-- Caius Petronius, Roman Consul, 66 A.D.
|
|
|
|
|
PathFindFileName() will help you parse it
Mark
|
|
|
|
|
I have a question about right mouse click popup menu in IE.
I try write a program that add a new item into popup menu's items(I want program popup menu).but i don't know any thing about this .
please help me .
computer
|
|
|
|
|
m_mor wrote: but i don't know any thing about this .
Atleast tell me what are you using? HTML?
Nobody can give you wiser advice than yourself. - Cicero
|
|
|
|
|
this program is a section of another progeram that writen with c++.net .
computer
|
|
|
|
|
m_mor wrote: writen with c++.net
Huh? But how are you capturing right click event within IE? You have written a COM addin or something? Or is that you are yet to do it?
2+2=5, for very large values of 2/font>
|
|
|
|
|
Do You want to create popup menu in ur application?
The secret of life is not enjoyment
but education through experience.
- Swami Vivekananda.
|
|
|
|
|
Hello comunity,
is there any way to check the codepage from an html file?
regards
break;
|
|
|
|
|
Hi,
It depends on the way you want to do it.
If you want to check it as a file, then you could create simple parser looking for meta tags and codepage param.
Regards
|
|
|
|
|
Hello,
its a html file, i download the file content and i use a litle funcion and search for "charset=" inside of content!
I have think there is more useful funktion for this..?
regards
break;
|
|
|
|
|
I m working in Image processing in VC++6.00,i want to ask that in Dialog based application in Vc++ is it possible to display image and if possible then how ?
Plz help me
|
|
|
|
|
Please have a look at This article[^]
Nobody can give you wiser advice than yourself. - Cicero
|
|
|
|
|
This one, generally rules in simplicity.
|
|
|
|
|
Check out GDI+ from Microsoft
Alcohol. The cause of, and the solution to, all of life's problems - Homer Simpson
|
|
|
|
|
Open your image with CImage class or another classes and then use of WM_PAINT or WM_ERASEBKGND for show it.
|
|
|
|
|
there are tons of different image processing toolkits out there.
google can help.
|
|
|
|
|
Hello,
I've created an application that uses a library (.lib) which someone has provided for me. When I link this library I get a warning telling me that no debug information is available.
For example:
test.lib(test.obj) : warning LNK4204: 'vc70.pdb' is missing debugging information for referencing module; linking object as if no debug info
It's cool that the debug information is not present in the library as it's expected but I'm the type of guy that likes my code to compile without errors or warnings and I cannot find a way to surpress this.
Does anyone have any suggestions?
|
|
|
|
|
|
Thanks for the response but unfortunately that's not quite what I'm looking for. The compiler options you were suggesting by your post where to 'generate' the debug information but as I'm using a pre-compiled library (which I cannot compile myself) the options don't surpress the warnings.
Can the link warnings be surpressed in some way like a compiler warning?
Example warning surpression for compiler warnings:
#pragma warning( disable : xxxx )
|
|
|
|
|
the DLL were built in release mode, when you are linking it to a project compiled in debug mode ?
|
|
|
|
|
I'm linking the libraries correctly with respect to the configuration type.
I think the problem is because the debug information has been forceably stripped from the library I'm using. This doesn't matter as I don't need it but it doesn't make the compilation clean & tidy.
|
|
|
|