Click here to Skip to main content
15,912,283 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionregarding CrichEditCtrl [modified] Pin
jasuja_moris24-Oct-08 21:58
jasuja_moris24-Oct-08 21:58 
AnswerRe: regarding CrichEditCtrl Pin
Nuri Ismail24-Oct-08 23:48
Nuri Ismail24-Oct-08 23:48 
QuestionHow to reinitialize the OpenGL window in MFC in order to render another file? Pin
sn00pi24-Oct-08 21:41
sn00pi24-Oct-08 21:41 
AnswerRe: How to reinitialize the OpenGL window in MFC in order to render another file? Pin
Cedric Moonen24-Oct-08 21:50
Cedric Moonen24-Oct-08 21:50 
GeneralRe: How to reinitialize the OpenGL window in MFC in order to render another file? Pin
sn00pi24-Oct-08 22:22
sn00pi24-Oct-08 22:22 
GeneralRe: How to reinitialize the OpenGL window in MFC in order to render another file? Pin
Cedric Moonen24-Oct-08 23:59
Cedric Moonen24-Oct-08 23:59 
GeneralRe: How to reinitialize the OpenGL window in MFC in order to render another file? Pin
sn00pi25-Oct-08 0:49
sn00pi25-Oct-08 0:49 
GeneralRe: How to reinitialize the OpenGL window in MFC in order to render another file? Pin
Cedric Moonen25-Oct-08 2:02
Cedric Moonen25-Oct-08 2:02 
OpenGL doesn't support loading any file format (as far as I know). So, you either wrote your own loader or used a third party library.

In fact what you are asking is the most basic thing in the chain: if you are already able to load and display 3DS max file, simply displaying another one should be a piece of cake...
How are you loading your model ? How are you displaying it ? What you should do is reload a new model when the user clicks the button and display the new model. So, exactly the same as you did for the first model.

My feeling is that you don't understand what you are doing: you try to put different things found on several tutorials together but you don't know what they do. I strongly suggest to start with the begining (both for MFC and OpenGL), perhaps buying a book or two. This will be more efficient than what you are doing right now.

Cédric Moonen
Software developer

Charting control [v1.5]
OpenGL game tutorial in C++

Question"Warning: GetWindowMenuPopup failed!" Pin
Nikesh Jagtap24-Oct-08 21:07
Nikesh Jagtap24-Oct-08 21:07 
AnswerRe: "Warning: GetWindowMenuPopup failed!" Pin
Iain Clarke, Warrior Programmer25-Oct-08 2:42
Iain Clarke, Warrior Programmer25-Oct-08 2:42 
GeneralRe: "Warning: GetWindowMenuPopup failed!" Pin
Bram van Kampen25-Oct-08 16:35
Bram van Kampen25-Oct-08 16:35 
QuestionConerting vc 6 program into vc 2008 application Pin
VCProgrammer24-Oct-08 20:57
VCProgrammer24-Oct-08 20:57 
AnswerRe: Conerting vc 6 program into vc 2008 application Pin
Cedric Moonen24-Oct-08 21:52
Cedric Moonen24-Oct-08 21:52 
GeneralRe: Conerting vc 6 program into vc 2008 application Pin
VCProgrammer24-Oct-08 21:56
VCProgrammer24-Oct-08 21:56 
GeneralRe: Conerting vc 6 program into vc 2008 application Pin
Cedric Moonen24-Oct-08 22:09
Cedric Moonen24-Oct-08 22:09 
Questionexecution code during installation of setup........... Pin
ani_ikram24-Oct-08 20:53
ani_ikram24-Oct-08 20:53 
QuestionHow to invoke the Perl Function from VC++ Console application Pin
f340492324-Oct-08 20:06
f340492324-Oct-08 20:06 
AnswerRe: How to invoke the Perl Function from VC++ Console application Pin
Bram van Kampen25-Oct-08 16:33
Bram van Kampen25-Oct-08 16:33 
GeneralRe: How to invoke the Perl Function from VC++ Console application Pin
f340492326-Oct-08 14:31
f340492326-Oct-08 14:31 
Questionwhat is the difference of “class instance” and “object”? Pin
WangZHua24-Oct-08 16:42
WangZHua24-Oct-08 16:42 
AnswerRe: what is the difference of “class instance” and “object”? Pin
David Crow24-Oct-08 16:46
David Crow24-Oct-08 16:46 
GeneralRe: what is the difference of “class instance” and “object”? Pin
WangZHua25-Oct-08 0:42
WangZHua25-Oct-08 0:42 
GeneralRe: what is the difference of “class instance” and “object”? Pin
Nemanja Trifunovic25-Oct-08 15:30
Nemanja Trifunovic25-Oct-08 15:30 
GeneralRe: what is the difference of “class instance” and “object”? Pin
David Crow27-Oct-08 2:48
David Crow27-Oct-08 2:48 
AnswerRe: what is the difference of “class instance” and “object”? Pin
Subrat 470826624-Oct-08 22:56
Subrat 470826624-Oct-08 22:56 

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.