lol well im sorta at odds with the MFC issue. MFC is just microsofts implementation of a good concept (namely OOP). I definately wouldnt recomend MFC to a new user but the only other alternative would be implement it yourself (or use someone elses who has). I have my own Window object that i use specificaly for this and other tasks but i think just for the scope of this dll subclassing the win32 way is probably the best.

I forgot to ask is this dll just for your own use or do you plan on releasing it? If its just for personal consumption then it really doesnt matter how you perform the job as long as it works. Otherwise you have to consider the others you may use your dll.