dcsimg
Results 1 to 13 of 13

Thread: My own system tray / taskbar.

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2010
    Posts
    300

    My own system tray / taskbar.

    Hello everyone. I'm about to create my own
    Virtual Opearting System which is a clone
    for an opearting system, but virtually.
    I have some questions for you guys.

    1. How do you create your own taskbar with programs,
    and show the current screenshot from it as showen
    in this video, 1:24.

    2. How do I make my own Windows Explorer? So I can browse
    all the files in it, and more.

    3. How do I make a Task Manager for the applications I
    got pened in the manual taskbar in the opearting system? Thanks!

    Thanks.
    Last edited by Xoslize; Jan 12th, 2011 at 05:51 AM.

  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2010
    Posts
    300

    Re: My own system tray / taskbar.

    Anyone...?

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2010
    Posts
    300

    Re: My own system tray / taskbar.

    Come on.. Is it that hard?
    Oh and..http://www.youtube.com/watch?v=o5qjS...eature=related here, How did he
    make the taskbar menu lik this?

  4. #4
    PowerPoster 2.0 Negative0's Avatar
    Join Date
    Jun 2000
    Location
    Southeastern MI
    Posts
    4,367

    Re: My own system tray / taskbar.

    I don't quite understand what you are trying to do. Do you want it to run on top of windows or to be a complete OS? IF you want the Complete OS, then you need to start with a lower level language than VB. If you just want a forms app that looks like a different OS, you could do that, but you are going to have to draw your controls yourself. You may be able to find some controls that exists that you can repurpose, but in the end a control is just something drawn on the screen that reacts when a user interacts with in different ways.

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2010
    Posts
    300

    Re: My own system tray / taskbar.

    Quote Originally Posted by Negative0 View Post
    I don't quite understand what you are trying to do. Do you want it to run on top of windows or to be a complete OS? IF you want the Complete OS, then you need to start with a lower level language than VB. If you just want a forms app that looks like a different OS, you could do that, but you are going to have to draw your controls yourself. You may be able to find some controls that exists that you can repurpose, but in the end a control is just something drawn on the screen that reacts when a user interacts with in different ways.
    Alright. I'll explain now. The conpect of this is to be a virtual
    opearting system. Which means, It requies .NET to run, and it's just
    for fun I assume. I want to make a taskbar just like in the windows
    you are running now, which will contain every program (or a form..)
    I will open. For example, I run notepad.exe, It will show up in the
    task bar, and then I can right clcik the item (icon) and close it, or
    what ever.

  6. #6
    PowerPoster Jenner's Avatar
    Join Date
    Jan 2008
    Location
    Mentor, OH
    Posts
    3,712

    Re: My own system tray / taskbar.

    Ok, sounds like you want to make a program that lists visible processes and displays them similar to the taskbar in Windows. Process.GetProcesses() will get all your processes. Whether they're visible or not is a different question, so you'll have to do some filtering.

    The graphical display is just that, a graphical display. You'll have to tell the computer how to draw it; regardless if it looks like the current taskbar or not, since there isn't a taskbar control, you'll have to forge it by hand using OnDraw()
    My CodeBank Submissions: TETRIS using VB.NET2010 and XNA4.0, Strong Encryption Class, Hardware ID Information Class, Generic .NET Data Provider Class, Lambda Function Example, Lat/Long to UTM Conversion Class, Audio Class using BASS.DLL

    Remember to RATE the people who helped you and mark your forum RESOLVED when you're done!

    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe. "
    - Albert Einstein

  7. #7

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2010
    Posts
    300

    Re: My own system tray / taskbar.

    Quote Originally Posted by Jenner View Post
    Ok, sounds like you want to make a program that lists visible processes and displays them similar to the taskbar in Windows. Process.GetProcesses() will get all your processes. Whether they're visible or not is a different question, so you'll have to do some filtering.

    The graphical display is just that, a graphical display. You'll have to tell the computer how to draw it; regardless if it looks like the current taskbar or not, since there isn't a taskbar control, you'll have to forge it by hand using OnDraw()
    Ok I decided I only want to do the processes only for the forms I have in my current applications. The forms I made. Is that possible to list them on a taskbar? THanks.

  8. #8
    Frenzied Member
    Join Date
    Jan 2010
    Location
    Connecticut
    Posts
    1,687

    Re: My own system tray / taskbar.

    You can use a statusStrip for your taskbar.
    For your evplorer you can use a split control with a treeview on one side and a listview on the other.
    VB6 Library

    If I helped you then please help me and rate my post!
    If you solved your problem, then please mark the post resolved

  9. #9

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2010
    Posts
    300

    Re: My own system tray / taskbar.

    I can use a status bar, but how will I make for each application
    I open to show it up on the status strip?

  10. #10
    Frenzied Member
    Join Date
    Jan 2010
    Location
    Connecticut
    Posts
    1,687

    Re: My own system tray / taskbar.

    Add to the items collection for each app. I believe you can display buttons in the status bar.
    VB6 Library

    If I helped you then please help me and rate my post!
    If you solved your problem, then please mark the post resolved

  11. #11

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2010
    Posts
    300

    Re: My own system tray / taskbar.

    Uh I recently started.. mind giving a hand? >_

  12. #12
    Frenzied Member
    Join Date
    Jan 2010
    Location
    Connecticut
    Posts
    1,687

    Re: My own system tray / taskbar.

    I don't mind giving you a hand, but you must put in some effort. I get crabby when people say do this for me, do that for me when they haven't even tried first.

    Collections have an Add method, that is how you add things:
    Code:
    Status.Items.Add()
    I'm glad you started, but to be a programmer, you need to learn to read help files and type code. THEN if you tried to get it to work and if fails AND you can't figure out why ask, we'll help.
    VB6 Library

    If I helped you then please help me and rate my post!
    If you solved your problem, then please mark the post resolved

  13. #13

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2010
    Posts
    300

    Re: My own system tray / taskbar.

    Of course. I'm abit experienced.. coded for 3 years, but
    from my exeprience - not guides.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width