Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Tue, 5 Aug 2008 00:52:34 +0100,    group: microsoft.public.win32.programmer.ui        back       


Cursor hovering over the Desktop Window   
Hello

I need to know if the cursor is hovering over the Desktop Window. I tried
if(WindowFromPoint(point) == GetDeskTopWindow()) though this did not work.
Perhaps there is something else I could try?

Thanks
Nic
date: Tue, 5 Aug 2008 00:52:34 +0100   author:   Nic

Re: Cursor hovering over the Desktop Window   
Nic wrote:

> Hello
> 
> I need to know if the cursor is hovering over the Desktop Window. I tried
> if(WindowFromPoint(point) == GetDeskTopWindow()) though this did not work.
> Perhaps there is something else I could try?
> 
> Thanks
> Nic
> 
> 
> 
What you see as the desktop window, strangely enough, is not the window 
that you get from GetDeskTopWindow(). That window is completely covered 
by several child windows.

The one that you see is a SysListView32 which is a child of 
SHELLDLL_DefView which is in turn a child of a Progman.

You can see this hierarchy using Spy++.

-- 
Norm

To reply, change domain to an adult feline.
date: Mon, 04 Aug 2008 18:28:57 -0700   author:   Norman Bullen

Re: Cursor hovering over the Desktop Window   
"Norman Bullen"  wrote in message
news:09SdnYHvtJJWNQrVnZ2dnUVZ_uGdnZ2d@earthlink.com...
> Nic wrote:
>
>> Hello
>>
>> I need to know if the cursor is hovering over the Desktop Window. I tried
>> if(WindowFromPoint(point) == GetDeskTopWindow()) though this did not
>> work.
>> Perhaps there is something else I could try?
>>
>> Thanks
>> Nic
>>
>>
>>
> What you see as the desktop window, strangely enough, is not the window
> that you get from GetDeskTopWindow(). That window is completely covered by
> several child windows.
>
> The one that you see is a SysListView32 which is a child of
> SHELLDLL_DefView which is in turn a child of a Progman.
>
> You can see this hierarchy using Spy++.
>
> -- 
> Norm
>
> To reply, change domain to an adult feline.
>

Hello

Many thanks for very usefull input.

Nic
date: Tue, 5 Aug 2008 15:06:49 +0100   author:   Nic

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us