Re: ShowCursor(FALSE) should hide cursor!



On Wed, 28 Dec 2005 09:06:54 -0800, "Alexander Grigoriev"
<alegr@xxxxxxxxxxxxx> wrote:

>Hiding/restoring a soft cursor during drawing was always handled in Windows
>by the video driver/GDI transparently for the apps.
>'Mouse droppings" were happening in MSDOS graphical apps.
>
>"Doug Harrison [MVP]" <dsh@xxxxxxxx> wrote in message
>news:aie5r19p1l9ou5g6h0q48qnfkqfmghd90e@xxxxxxxxxx
>>
>> It was really important back in the day when video cards didn't support
>> the
>> cursor in hardware. A software cursor must be hidden before drawing over
>> the area where it resides, else you can get an effect known as "mouse
>> droppings":
>>

You should've kept reading, as I ended my message as follows:

>>(I believe Windows always did the
>>hiding/showing for you in BeginPaint/EndPaint, but other OS's did not.)

I'd be interested to learn how the "video driver/GDI" could do this
transparently; it seems like they exist at too low a level to handle this
well.

--
Doug Harrison
Visual C++ MVP
.



Relevant Pages

  • Ten Mouse Cursor Problems
    ... While using the mouse (windows xp) I may encounter any of the below ... Mouse cursor unmanageable. ... just one word will highlight, I make several attempts to do the same click ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Painting Cursor Invisible
    ... I've programmed some in C years ago and I did some of that in Windows. ... has very narrow programming options. ... > But the Windows cursor is more than one pixel wide. ... > Photoshop CS2 on Windows solves this problem by not using the Windows ...
    (alt.graphics.photoshop)
  • Re: How to disable those ms yellow box popups
    ... marfers notes for windows xp http://www.geocities.com/marfer_mvp/chatNotes.htm ... I just moved the cursor into this box, and up popped another, nagging ... >>> closest I've seen has been a reg fix to disable tips balloons. ... I tried Dave's reg fix, ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Again on kb_event. It almost works
    ... Your cursor should be stuck as ... > the mouse cursor to vanish nor do edit windows, which I also use quite a bit. ... screen-saver control panel, so this isn't limited to combo boxes or the ... The cursor does not disappear as I type this message into Thunderbird, ...
    (comp.lang.pascal.delphi.misc)
  • Re: How do I move the cursor in windows without the mouse?
    ... > Use the tab and arrow keys. ... > The left and right arrow keys do not move the cursor in windows. ... > here?s a rundown of some of the most useful keys and shortcuts ...
    (microsoft.public.windowsxp.help_and_support)