Click here to Skip to main content
15,892,480 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Fixed path for File Open/Save Dialog.... Pin
Stober12-Mar-06 0:52
Stober12-Mar-06 0:52 
AnswerRe: Fixed path for File Open/Save Dialog.... Pin
Gary R. Wheeler12-Mar-06 2:24
Gary R. Wheeler12-Mar-06 2:24 
QuestionGLUT main problem Pin
amanoullah11-Mar-06 22:36
amanoullah11-Mar-06 22:36 
AnswerRe: GLUT main problem Pin
Dominik Reichl12-Mar-06 1:36
Dominik Reichl12-Mar-06 1:36 
QuestionAdobe Distiller Pin
Dr-Kuulun11-Mar-06 22:06
Dr-Kuulun11-Mar-06 22:06 
AnswerRe: Adobe Distiller Pin
Dr-Kuulun11-Mar-06 22:10
Dr-Kuulun11-Mar-06 22:10 
GeneralRe: Adobe Distiller Pin
Hamid_RT12-Mar-06 2:53
Hamid_RT12-Mar-06 2:53 
QuestionGLUT problem Pin
amanoullah11-Mar-06 20:18
amanoullah11-Mar-06 20:18 
Hey guys!!

How can I use the following GLUT functions without having to include them in main(int argc, char **argv) ??

glutMouseFunc(Mouse);<br />
glutMotionFunc(MouseActiveMotion);<br />
glutPassiveMotionFunc(MousePassiveMotion);<br />
glutEntryFunc(MouseEntry);<br />
glutKeyboardFunc(NormalKeys);<br />
glutSpecialFunc(KeyInput);


I'm trying to implement a camera using GLUT but the thing is I have to use this inside an OpenGL window that ive integrated in MFC. I have a separate class for my camera functions like void CCAMERA::Mouse(int button, int state, int x, int y)

But the compiler wont let me do this:
glutMouseFunc(Mouse); or this glutMouseFunc(CCAMERA::Mouse); or even when I instantiate my class as Camera and do this: glutMouseFunc(Camera.Mouse); , it wont let me. Confused | :confused:

Please help!

Thanks in advance guys

Aman N
AnswerRe: GLUT problem Pin
Jeremy Falcon11-Mar-06 20:43
professionalJeremy Falcon11-Mar-06 20:43 
AnswerRe: GLUT problem Pin
beko11-Mar-06 22:56
beko11-Mar-06 22:56 
QuestionIdentifying sequence point errors in VS6 Pin
Chintoo72311-Mar-06 19:30
Chintoo72311-Mar-06 19:30 
AnswerRe: Identifying sequence point errors in VS6 Pin
John R. Shaw11-Mar-06 21:32
John R. Shaw11-Mar-06 21:32 
GeneralRe: Identifying sequence point errors in VS6 Pin
Chintoo72312-Mar-06 0:51
Chintoo72312-Mar-06 0:51 
GeneralRe: Identifying sequence point errors in VS6 Pin
John R. Shaw16-Mar-06 14:51
John R. Shaw16-Mar-06 14:51 
GeneralRe: Identifying sequence point errors in VS6 Pin
Chintoo72318-Mar-06 18:55
Chintoo72318-Mar-06 18:55 
GeneralRe: Identifying sequence point errors in VS6 Pin
John R. Shaw19-Mar-06 12:22
John R. Shaw19-Mar-06 12:22 
GeneralRe: Identifying sequence point errors in VS6 Pin
Ryan Binns12-Mar-06 17:31
Ryan Binns12-Mar-06 17:31 
GeneralRe: Identifying sequence point errors in VS6 Pin
John R. Shaw16-Mar-06 15:44
John R. Shaw16-Mar-06 15:44 
AnswerRe: Identifying sequence point errors in VS6 Pin
Trollslayer12-Mar-06 1:45
mentorTrollslayer12-Mar-06 1:45 
GeneralRe: Identifying sequence point errors in VS6 Pin
Chintoo72312-Mar-06 3:44
Chintoo72312-Mar-06 3:44 
GeneralRe: Identifying sequence point errors in VS6 Pin
Trollslayer12-Mar-06 10:06
mentorTrollslayer12-Mar-06 10:06 
QuestionHow to translate applications using resources files Pin
Allad11-Mar-06 17:40
Allad11-Mar-06 17:40 
AnswerRe: How to translate applications using resources files Pin
John R. Shaw11-Mar-06 22:32
John R. Shaw11-Mar-06 22:32 
GeneralRe: How to translate applications using resources files Pin
Allad12-Mar-06 2:00
Allad12-Mar-06 2:00 
GeneralRe: How to translate applications using resources files Pin
John R. Shaw16-Mar-06 15:24
John R. Shaw16-Mar-06 15:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.