Click here to Skip to main content
15,887,821 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: how to pass values between dialog window in MFC Pin
David Crow9-May-11 3:54
David Crow9-May-11 3:54 
AnswerRe: how to pass values between dialog window in MFC Pin
Niklas L6-May-11 1:12
Niklas L6-May-11 1:12 
QuestionBall Physics Pin
Cyclone_S5-May-11 23:51
Cyclone_S5-May-11 23:51 
AnswerRe: Ball Physics Pin
Richard MacCutchan6-May-11 2:58
mveRichard MacCutchan6-May-11 2:58 
GeneralRe: Ball Physics Pin
Cyclone_S6-May-11 7:57
Cyclone_S6-May-11 7:57 
AnswerRe: Ball Physics Pin
CPallini6-May-11 10:29
mveCPallini6-May-11 10:29 
GeneralRe: Ball Physics Pin
Cyclone_S6-May-11 21:35
Cyclone_S6-May-11 21:35 
AnswerRe: Ball Physics Pin
Stefan_Lang10-May-11 5:11
Stefan_Lang10-May-11 5:11 
Recently I've found a very neat blog that explains how to implement some basic physics of a very similar kind as what you are trying to achieve. Check out Physics engine for dummies for some very useful explanations and code that can get you started. The explanations you can find there on how best to implement collision control are very exhaustive.

Although the code examples do not feature rectangular bricks, I am sure you can adapt them quite easily by stealing the code from the collision control with the outside border. You just need to make sure that you will always have to check all borders, rather than just 1 at a time. However, for a start it may be easier to just use circular bricks and a circular ball.
QuestionSetting BGColor to a WebBrowser Control [modified] Pin
pix_programmer5-May-11 1:32
pix_programmer5-May-11 1:32 
QuestionRe: Setting BGColor to a WebBrowser Control Pin
వేంకటనారాయణ(venkatmakam)5-May-11 1:54
వేంకటనారాయణ(venkatmakam)5-May-11 1:54 
AnswerRe: Setting BGColor to a WebBrowser Control Pin
pix_programmer5-May-11 2:17
pix_programmer5-May-11 2:17 
GeneralRe: Setting BGColor to a WebBrowser Control Pin
_Flaviu5-May-11 2:32
_Flaviu5-May-11 2:32 
GeneralRe: Setting BGColor to a WebBrowser Control Pin
pix_programmer5-May-11 2:34
pix_programmer5-May-11 2:34 
QuestionRe: Setting BGColor to a WebBrowser Control Pin
Maximilien5-May-11 7:19
Maximilien5-May-11 7:19 
AnswerRe: Setting BGColor to a WebBrowser Control Pin
pix_programmer5-May-11 18:08
pix_programmer5-May-11 18:08 
GeneralRe: Setting BGColor to a WebBrowser Control Pin
barneyman5-May-11 20:03
barneyman5-May-11 20:03 
GeneralRe: Setting BGColor to a WebBrowser Control Pin
Cool_Dev5-May-11 22:18
Cool_Dev5-May-11 22:18 
GeneralRe: Setting BGColor to a WebBrowser Control Pin
వేంకటనారాయణ(venkatmakam)5-May-11 22:50
వేంకటనారాయణ(venkatmakam)5-May-11 22:50 
QuestionA strange thing about using SHGetFileInfo to get icon [modified][solved] Pin
yu-jian4-May-11 22:55
yu-jian4-May-11 22:55 
AnswerRe: A strange thing about using SHGetFileInfo to get icon Pin
Michael Dunn5-May-11 13:46
sitebuilderMichael Dunn5-May-11 13:46 
AnswerRe: A strange thing about using SHGetFileInfo to get icon Pin
Iain Clarke, Warrior Programmer6-May-11 4:53
Iain Clarke, Warrior Programmer6-May-11 4:53 
GeneralRe: A strange thing about using SHGetFileInfo to get icon Pin
yu-jian9-May-11 23:44
yu-jian9-May-11 23:44 
QuestionMFC data structures Pin
_Flaviu4-May-11 20:50
_Flaviu4-May-11 20:50 
AnswerRe: MFC data structures Pin
Alexandre GRANVAUD4-May-11 21:44
Alexandre GRANVAUD4-May-11 21:44 
AnswerRe: MFC data structures Pin
Ozer Karaagac5-May-11 1:03
professionalOzer Karaagac5-May-11 1:03 

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.