How do you figure out the main screen size? For example when my program
first starts i start it at 640x480 that way I can keep easily manipulate the
dialogs that is opened. But if they increase the size of the main screen
horizontally or vertically then i need to figure out the main window screen
It doesnt seem to be GetSystemMetrics(). Is there an api or mfc api that
lets you get your applications main window?
Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information.
Continuing from the first article about sudoku. There we have designed the application and put a lot of user int…
Displaying information on the statusbar.
Continuing from the third article about sudoku.
Open the project in visual studio.
Status bar – let’s display the timestamp there. We need to get the timestamp from the document s…
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…