I have created an application which can open a file with extension abc. If i execute my application and drag a file with abc extension and drop it on my application window then the file is open in my application. For this I have called EnableShellOpen()RegisterShellFileTypes()and DragAcceptFiles() function in InitInstance() function. But when I drag the file with abc extension and drop it on the exe file of my application then my application crashed.
If any body have any idea how to solve this problem then please reply.
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms. Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go. MFC has a very cool system for handli…
Ownerdraw of the grid button. A singleton class implentation and usage.
Continuing from the fifth article about sudoku.
Open the project in visual studio.
Go to the class view – CGridButton should be visible as a class. R…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210 (2 * 3 * 5 * 7) or 2310 (2 * 3 * 5 * 7 * 11).
The larger templa…