I have a bitmap loaded as the parent window because I am working on skinning a program. Well I am trying to drag the window with the mouse by clicking anywhere on it; eventually I'll put a caption bar on it, but for now I am just dragging from clicking on the window. The problem I am having is that as I am dragging the window, if I drag to fast then the mouse loses the window. I tried using setcapture() on WM_MOUSEMOVE, but that didn't work because it messes with the controls making me have to click a button 3 times before it is actually pressed. I also tried using releasecapture() WM_LBUTTONUP, but that didn't work either.
I can post my code or maybe someone can just tell me how to drag a window.
thanx
I can post my code or maybe someone can just tell me how to drag a window.
thanx