|
-
Jan 12th, 2011, 02:44 PM
#1
Thread Starter
Hyperactive Member
Forms goes behind, and more ...
Hello everyone.
This is a thread with all my questions, instead
of creating a lot of threads. Please delete my
others, moderators. Thank you guys!
I'm in a project of creating my virtual opearting system,
which is a .NET program to run self-forms, and etc, doesn't
matter. The main problems are, hope you can help me.
1. Let's say I have a button that opens form2. My form1 is in
'full screen' mode. So if I open it, it goes behind the fullscreen
application. I set the "TopMost" to true, and it works, it goes
AFTER [in front] of the application. When I click on the button
again, It opens the form again, but both of them goes 'behind'.
2. Is there any way I can create a dock like in Mac OS X in VB?
Iv'e seen a couple of them in Virtual Opearitng Systems in YouTube.
3. I want to create a boot screen. Iv'e seen soemone called 'BlixOS'
uses a boot screen and he uses Visual Basic, yeah, You can take a
look here. How do I do that like him? I mean, Does he use a kind of a movie? Or what?
4. My concept of this VOS (Virtual Opearting System) is simple. I have
a starwberry logo, on the top of the wallpaper, now I want to do when
oyu click it, It shows a fade in for a picture box, then another picturebox,
then another, then another. total 4, or 5. those will bethe applications.
how's that possible to fade them in?
5. I want to create my own taskbar, and for every application in my
VOS I want it to show down there in the taskbar. is that possible?
THANKS FOR ANSWERING!
Do not delete this thread.
Ill be glad to 5-star any post here, even if it's
was helpful to me, or either it wasn't. It's ok!
Good day .
-
Jan 12th, 2011, 03:30 PM
#2
Re: Forms goes behind, and more ...
I think I can answer question 1 in 2 letters:
That makes sure the main form ("Me") is the Owner of Form2, so Form2 stays in front whatever happens.
By the way, if you want to thank people who have helped you, you click on the little gray "scales" icon over on the left. The "stars" system doesn't count for much on these forums because people can star their own threads.
BB
-
Jan 12th, 2011, 03:31 PM
#3
Re: Forms goes behind, and more ...
-
Jan 12th, 2011, 11:24 PM
#4
Thread Starter
Hyperactive Member
Re: Forms goes behind, and more ...
Thanks! Ill check when im home. Any help for the other questions?
Edit: boops boops.. I get this: Form that is already visible cannot be displayed as a modal dialog box. Set the form's visible property to false before calling Show.
when opening ANOTHER form.
Edit: Thanks kevin! It worked, you're awesome.
I still need help with 2,3,4,5.
Last edited by Xoslize; Jan 13th, 2011 at 12:14 AM.
-
Jan 13th, 2011, 07:10 AM
#5
Thread Starter
Hyperactive Member
Re: Forms goes behind, and more ...
Ehh.. Just tested the full screen of you, Kevin. The problem is when I
oepn the window of the form, I can't click anything behind it, so that's
not helping me
-
Jan 13th, 2011, 07:27 AM
#6
Re: Forms goes behind, and more ...
Do you actually want to open 2 copies of the same form? If so you have not explained.
-
Jan 13th, 2011, 08:00 AM
#7
Thread Starter
Hyperactive Member
Re: Forms goes behind, and more ...
I don't mind how many, because this is a cloen of Windows, so basically, you
can open as much as you want in Windows, and that's what I want. And the
problem I described in post #5 was that when I open Form2 I can't click on the
full screen form behind it. It's locked.
-
Jan 13th, 2011, 08:12 AM
#8
Re: Forms goes behind, and more ...
I understand your question, however your answer does not fully answer mine . The post above tells you how to make it Modal, that is, stop you continuing on with anything until you close the one in front, hence you can not access the form behind. In this case you do not want to make it modal.
However, like windows when you start for example calc, and then start calc again, you get 2 copies. If you click on the taskbar you re-open one you already have. Now, for this project I think your best bet is to create a single window to act as your virtual host, then open your "applications" inside this window as MDI children. That way you just activate and bringtofront the window you want to. You can also then do the docking and maximise, minimise blah blah. Here is one I found quickly but I have seen a full example in vb.net a while back which is better. If you have cash there are others.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|