Creating a context inside a dialog (i.e editbox)


I had for a very long time ago a program that i used an editbox / picture box that I created in the resource editor (vc6)
Now I deleted that stuff and cant remember how I did.

In general im loading the Dialog with DialogBox, I get the hwnd from the editbox and tries to set a pixelformat for it, but it doesnt work, I just dont remember how i did it last time, so can anyone please point me to a page that explains it?


Swedish: on EFNET