It's the same really, except I am passing NULL into g_hInst
Do I take it I now need this?
I passed the instance but it didn't make a difference...
I can't paste the code because it's fragmented across many classes and files.
I can assure you I am passing the handle correctly. As I say, the same code works for textbox, statics, checkboxes, radiobuttons .... and more...
It draws the control as a box but it still throws an error?
Last edited on