On 03/05/2012 18:21, Mehrdad wrote:
In Windows, you need to register a "window class" before you can actually create an instance of it.
If you are mucking about on 'doze you might find my dubious port of the ATL window classes relevant:
http://www.sstk.co.uk/atlWinD.php That does all that tedious registering of windows classes etc. I used a static class member IIRC. I've ripped this off of MS so use at your own risk. ;) -- My enormous talent is exceeded only by my outrageous laziness. http://www.ssTk.co.uk