Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Writing my own Taskbar

Posted on 1998-01-08
13
Medium Priority
?
313 Views
Last Modified: 2013-12-03
I want my program GUI to be a Taskbar just like the standard windows Taskbar with a Start button etc.
If you have any already written example or if you know where I can find one please tell me.
0
Comment
Question by:israel022697
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
  • 2
  • +3
13 Comments
 
LVL 1

Expert Comment

by:_Zaphod
ID: 1409901
That's what I call high expectations.
Ta'avod ktzat, lo yazik.
0
 
LVL 8

Expert Comment

by:MikeP090797
ID: 1409902
Why to invent the same thing twice...
0
 
LVL 1

Expert Comment

by:2good
ID: 1409903
It'll probably be harder for you to find an example than to make your own.
This is the most basic things to do, and it's not at all impossible although it'll take you some time.

1. Lookup "Application Desktop Toolbars" in Win32 SDK and make such a thing
2. Create a button on the appbar
3. Create a tab control on the appbar
4. Create a tray window which answers to undocumented WM_COPYDATA calls routed from Shell_NotifyIcon
5. In your button handler, create menus dynamically from the Start menu folder in your WINDOWS directory.
6. Keep track of open windows and list them in the tab control. (There is some way to determine if a window should be listed in the task bar.)
7. Also implement a context menu on the tab control

0
 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

 

Author Comment

by:israel022697
ID: 1409904
2good: Thank you for your answer but what I realy need is a working example.
Zaphod: Doing it from scratch is my last option !!!
I have not got much time and as you probebly know, time is money !!
I see no point doing it from scratch if I can find a working example( and I'm prety sure I'll find one ), at least the foundation.
BEMIKRIM MESUYAMEEM ADIF LESHAPETZ MASHEHOO MOOCHAN BIMKOM LEHATCHIL MEHATCHALA.
0
 
LVL 5

Expert Comment

by:tstaddon
ID: 1409905
Hmm...

Why not use Visual Basic 4, create a from with no title bar or borders, autosize it to fit bottom of page and bob's your aunty.

Have a command button which when clicked opens... well, you get the general idea.
0
 

Author Comment

by:israel022697
ID: 1409906
tstaddon:
I cannot use visual basic because of some reasons such as I don't have one ( and I'm not going to buy it in the near futer ), all the rest of the project is written in MFC and Java and what I need is a bar that has the features like the windows task bar has( Auto-hide, sticking to the sides ... ).

0
 

Author Comment

by:israel022697
ID: 1409907
tstaddon:
I cannot use visual basic because of some reasons such as I don't have one ( and I'm not going to buy it in the near futer ), all the rest of the project is written in MFC and Java and what I need is a bar that has the features like the windows task bar has( Auto-hide, sticking to the sides ... ).
Thanks for the comment any way.
0
 
LVL 1

Expert Comment

by:2good
ID: 1409908
The windows task bar is (as I said) an "Application Desktop Toolbar" like the ones anyone can make. Just look it up in the SDK. It handles auto-hide and sticking to the sides - you only have to react on notificaions from it. Find SHAppBarMessage in your SDK docs.

(By the way, Visual Basic can't be used for an advanced project like this. It's only use is quick & dirty development of slow programs with 1-2 MB run-time DLLs...)

0
 
LVL 8

Expert Comment

by:MikeP090797
ID: 1409909
Let's not begin an argument here about which language is better, or there won't be enougth disk space on this server for all the comments
0
 
LVL 5

Expert Comment

by:tstaddon
ID: 1409910
I only said it because there isn't any info in this question about what this taskbar is going to do. Java and MFC were not even mentioned until after my suggestion.

My point was, anyone can develop simple programs which act very similar to app desktop toolbars without MFC- albeit less functional.

Can Israel be more specific about what he's trying to do?

Ideally- what environemt you want it to run in, what kind of functionality are you after, are you sure you need MFC to achieve it (autosizing etc can be done with Win32 API), why Java, etc.
0
 

Author Comment

by:israel022697
ID: 1409911
Ok, I'll be more specific.
All I want is that my program will a "Task-Bar" as it's main Gui interface.
For example, instead of the "settings" option in the win95/nt4.0's Taskbar I'll put a "config" option in mine where the user can configure my program and soo on ...
I'm using MFC and Java for my application because of many reasons but I can do this "Taskbar" using Win32 API or MFC.
I also want most of the original windows Taskbar features like AutoHide for example, and I want to use the same machanizem the original uses ( saving parameters in the registry and others ).
I trying to find a working example for this, at least the foundations, since I don't want to do it from scratch.
If I wont find any then I'll write it all by myself.

0
 
LVL 2

Accepted Solution

by:
costya earned 400 total points
ID: 1409912
An example of an application that behaves as Windows Taskbar is located at: http://support.microsoft.com/download/support/mslfiles/Appbar.exe

Hope, this will get you up and running.
0
 

Author Comment

by:israel022697
ID: 1409913
10x alot.
I don't know much about the grading system here, if you want more points, just say.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question