GUI for MMORPG
GUI for MMORPG
GUI for MMORPG
GUI for MMORPG
GUI for MMORPG
GUI for MMORPG GUI for MMORPG GUI for MMORPG GUI for MMORPG GUI for MMORPG GUI for MMORPG GUI for MMORPG GUI for MMORPG
GUI for MMORPG GUI for MMORPG
GUI for MMORPG
Go Back  Xtreme Visual Basic Talk > > > GUI for MMORPG


Reply
 
Thread Tools Display Modes
  #1  
Old 01-20-2012, 05:59 AM
bstevey10 bstevey10 is offline
Newcomer
 
Join Date: Jan 2012
Posts: 1
Default GUI for MMORPG


Ok. I am currently making a GUI for 3d MMORPG game and I just need to know how to make my different forms show up on ome screen without the blue toolbar. I also want to auto hide them and make them come up when you put your mouse over the area.
Reply With Quote
  #2  
Old 01-20-2012, 06:04 AM
DrPunk's Avatar
DrPunkGUI for MMORPG DrPunk is offline
Senior Contributor

* Expert *
 
Join Date: Apr 2003
Location: Never where I want to be
Posts: 1,403
Default

Without the blue toolbar? Do you mean the Form's FormBorderStyle set to None?

You hide a form by setting it's Visible property to False. You then have MouseEnter and MouseLeave events you can utilise to set that property to True or False as required.
__________________
There are no computers in heaven!
Reply With Quote
  #3  
Old 01-20-2012, 10:23 AM
passel's Avatar
passelGUI for MMORPG passel is offline
Sinecure Expert

Super Moderator
* Guru *
 
Join Date: Jun 2003
Location: Upstate New York, usa
Posts: 8,026
Default

I guess I'll have to test it, but I don't think you will get MouseEnter events if the form is not visible.
Also, if you have any controls on your form, you will get MouseLeave events for the form whenever the mouse moves from over the form to over a control on the form. If you have a number of controls, and gaps between the controls, you will get a number of form MouseEnter and MouseLeave events as the mouse moves over the controls on the form.

You can set the Opacity to 0.01 so you probably won't see the form, but it still will get events. In which case you can set the Opacity to 1.0 in the MouseEnter event and to 0.01 in the MouseLeave event, but you still have the issue of handling MouseEnter and Leave events while still inside the form but traversing over controls.
__________________
There Is An Island Of Opportunity In The Middle of Every Difficulty.
Miss That, Though, And You're Pretty Much Doomed.

Last edited by passel; 01-20-2012 at 11:09 AM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
GUI for MMORPG
GUI for MMORPG
GUI for MMORPG GUI for MMORPG
GUI for MMORPG
GUI for MMORPG
GUI for MMORPG GUI for MMORPG GUI for MMORPG GUI for MMORPG GUI for MMORPG GUI for MMORPG GUI for MMORPG
GUI for MMORPG
GUI for MMORPG
 
GUI for MMORPG
GUI for MMORPG
 
-->