Click here to Skip to main content
14,877,652 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC Custom Control Problem Pin
Jinzuu20-Sep-07 5:52
MemberJinzuu20-Sep-07 5:52 
GeneralRe: MFC Custom Control Problem Pin
Iain Clarke, Warrior Programmer20-Sep-07 6:34
MemberIain Clarke, Warrior Programmer20-Sep-07 6:34 
Questionopengl in mfc Pin
saisp17-Sep-07 23:40
Membersaisp17-Sep-07 23:40 
AnswerRe: opengl in mfc Pin
Russell'18-Sep-07 1:00
MemberRussell'18-Sep-07 1:00 
QuestionAn Multi Thread SDI application Pin
Marimuthu.r17-Sep-07 23:26
MemberMarimuthu.r17-Sep-07 23:26 
AnswerRe: An Multi Thread SDI application Pin
baerten18-Sep-07 0:10
Memberbaerten18-Sep-07 0:10 
GeneralRe: An Multi Thread SDI application Pin
Marimuthu.r18-Sep-07 1:19
MemberMarimuthu.r18-Sep-07 1:19 
GeneralRe: An Multi Thread SDI application Pin
Waldermort18-Sep-07 2:34
MemberWaldermort18-Sep-07 2:34 
You really don't need to be using a thread for each ball. As another poster said, create an instance of a class for each and update the class on each loop of your code.

You also might want to do some searching for an algorithm called "collision detection" which is almost exactly what you are trying to accomplish.

Waldermort

AnswerRe: An Multi Thread SDI application Pin
Russell'18-Sep-07 0:10
MemberRussell'18-Sep-07 0:10 
AnswerRe: An Multi Thread SDI application Pin
Cliff Hatch18-Sep-07 9:04
MemberCliff Hatch18-Sep-07 9:04 
QuestionON_COMMAND_EX Pin
Rockone17-Sep-07 22:25
MemberRockone17-Sep-07 22:25 
AnswerRe: ON_COMMAND_EX Pin
ashukasama17-Sep-07 22:57
Memberashukasama17-Sep-07 22:57 
GeneralRe: ON_COMMAND_EX Pin
Rockone17-Sep-07 23:20
MemberRockone17-Sep-07 23:20 
QuestionRe: ON_COMMAND_EX Pin
David Crow18-Sep-07 3:09
MemberDavid Crow18-Sep-07 3:09 
AnswerRe: ON_COMMAND_EX Pin
Rockone18-Sep-07 16:12
MemberRockone18-Sep-07 16:12 
QuestionRe: ON_COMMAND_EX Pin
David Crow19-Sep-07 2:40
MemberDavid Crow19-Sep-07 2:40 
AnswerRe: ON_COMMAND_EX Pin
Rockone19-Sep-07 23:45
MemberRockone19-Sep-07 23:45 
AnswerRe: ON_COMMAND_EX Pin
Mark Salsbery18-Sep-07 6:14
MemberMark Salsbery18-Sep-07 6:14 
GeneralRe: ON_COMMAND_EX Pin
Rockone18-Sep-07 16:42
MemberRockone18-Sep-07 16:42 
Questionbasic issue Mode no value Pin
monsieur_jj17-Sep-07 22:13
Membermonsieur_jj17-Sep-07 22:13 
AnswerRe: basic issue Mode no value Pin
Iain Clarke, Warrior Programmer17-Sep-07 22:38
MemberIain Clarke, Warrior Programmer17-Sep-07 22:38 
QuestionIssue with pointer initialization in a simple thread Pin
__yash__17-Sep-07 21:56
professional__yash__17-Sep-07 21:56 
AnswerRe: Issue with pointer initialization in a simple thread Pin
Cedric Moonen17-Sep-07 22:18
MemberCedric Moonen17-Sep-07 22:18 
GeneralRe: Issue with pointer initialization in a simple thread Pin
__yash__17-Sep-07 23:09
professional__yash__17-Sep-07 23:09 
AnswerRe: Issue with pointer initialization in a simple thread Pin
Iain Clarke, Warrior Programmer17-Sep-07 22:45
MemberIain Clarke, Warrior Programmer17-Sep-07 22:45 

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.