Classic Shell
http://www.classicshell.net/forum/

functionality of the taskbar for programmers
http://www.classicshell.net/forum/viewtopic.php?f=10&t=2716
Page 1 of 1

Author:  hugoboss2000 [ Fri May 30, 2014 8:25 pm ]
Post subject:  functionality of the taskbar for programmers

Hello :shock:
I don't find the right place in the forum for this.
I have to develope an open source kiosk mode app for schools.
So I have to change the taskbar. I'm not yet sure how I wanna change the taskbar, but I also don't know yet how to do this.
I found out that TaskbarWinXP in the registry has to be changed. But that value is just binary:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Desktop]
"TaskbarWinXP"=hex:0c,00,00,00,08,00,00,00,01,00,00,00,00,00,00,00,aa,4f,28,68,\
48,6a,d0,11,8c,78,00,c0,4f,d9,18,b4,00,00,00,00,40,0d,00,00,00,00,00,00,28,\
00,00,00,00,00,00,00,00,00,00,00,28,00,00,00,00,00,00,00,01,00,00,00
"Upgrade"=dword:00000001

For me this is chinese backwards. Can u help me understanding how to edit the taskbar?
I guess it's only by editing the registry.
Is it neccessary to ask Microsoft itself for that?
Dr. google couldn't help me so far.

I also want that when right clicking on the taskbar, there is no context menu.

Author:  Gaurav [ Fri May 30, 2014 10:06 pm ]
Post subject:  Re: functionality of the taskbar for programmers

Classic Shell does not include taskbar enhancements except a tweak to make it non-transparent. Also, the chances of a registry value from the XP days working on modern versions of Windows are slim.

Author:  hugoboss2000 [ Sat May 31, 2014 7:51 am ]
Post subject:  Re: functionality of the taskbar for programmers

But that registry value from the XP days changes if something changes in the taskbar of win 8.1.
Classic Shell changes the taskbar!

Author:  Ivo [ Sat May 31, 2014 8:17 am ]
Post subject:  Re: functionality of the taskbar for programmers

There are countless reasons for a registry value to change. Imagine if it contains the timestamp of the last time the taskbar was redrawn. Classic Shell redraws the taskbar and the value changes.
I would recommend against changing data in the registry that you do not fully understand.

Author:  hugoboss2000 [ Sat May 31, 2014 8:21 am ]
Post subject:  Re: functionality of the taskbar for programmers

Thanks for replying

Ivo wrote:
There are countless reasons for a registry value to change. Imagine if it contains the timestamp of the last time the taskbar was redrawn.

I don't think its a timestamp. It only changes if I change something in the taskbar. U can also google about that registry value.


Ivo wrote:
Classic Shell redraws the taskbar and the value changes.

And I'd like to know how it does that.


Ivo wrote:
I would recommend against changing data in the registry that you do not fully understand.

And I write that topic to understand this.
Ahm, maybe I should do some reverse engineering.

I have to find a solution, because I write a master thesis.

Author:  Ivo [ Sat May 31, 2014 8:23 am ]
Post subject:  Re: functionality of the taskbar for programmers

Well, you haven't explained what you are trying to do. "I'm not yet sure how I wanna change the taskbar" is rather vague.

Author:  hugoboss2000 [ Sat May 31, 2014 8:27 am ]
Post subject:  Re: functionality of the taskbar for programmers

I want to disable the abiliity to have a context menu when right clicking at the taskbar.
I maybe need to make the taskbar unusable.
But that depends if I can change the starmenu totally.
When I can change the start menu fully, then I don't need to make the taskbar unusable.

Author:  Ivo [ Sat May 31, 2014 8:29 am ]
Post subject:  Re: functionality of the taskbar for programmers

Well, you can simply disable the window for the taskbar: EnableWindow(taskbar,FALSE);

Author:  hugoboss2000 [ Sat May 31, 2014 8:32 am ]
Post subject:  Re: functionality of the taskbar for programmers

is it that ?
http://msdn.microsoft.com/en-us/library ... 85%29.aspx
http://msdn.microsoft.com/en-us/library/5kbfsahf.aspx
http://www.pinvoke.net/default.aspx/user32.enablewindow

I guess u mean, that the taskbar is a window.

thx

Author:  Ivo [ Sat May 31, 2014 8:34 am ]
Post subject:  Re: functionality of the taskbar for programmers

Yes, the taskbar is a window.

Author:  hugoboss2000 [ Sat May 31, 2014 8:36 am ]
Post subject:  Re: functionality of the taskbar for programmers

Im a bit curious about classic shell.
Ahm ... is the start menu something existing hidden in windows 8(.1)
Or did u had to recreate and repaint the whole thing?

Author:  Ivo [ Sat May 31, 2014 8:37 am ]
Post subject:  Re: functionality of the taskbar for programmers

It is entirely recreated from scratch.

Author:  hugoboss2000 [ Sat May 31, 2014 8:38 am ]
Post subject:  Re: functionality of the taskbar for programmers

Great thing!

Author:  hugoboss2000 [ Sat May 31, 2014 1:22 pm ]
Post subject:  Re: functionality of the taskbar for programmers

How did u add the context menu to the taskbar near the start button?
I guess there is some Windows API programming with undocumented API funktions usage. Right?

EDIT:
As I see, there is an older version, that is open source, but the source code isn't downloadable any more. :(

EDIT:
Ah, I have found the code of the 1.0 here:
http://www.codeproject.com/Articles/45430/Classic-Shell

Author:  Ivo [ Sun Jun 01, 2014 10:11 am ]
Post subject:  Re: functionality of the taskbar for programmers

You can download the source from here: http://sourceforge.net/projects/classic ... elease%29/

Author:  hugoboss2000 [ Sun Jun 01, 2014 10:13 am ]
Post subject:  Re: functionality of the taskbar for programmers

Ah thx.
Why was I to stupid to find it? Mhh....

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/