Author: Jon Dart
Date: 15:49:13 02/03/02
Go up one level in this thread
Arasan (http://www.arasanchess.org) has a user interface written in Visual C++ with MFC. Source code is available. This uses bitmaps for display. It was originally built with an older version of MFC and the newer ones do things a bit differently, although the old ways still work. I wouldn't follow it exactly, but it is a working example to look at. It shows how to paint text and bitmaps, handle piece movement, run a clock, load and save settings in the registry, etc. There are a few other chess programs with UI source, e.g. Chenard by Don Cross. Visual C++ itself comes with lots of sample programs and the docs are reasonably good. Microsoft has lots and lots of sample code and technical articles available, both in the Visual C++ docs that come with the compiler and online. This article: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/HTML/_core_documents.2c_.views.2c_.and_the_framework.asp has a basic description of the MFC UI architecture. --Jon
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.