# You can create a struct which contains : # * window class # * brush object (VALUE) I know. But it's not a perfect solution. The problem arosed ny Windows API itself. By its inconsistence. When I had saw Ruby I saw the language in wich my code could be expressed very close to C but with great advantages of interpreted dynamic lang. And much shorter than in C. Now I'm writing my own WINAPI. I do this because it's much different from one included into the distribution and seem to me being much closer to Windows itself... I'll publish the snapshot right now.