Hi,
From your 2 line i can't understand the problem. i can suggest you to check
the value of hButton, If the function CreateWindowsEX fails, the return
value is NULL. In attach i have send a little example. I hope that this can
help you.
----------------------------------------------------------------------------
---
If debugging is the process of removing bugs,
then programming must be the process of putting them in.
----------------------------------------------------------------------------
---
|