|
You need to create a ".manifest" file.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwxp/html/xptheming.asp
here's a tutorial how to do it, it's very easy
modified 12-Sep-18 21:01pm.
|
|
|
|
|
If you don't like this style in XP, stop the Themes service and then everything will look like 9x.
Dave.
|
|
|
|
|
I use the CMultiDocTemplate to add two different views for my document .
I want to open two views whenever the user clicks on File--> New
Currently I can only choose between the two . Please Help
|
|
|
|
|
When i try to send a DWORD value with the send function it returns SOCKET_ERROR
i = send(sckClient, (char *)dwFileSize, sizeof(dwFileSize), 0);
How do i send a DWORD?
thanks
|
|
|
|
|
i = send(sckClient, (const char*)&dwValue, sizeof(dwValue), 0);
Don't talk too fast, don't talk too much and don't talk to soon! - The wise man says...
|
|
|
|
|
i need to get a value of some environment variable. what API can be used to get the value of environment variable
|
|
|
|
|
getenv , but I don't think you can get the processor ID with this method.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
|
Didn't know that env variable existed! I've just tried it and it actually returns some info on the processor.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
Do you have sample code to get the processor id (assuming it's enabled)? Code to enable it would also come in handy! Thanks,
/ravi
Let's put "civil" back in "civilization"
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
const char * processor_identifier=getenv("PROCESSOR_IDENTIFIER"); This variable is not available on every Windows OS (it is on my Windows 2000, and it is not on the Win98 system I've got home).
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
Hi Joaquin, actually I was looking for a wrapper for the ASM code that enables/disables advertising the processor id and also a way to read it from the chip (i.e. what Intel's utility does).
/ravi
Let's put "civil" back in "civilization"
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
I've just run into voodoopriestess' (sic) CAMEL - CPU Identifier Class[^], which seems a far more powerful way to obtain info about current processor.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|
|
|
I've tried to convert an mfc dll project into mfc extension.
I keep getting the linker error saying DLLMain already exists.
I've looked everywhere for a #pragma comment(lib,"mfcwhatever") or any defines including the wrong library. (version7)
I've even tried copying all the code into a newly created extention mfc project without success, same error haunts me.
Anyone has faced and conquered this problem before me?
|
|
|
|
|
An MFC extension DLL does not have a DllMain, nor a CWinApp object, both of which are present in regular MFC DLLs. The DllMain comes from MFC, and an extension DLL uses the CWinApp of the EXE that loaded it.
--Mike--
"I'd rather you just give me a fish today, because even if you teach me how to fish, I won't do it. I'm lazy." -- Nish
Just released - 1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click!
My really out-of-date homepage
Sonork-100.19012 Acid_Helm
|
|
|
|
|
How can my program catch Windows Hotkeys before Windows(Ex. Alt+Ctrl+Del),
Does anyone know how the screensaver disable this Hotkeys???
Thanx...
Gpe. Ruiz
Equipment Enginner
guadalupe_e_ruiz@hotmail.com
|
|
|
|
|
http://msdn.microsoft.com/msdnmag/issues/02/09/CQA/default.aspx
Papa
while (TRUE)
Papa.WillLove ( Bebe ) ;
|
|
|
|
|
I have a document with CEditView that I want to limit to 80 characters. i was thinking of adding a check where I update the row/column counter. However I'm not sure how I can insert a "\r\n" at that point in the document.
Any help? or better ways I can approach this.
Thanks a bundle.
BW
The only people for me are the mad ones, the ones who are mad to talk, mad to live, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn like fabulous yellow roman candles exploding. - Jack Kerouac
|
|
|
|
|
ummmmm dont u just trap the OnChange() event or the OnKeyUp() event and inc a counter?
"... and so i said to him ... if it don't dance (or code) and you can't eat it either f**k it or throw it away" biz stuff about me
|
|
|
|
|
How can I get a pointer to my CDocument class in the CMainFrame class?
I have a Document / View application and have to work with some data of the document in my CMainFrame class.
So, how can I get a pointer to my document?
Is there any AfxGet??? function?
Daniel
---------------------------
Never change a running system!
|
|
|
|
|
I believe this is it.
CFrameWnd::GetActiveDocument()
MD
Mark Donkers
A witty saying proves nothing.
-- Voltaire
|
|
|
|
|
Thanks!
Daniel
---------------------------
Never change a running system!
|
|
|
|
|
We have a software development project which includes 74 PC's with in it a PlexWriter 24/10/40A.
Our program has to be able to write to CDR. Due to other reasons we cannot use Packet writing. Is there a programmers Interface (API) to a CDR/CDRW ?
OS: Windows 2000/SP2
Dev: MSVC C++ 6 SP4/MFC
|
|
|
|
|
I know your OS is Windows 2000/SP2, but if you can afford a Windows XP upgrade, you can use IMAPI, a high-level API for CDR/CDRW writing. And it will work on whichever writer/interface Windows can recognise.
Q261186 - Computer Randomly Plays Classical Music
|
|
|
|