Hide Taskbar Programmatically Pt. II 
Author Message
 Hide Taskbar Programmatically Pt. II

that handle like all handles is not a constant number. if you used spy, you
should have noticed that the class name of the taskbar is Shell_TrayWnd.
this is all you need to do a FindWindow and get the actual hWnd...


Quote:
> Spy++ tells me the taskbar's handle is 000000CC

> Why doesn't this move the Windows taskbar:

> MoveWindow((HWND)0x000000CC,200,200,500,100,TRUE);

> Regards

> Rik
> --
> The rumblynge of a fart, and every soun,
> Nis but of eir reverberacioun[...]

>                                    -- Geoffrey Chaucer



Sun, 02 Dec 2001 03:00:00 GMT  
 Hide Taskbar Programmatically Pt. II
Spy++ tells me the taskbar's handle is 000000CC

Why doesn't this move the Windows taskbar:

MoveWindow((HWND)0x000000CC,200,200,500,100,TRUE);

Regards

Rik
--
The rumblynge of a fart, and every soun,
Nis but of eir reverberacioun[...]

                                   -- Geoffrey Chaucer



Mon, 03 Dec 2001 03:00:00 GMT  
 Hide Taskbar Programmatically Pt. II

Quote:
> that handle like all handles is not a constant number. if you used spy, you
> should have noticed that the class name of the taskbar is Shell_TrayWnd.
> this is all you need to do a FindWindow and get the actual hWnd...

It's not in the handle, it's MoveWindow. ShowWindow works fine.

R.
--
The rumblynge of a fart, and every soun,
Nis but of eir reverberacioun[...]

                                   -- Geoffrey Chaucer



Mon, 03 Dec 2001 03:00:00 GMT  
 Hide Taskbar Programmatically Pt. II
the point was you shouldn't be hard-coding hWnd values...


Quote:
> > that handle like all handles is not a constant number. if you used spy,
you
> > should have noticed that the class name of the taskbar is Shell_TrayWnd.
> > this is all you need to do a FindWindow and get the actual hWnd...

> It's not in the handle, it's MoveWindow. ShowWindow works fine.

> R.
> --
> The rumblynge of a fart, and every soun,
> Nis but of eir reverberacioun[...]

>                                    -- Geoffrey Chaucer



Mon, 03 Dec 2001 03:00:00 GMT  
 Hide Taskbar Programmatically Pt. II

Quote:

> the point was you shouldn't be hard-coding hWnd values...

Point taken.

R.
--
The rumblynge of a fart, and every soun,
Nis but of eir reverberacioun[...]

                                   -- Geoffrey Chaucer



Tue, 04 Dec 2001 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Show AutoHide Taskbar Programmatically Pt. I

2. Tough: Hide TaskBar Programmatically

3. Child Dialogs Pt II (params)

4. keep the Win2000's auto-hide-enabled taskbar permanently hidden

5. keep the Win2000's auto-hide-enabled taskbar permanently hidden

6. programmatic hide of Win2000 auto-hide-enabled taskbar

7. Are there std Floating Pt. Exts.?

8. Minus Sign and Float. Pt. Edit Control

9. Setting Taskbar properties programmatically

10. Programmatically disable/hid Submit Button

11. How does one programmatically show/hide CToolBars

12. how:hide CListCtrl scroll bar and scroll programmatically

 

 
Powered by phpBB® Forum Software