Solved

Writing my own Taskbar

Posted on 1998-01-08
13
307 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
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 

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 100 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Suggested Solutions

Title # Comments Views Activity
wordpress limitations 4 146
Strange - Deleted Resource Info appears in Azure Portal 6 97
Need more details 5 192
C# LINQ ForEach() question 6 113
In this article, I will show how to use the Ribbon IDs Tool Window to assign the built-in Office icons to a ribbon button.  This tool will help us to find the OfficeImageId that corresponds to our desired built-in Office icon. The tool is part of…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

734 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