Re: [GD-Windows] CreateDialog failure
Brought to you by:
vexxed72
From: Pierre T. <p.t...@wa...> - 2002-08-25 20:48:06
|
> From there, I keep track of the HANDLE parameter, static-cast it to a > HINSTANCE in a very very ugly way, use this for CreateDialog().... and it Ok my mistake. I copy-pasted a DllMain() function from another source code, that was using a HANDLE parameter, but it's actually defined as a HINSTANCE in the MSDN. Seems to work just as well with a HANDLE nonetheless. (And I finally noticed there was a "Center" style in the resource editor so I'm using this right now.) Pierre |