i have the following problem, when i print the output to the CEditview window, the line is too long that it get broken and start a new line onspite of
i did not instruct the programm to break the line and complete it in a new line.what is wrong?
I have a richedit control in my program (which is unicode compiled). This richedit control refuses to display the ALT+nnn codes. Instead some sort of random junk (boxes) appear after I let go of the alt key and press any other key. I load the "RICHED20.DLL" library. Another fact is that i can paste unicode characters in the control. It is only with the typing, that the control seems to have a problem. Any help will be appreciated. Thanks in advance.
I have written a program (C++/MFC) to obtain the correct time from a time server and set the system clock. Unfortunately, Vista & Win 7 with UAC enabled block this operation. How can I elevate the program's security privledge level so that I can set the clock? Is that the right approach? If not, how else might I go about it? I wouldn't have thought the system time would be that protected, but it obviously is. I am using a Code Project solution CSNTPClient class and the class function CSNTPClient::SetClientTime(CTime newTime) The solution on my own machine is to turn UAC off, but that's not practical or reasonable on other people's computers.
Actually if you dont mind I need little more clearence.
I didnot get how do I use strstrI in the same line
All we need is to incorporate case insensitive search in the same statement above.
(Or can we pass the lowercase of myword itself so that we can check with "tag" always)...something like
i have a problem with font of a CStatic, CEdit,CRichEdit Control Acctually problem is nothing but when i create a control using drag and Drop from contrl box the control text/Caption is looks like normal, and when i create it dynamically using Create function it looks like it is bold.
so how to change dynamically created control's text normal.