you mean you didn't correctly make a local copy then, it is too small to not update atomically.
Luc Pattyn [Forum Guidelines][My Articles] The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
I think what he's looking for is a way to send the correct message or key value to another program to make it save the current file, something which has been covered here many times, and which Google will give an answer to in about 5 ms.
There are three kinds of people in the world - those who can count and those who can't...
It displays a fully functional Windows Explorer window to allow the user to navigate and pick a file or folder.
Everything works fine except one detail. When the user double clicks a file in that window, the system attempts to open it with the default application registered for that type of file. I don't want that, because I want my application to open the file.
More precisely, my application searches for resources in executables. When the user double clicks an exe file, I don't want the file to be started to run, I just want to search it.
I need to intercept the double click messages, but I'm clueless how to do that using ATL.
Using the CFileDialog class is not an option, I need to select directories too.
Using SHBrowseForFolder is not an option either, I need additional controls in the dialog.
Hello, can anyone please point me in the right direction on how to print from a dialog based application?
I have scoured the net for countless hours searching for a solution to this problem.
I know it's a standard task in an SDI or MDI application but I already have a nice dialog based application created and I don't want to start over or convert it to SDI/MDI.
Specifically what I want to do is print a CTreeCtrl out. But basically I'm wondering is there is a general strategy for printing out the contents in any control, whether it be a picture control with a bitmap, list control in report view, or whatever it may be. If I can just get a concrete example of how to print out some control, a tree one for example, then I think I can figure out to print other controls.
No one out there seems to know how to do this. I've found code examples in several places that supposedly lets you print a bitmap, but I'm not sure how to "convert" a control to a bitmap...besides, that sounds like overkill.
What few references I have found involve very convoluded code that involves getting a printer DC and then attaching it some other member variable (the examples never tell you exactly what type object the m_x variable is that they attach the printer DC to), then some other stuff is done and eventually startPage(), etc. are called. But I have never been able to get any of these examples to compile, even after tinkering with them for hours.
So is there anyone out there reading this that can please help me with this?? I'm not asking for anyone to write the code for me. All I need is a clear explanation of the procedure for printing out a control.
i wana help in generating the dice in C language
numbers are generating eandomly but the problem is with image
actually i m making a game of ludo
the code is as follows
it is excuteable code
plzzzz any one can help
Why didn't you report also the initgraphics function (you provided only the prototype)?
Is the compiler happy with two implementations of the same function (gen_dice) that differ just for the return value type?
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