Loading
Tweet
Videos
Blog
News
Forum
Games
Shop
Jobs
prev
Hunting the Higgs
Using the Decorative Drawing...
Reading 6 - Jack and Jill
Ether of Magic Cards
Using the Blob Brush Tool
Public and Private Members
Flight
Creating an Event DVD
Children's Reading Videos Pl...
Events and MouseEvent Handlers
next
June 19, 2013, 02:37:40 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Welcome!
Forum Home
Help
Search Forum
Login
Register
XoaX.net Forum
>
Subjects
>
C++
>
OpenGL
(Moderator:
bluetoo
) >
Hanndle mouse press
Pages: [
1
]
Go Down
« previous
next »
Send this topic
|
Print
Author
Topic: Hanndle mouse press (Read 397 times)
taigi100
Newbie
Posts: 19
Hanndle mouse press
«
on:
January 11, 2012, 11:53:54 AM »
ok so as far as i saw we have a function like
void keypress(unsigned char key,int x, int y)
How do i hanndle the mouse presses?
Logged
Michael Hall
Administrator
Hero Member
Posts: 906
Re: Hanndle mouse press
«
Reply #1 on:
January 11, 2012, 12:38:42 PM »
I've done this for Win32. For GLUT, you use
Code:
glutMouseFunc()
The details can be found here.
http://www.opengl.org/resources/libraries/glut/spec3/node50.html#SECTION00085000000000000000
Mike
Logged
taigi100
Newbie
Posts: 19
Re: Hanndle mouse press
«
Reply #2 on:
January 11, 2012, 01:33:36 PM »
thnx
Logged
Pages: [
1
]
Go Up
Send this topic
|
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Subjects
-----------------------------
=> C++
===> Console
===> OpenGL
===> MFC
===> Win32
===> Visual C++ IDE
===> C++ Misc.
===> C
=> Computer Science
===> Algorithms
===> Computer Architecture
===> Graphics 3D
===> Neural Networks
===> UML
===> Development
=> Web Programming
===> PHP
===> HTML
===> CSS
===> Flash
===> Actionscript
===> Java
===> JavaScript
=> Math
=> Physics
=> English
=> Music
=> Children's
=> Software
=> Catholicism
=> Other
===> Puzzles and Tricks
===> How To Use a Computer
=> General Information
===> Site Suggestions
===> Off Topic
Loading...