|
transoft wrote: How can correct it? How indeed? The first thing you need to do is give some proper details of your code, what is happening and why it is not correct.
Use the best guess
|
|
|
|
|
i want to design a matchbox like this
program will take 9 numbers and convert them to hexadecimal number,and draw matchbox and then find a way ,from matrix begin (0,0) to matrix last element (3,3).
http://r1305.hizliresim.com/19/s/ndzby.png[^]
|
|
|
|
|
freemo716 wrote: i want to design a matchbox like this Sounds interesting; and what part of this are you seeking help with?
Use the best guess
|
|
|
|
|
i need an algorithm to find a way to end point, do i need to use recursive function?
|
|
|
|
|
freemo716 wrote: do i need to use recursive function? It depends on the algorithm; something that you need to investigate first.
Use the best guess
|
|
|
|
|
thanks for the "big" advice
|
|
|
|
|
Sorry, were you expecting someone else to do your work for you?
Use the best guess
|
|
|
|
|
Hi all. I have an dialogbar, which can be floated ... somewhere, in the statusbar, I have an indicator, a CButton, that tell me if the dialog bar is showed or not ... which does function well ... but when the dialogbar is in the floating state, and the user close the dialogbar from "Close" menu button, I don't know how to signal the statusbar button ... there is an handler to treat when user close the dialogbar from "Close" menu button ?
|
|
|
|
|
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
|
|
|
|