Activation for mouse and keyboard
Hello...
I am with problems in the attached code to this menssagem. My intention is to create a class with option to drag and drop, I implemented this with WM_NCHITTEST.
I am trying to create a way to keep only one active window for time, and I'm not obtaining, I think that for bad use of the messagens WM_ACTIVATE, WM_NCACTIVATE, WM_ACTIVATEAPP, WM_MOUSEACTIVATE, WM_SETFOCUS and WM_KILLFOCUS.
I desire to activate the windows by input of the mouse and of the keyboard (a window for time).
I appreciate any aid...