Win32 GDI painting inside

BlitzMax Forums/BlitzMax Programming/Win32 GDI painting inside

skn3(Posted 2005) [#1]


Just thought I would share this code. Of course it isnt anywhere near finish, but Im sure somone might like to play around a bit.

Basically it adds an extra processing type that will subclass the gadgets windowproc and watch for painting related messages. Then send blitzMax events to the normal event queue. Works quite well.

So far in this code sample, a window gets created and tied into the Paint system. Communicates with Blitz event hooks, and paints to the client area. And it is all doulbe buffered :)

I'll update this topic if and when I get further :)