Hi to all
One thing bothers me for some time now...
I'm in process of making an application which contains, for the sake of visual impression, animated cursor. The thing is: when the mouse pointer is on a caption bar of a form, animated cursor changes itself into standard Windows' mouse pointer. I didn't try with custom cursors (so, not animated custom cursors), but I guess it's the same.
Also, my application doesn't really contains a caption bar, and borders, too. I removed it. But the problem is still the same. I used standard Windows API procedure for moving the form without a caption bar:
CODE
but you see the problem...Windows now treats the whole non client area of the form as the caption bar...
So, I need this:
1. answer to - how to make my cursor doesn't change when on caption bar
and\or
2. alternative way for moving the form without the caption bar (different then the procedure above), which will make my cursor stay the same all the time...
Thanks to anyone who even wants to spare her\his time trying to help me
One thing bothers me for some time now...
I'm in process of making an application which contains, for the sake of visual impression, animated cursor. The thing is: when the mouse pointer is on a caption bar of a form, animated cursor changes itself into standard Windows' mouse pointer. I didn't try with custom cursors (so, not animated custom cursors), but I guess it's the same.
Also, my application doesn't really contains a caption bar, and borders, too. I removed it. But the problem is still the same. I used standard Windows API procedure for moving the form without a caption bar:
CODE
Code:
procedure WMNCHitTest(var Msg:TMessage); message WM_NCHITTEST;
...
procedure TForm1.WMNCHitTest(var Msg:TMessage);
begin
msg.result := HTCAPTION;
end;
So, I need this:
1. answer to - how to make my cursor doesn't change when on caption bar
and\or
2. alternative way for moving the form without the caption bar (different then the procedure above), which will make my cursor stay the same all the time...
Thanks to anyone who even wants to spare her\his time trying to help me