|
Does this[^] article help?
|
|
|
|
|
Thanks, but did not function, at least for my DialogBar ... but it's interesting ideea ...
|
|
|
|
|
hello:
i want from any one who have Visual studio 2010,or 2008 may work,
to Click the Tools menu>>Options>>Projects and Solutions>>VC++ Directories>>
well here is my problem i should find :Select include files for "Show directories for"
but i have like that :
VC++ Directories editing in TOOLS >Option has been deprecated
VC++ Directories are now available as a user property sheet that is added by default to all projects, Please click '?' for more information.
please help
|
|
|
|
|
It is not an error. Those settings are no longer global for all projects. Instead you can change them for each individual project.
Load a C++ project and open the Project Properties. Go to Configuration Properties>>VC++ Directories
Soren Madsen
"When you don't know what you're doing it's best to do it quickly" - Jase #DuckDynasty
|
|
|
|
|
Can anyone tell me how to drive is not used to enter Ring0?
|
|
|
|
|
Ring0 is the ring road around Leuven in Belgium. Since it is designed to drive on I dont see how you cant.
==============================
Nothing to say.
|
|
|
|
|
|
Hi, I want to change the background bitmap of a dialog dynamically, for example, press button1, the background turn to image1, press button2, the background turn to image2.
I try to use a bool variable,like:
if (btnimg == 0) dlg.loadbitmap(image1);
else dlg.loadbitmap(image2);
it not work well.
|
|
|
|
|
econy wrote: it not work well. You need to explain, in technical terms, what that means.
Use the best guess
|
|
|
|
|
Solved. first I want to use one bitmap object, than load different bitmap resource. late, I found it is very easy to implement with 2 bitmap object.
|
|
|
|
|
how to set char limit so that it should not exceed the 11 char .
after exceeding 11 char does not allow to press the key.
any example will helpful
|
|
|
|
|
Look for implementing Custom DDV (Google for Custom DDV in MFC) (Like Dynamic Data Exchange(DDX), it is Dynamic Data Validation)
|
|
|
|
|
|
Hi everyone,
I need to use MagSetImageScalingCallback to capture the desktop screen. But I cannot find out how to call it correctly. I know it's odd, but do you have any idea about this deprecated function?
|
|
|
|
|
The documentation link that you provided has some lines in it that I would like to quote here -
Quote: Note The MagSetImageScalingCallback function is deprecated in Windows 7 and later, and should not be used in new applications. There is no alternate functionality.
Quote: This function requires Windows Display Driver Model (WDDM)-capable video cards.
Quote: This function works only when Desktop Window Manager (DWM) is off.
For screen capture, look at the following articles -
Various methods for capturing the screen[^]
Barry's Screen Capture[^]
Not sure if this is already mentioned in the articles, but I once captured the screen using the CreateDC API used this way -
HDC hdc = CreateDC(_T("DISPLAY"), NULL, NULL, NULL);
You then save the device context in hdc to a file.
Read here for saving the device context -
Converting Device context to images ( PNG , JPEG , BMP , GIF) , Creating PDF & Printing to the Printer[^]
Saving (part of) a Device Context as a Bitmap[^]
|
|
|
|
|
Hi
When I first got my laptop last august my application that I was developing (at least the TCP/IP code)
was running fine about now my laptop runs a lot slower I tried to clean it up but it still doesn't
run nearly as fast it did when I bought it
towards that end on My CAsyncSocket::OnConnect overridble I am getting the following nErrorCode
WSAETIMEDOUT
I am wondering what is the best approach to this is modifying a registry key for the TCP/IP time out value (I am running Windows 7)
Maybe start clean re-install of Windows
Any suggestion appreciated
Thanks
|
|
|
|
|
Don't try solving a problem that may not exist. The first thing you need to do is investigate why the timeout is occurring.
Use the best guess
|
|
|
|
|
My computer has gotten a lot slower since I have gotten it
<a href="http://support.microsoft.com/kb/170359">http://support.microsoft.com/kb/170359</a>[<a href="http://support.microsoft.com/kb/170359" target="_blank" title="New Window">^</a>]
I tried Microsoft knowledge base 170359 to resolve the problem upping the time out times but didn't seem to work
I am thinking of re-installing windows to get the computer back to speed
|
|
|
|
|
does anyone have the source code of sudoku?, but that requires us to input numbers and and using C
|
|
|
|
|
yes, somebody probably does
|
|
|
|
|
Definitely.
Veni, vidi, vici.
|
|
|
|
|
Can anyone explain me why the following C++ snippet does compile and not end up in a compiler error ?
int main()
{
double d;
d = 0,2;
return 0;
}
I would expect the double assignment should be
double d;
d = 0.2;
Because I couldn't believe it, I tried VisualStudio 2010, -2005 AND -6, all three compiled with 0 errors, 0 warnings...
|
|
|
|
|
|
How simple can it be... Thank you Jochen.
And thanks to CppCheck for finding the mistake!
(see cppcheck.sourceforge.net)
|
|
|
|
|
'cos its built to handle the continental europeans, who use the comma for a decimal point....
==============================
Nothing to say.
|
|
|
|