Click here to Skip to main content
15,918,889 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: class wizard is disabled Pin
27-Sep-01 3:18
suss27-Sep-01 3:18 
Questionhow to pass USER_LOGON variable to ActiveX developed in VC++? Pin
Bartek27-Sep-01 0:29
Bartek27-Sep-01 0:29 
AnswerRe: how to pass USER_LOGON variable to ActiveX developed in VC++? Pin
Ricardo Beja28-Sep-01 6:31
Ricardo Beja28-Sep-01 6:31 
GeneralVC++ AddIn - How does one open a window Pin
Franz Klein26-Sep-01 23:56
Franz Klein26-Sep-01 23:56 
GeneralPrevent CTreeCtrl from being auto collapsed Pin
Alex Dong26-Sep-01 23:45
Alex Dong26-Sep-01 23:45 
GeneralRe: Prevent CTreeCtrl from being auto collapsed Pin
27-Sep-01 0:35
suss27-Sep-01 0:35 
GeneralRe: Prevent CTreeCtrl from being auto collapsed Pin
27-Sep-01 15:12
suss27-Sep-01 15:12 
Generalstructuring in MFC Pin
JoNy26-Sep-01 23:03
JoNy26-Sep-01 23:03 
Hi,
I am new to MFC and work on a physical simulation application. I am a bit insecure on how to build up the program and would be thankful for any advise.
The simulation shall be updated as often as possible. The update of the simulation then affects the viewing data (vertices and polygons etc) displayed using OpenGL. The framerate of the viewupdate shall be fixed to around 12/sek.
1.Where is best, most natural, to put the simulationupdate-call? Is it in a CWinApp derived class´s Idle-Event-handler? In that case, how do I get a pointer to the CDocument-derived class that holds the simulation-data?
2.Where is best to put the view-update-call, i.e the call that updates the viewing data and then redraws the display-window? Is it in a timer-event of a CView derived class?
Thanks/JoNy

JoNy
GeneralRe: structuring in MFC Pin
Tomasz Sowinski27-Sep-01 0:26
Tomasz Sowinski27-Sep-01 0:26 
GeneralRe: structuring in MFC Pin
JoNy27-Sep-01 1:42
JoNy27-Sep-01 1:42 
GeneralRe: structuring in MFC Pin
Tomasz Sowinski27-Sep-01 2:00
Tomasz Sowinski27-Sep-01 2:00 
GeneralInterprocess communication Pin
^GeeK^26-Sep-01 21:58
^GeeK^26-Sep-01 21:58 
GeneralRe: Interprocess communication Pin
Braulio Dez26-Sep-01 22:48
Braulio Dez26-Sep-01 22:48 
GeneralPassing Messages Between Processes Pin
26-Sep-01 20:53
suss26-Sep-01 20:53 
GeneralRe: Passing Messages Between Processes Pin
Michael Dunn26-Sep-01 21:16
sitebuilderMichael Dunn26-Sep-01 21:16 
GeneralRe: Passing Messages Between Processes Pin
26-Sep-01 21:35
suss26-Sep-01 21:35 
GeneralRe: Passing Messages Between Processes Pin
Christian Graus27-Sep-01 2:34
protectorChristian Graus27-Sep-01 2:34 
GeneralDirectX book Pin
26-Sep-01 20:41
suss26-Sep-01 20:41 
Generalextract a substring from CString Pin
Tryhard26-Sep-01 19:02
Tryhard26-Sep-01 19:02 
GeneralRe: extract a substring from CString Pin
Christian Graus26-Sep-01 19:12
protectorChristian Graus26-Sep-01 19:12 
QuestionHOW I CAN USE A LISTVIEW CONTROL IN MY HTML PAGE? Pin
26-Sep-01 16:55
suss26-Sep-01 16:55 
AnswerRe: HOW I CAN USE A LISTVIEW CONTROL IN MY HTML PAGE? Pin
Christian Graus26-Sep-01 17:22
protectorChristian Graus26-Sep-01 17:22 
GeneralRe: HOW I CAN USE A LISTVIEW CONTROL IN MY HTML PAGE? Pin
26-Sep-01 19:32
suss26-Sep-01 19:32 
GeneralRe: HOW I CAN USE A LISTVIEW CONTROL IN MY HTML PAGE? Pin
Christian Graus26-Sep-01 19:43
protectorChristian Graus26-Sep-01 19:43 
GeneralMultiple Processes: Threads, Messages, Etc Pin
Eric Sanchez26-Sep-01 16:28
Eric Sanchez26-Sep-01 16:28 

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.