Advertisement

Mouse Over Effect

Started by January 04, 2002 05:59 PM
2 comments, last by DJ_GL 23 years, 1 month ago
How would i actually have text light up or do an event when the mouse is over it? I have an idea, but i just don''t want to go about things the hard way.
Languages: C/C++ C# JavaAPIs: Win32 OpenGL DirectXWeb: &#106avascript Perl JSP PHP-MySQL Oracle Database Programming</span><a href='http://www.ethereal-studios.com'>http://www.ethereal-studios.com</a></a>
  bool MOUSE_OVER = false;While(!Done){   MOUSE_OVER = MyPickingTestFunction(MENU_ITEM);   if(MOUSE_OVER)      DrawBrightMenuItem();   else      DrawPlainItem();}  


To figure out how to do the picking, check out the NeHe tutorial on the subject. Best of luck to you.

Alex Broadwin
A-Tronic Software & Design
-----
"if you fail in life, you were destined to fail. If you suceed in life, call me."
"The answer is out there."
"Please help, I''m using Windows!"
Alex BroadwinA-Tronic Software & Design-----"if you fail in life, you were destined to fail. If you suceed in life, call me.""The answer is out there.""Please help, I'm using Windows!"
Advertisement
Thanks a lot, I really do appreciate your help.
Languages: C/C++ C# JavaAPIs: Win32 OpenGL DirectXWeb: &#106avascript Perl JSP PHP-MySQL Oracle Database Programming</span><a href='http://www.ethereal-studios.com'>http://www.ethereal-studios.com</a></a>
No problem.

Alex Broadwin
A-Tronic Software & Design
-----
"if you fail in life, you were destined to fail. If you suceed in life, call me."
"The answer is out there."
"Please help, I''m using Windows!"
Alex BroadwinA-Tronic Software & Design-----"if you fail in life, you were destined to fail. If you suceed in life, call me.""The answer is out there.""Please help, I'm using Windows!"

This topic is closed to new replies.

Advertisement