Hello all,

Hopefully somebody can help me with this issue. I am creating a window from scratch (i.e. RegisterClassEx and then CreateWindowEx) and have no problems creating instances of my window class, the only problem is that the windows I create don't receive focus when the mouse is clicked inside of them (looking for the WM_SETFOCUS message). Is there a particular style bit I need to include when creating the window? Right now I only use WS_CHILD and WS_VISIBLE. Any ideas?? I know that if you create a new control in VB (using the UserControl object), there is a property that is called CanGetFocus (I think that's it anyways), how do you implement this feature???? Thanks in advance.


Rippin