|
|
Hi,
You might also post the code above.
I think (based on error C2334 ) you missed ': or {'; somewhere.
At least google tells you that: http://msdn.microsoft.com/en-us/library/f0swb231.aspx[^]
Cheers
You have the thought that modern physics just relay on assumptions, that somehow depends on a smile of a cat, which isn’t there.( Albert Einstein)
|
|
|
|
|
It might be an idea to quote more of the error than just its code. Not all of us have comitted them to memory. Make it easy for people to answer your question and more people are likely to reply.
Steve
|
|
|
|
|
Actually the only reply he needs is: ask google
Cheers
You have the thought that modern physics just relay on assumptions, that somehow depends on a smile of a cat, which isn’t there.( Albert Einstein)
|
|
|
|
|
lgatcodeproject wrote: int iPrimaryLang[4]={LANG_ENGLISH, LANG_BENGALI, LANG_ORIYA, LANG_HINDI};
I compiled this code. I did not get any error message. Did you include right header files?
|
|
|
|
|
|
There are over 6.5 million members of CodeProject, think about what would happen if most of them answered every question with "I don't know".
You measure democracy by the freedom it gives its dissidents, not the freedom it gives its assimilated conformists.
|
|
|
|
|
|
Hi,
when I have videofiles or JPEG-pictures displayed in "Large Icon" mode in XP explorer, I get a detailed preview for each single file, showing its content. I'd like to have the same for my own custom filetype that my application uses. I have already googled, but keep failing to get the right keyword to use how I can do that myself, using VC++ and MFC.
Do you have any suggestions?
Thanks alot!
|
|
|
|
|
it is somethink with Shell, it will be really annoying and awksame. I have read (here) that it got chnaged between XP and Vista/7.
look here and search preview:
http://msdn.microsoft.com/en-us/library/bb774328(VS.85).aspx[^]
Remember: it is a minefield and YOU WILL GET BLOWED (that the truth)
Please write an article about your project in teh summer of 2010
Press F1 for help or google it.
Greetings from Germany
|
|
|
|
|
Hi,
thanks alot, but I think that's not what I really need, I want a thumbnail preview in explorer that Windows XP already offers for variuos filetypes, for example JPEG pictures: when I set the view to icons or tiles in explorer, I see a real preview of the image inside. My application is some sort of a CAD program with its own filetype, and I would like to render preview thumbnails the same way.
How is it done in explorer? How can I make it work the same way as for JPEGs in XP and Vista?
|
|
|
|
|
|
Maybe take a look at this[^] for starters.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> Sometimes you just have to hate coding to do it well. <
|
|
|
|
|
There are in header files or in MSDN such windows errors starting from 0xC.
Чесноков
|
|
|
|
|
You've failed to ask us a question, so unfortunately we fail to bring you an answer
|
|
|
|
|
|
There's even a website with that name [^] (i.e. Have you googled for?).
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
Hi All,
I am using visual studio 2008 and MFC dialog based application.
I would like to enumerate all the drives in my computer and show the name of the drive in the list box. Currently I am using "GetDriveType" API to get the drive is valid or not.
I want to show the user friendly name of the drive, for example "C:\" comes "Local Disk (C " in my computer. How do I get the user friendly name from the disk letter("C:\")?
Thanks in advance.
Mutpan.
|
|
|
|
|
Hi All,
I got the solution. We should use SHGetFileInfo API to get the display name.
<br />
SHFILEINFO shFile;<br />
SHGetFileInfo(_T("C:\\"),FILE_ATTRIBUTE_NORMAL,&shFile,sizeof(SHFILEINFO),SHGFI_DISPLAYNAME);<br />
AfxMessageBox(shFile.szDisplayName);<br />
|
|
|
|
|
Is there any Word Automation documentation available. This is something which i did not see when i searched the net. there are several examples. but proper documentation is not available. If anybody could help me it would be great.
|
|
|
|
|
Chandru080 wrote: but proper documentation is not available.
bollocks - what do you mean by 'documentation'
see this for an example - the most tricky part is learning the object model for Word ...
http://support.microsoft.com/kb/196776[^]
|
|
|
|
|
See here.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
|
|
|
|
|
Hi,
Can I run .exe file such as explorer.exe or notepad.exe as child window of my CView?
so,that .exe file is placed within my CView?
Thanks.
|
|
|
|
|
It may be helpful if you tell us what you are trying to achieve. And no, you can't (nor should you attempt to) "place" an .exe in CView.
|
|
|
|
|
You asked this question yesterday, and the answer is still 'no'. You cannot put an executing program into a CView; read the documentation on CView, and Windows in general, for more information.
|
|
|
|