Click here to Skip to main content
15,908,013 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Using ShellExecute to open a web page as a child of Dialog Pin
pix_programmer1-Jun-11 1:58
pix_programmer1-Jun-11 1:58 
GeneralRe: Using ShellExecute to open a web page as a child of Dialog Pin
barneyman1-Jun-11 1:59
barneyman1-Jun-11 1:59 
GeneralRe: Using ShellExecute to open a web page as a child of Dialog Pin
pix_programmer1-Jun-11 2:06
pix_programmer1-Jun-11 2:06 
GeneralRe: Using ShellExecute to open a web page as a child of Dialog Pin
barneyman1-Jun-11 2:12
barneyman1-Jun-11 2:12 
GeneralRe: Using ShellExecute to open a web page as a child of Dialog Pin
pix_programmer1-Jun-11 2:22
pix_programmer1-Jun-11 2:22 
GeneralRe: Using ShellExecute to open a web page as a child of Dialog Pin
barneyman1-Jun-11 2:27
barneyman1-Jun-11 2:27 
GeneralRe: Using ShellExecute to open a web page as a child of Dialog Pin
pix_programmer1-Jun-11 2:46
pix_programmer1-Jun-11 2:46 
GeneralRe: Using ShellExecute to open a web page as a child of Dialog Pin
barneyman1-Jun-11 3:00
barneyman1-Jun-11 3:00 
QuestionRe: Using ShellExecute to open a web page as a child of Dialog Pin
David Crow1-Jun-11 3:06
David Crow1-Jun-11 3:06 
QuestionRe: Using ShellExecute to open a web page as a child of Dialog [modified] Pin
pix_programmer1-Jun-11 3:09
pix_programmer1-Jun-11 3:09 
GeneralRe: Using ShellExecute to open a web page as a child of Dialog Pin
David Crow1-Jun-11 3:25
David Crow1-Jun-11 3:25 
AnswerRe: Using ShellExecute to open a web page as a child of Dialog Pin
rp_suman2-Jun-11 1:09
rp_suman2-Jun-11 1:09 
Questionsome special charaters like while reading XML. Pin
janaswamy uday1-Jun-11 0:55
janaswamy uday1-Jun-11 0:55 
AnswerRe: some special charaters like while reading XML. Pin
barneyman1-Jun-11 1:57
barneyman1-Jun-11 1:57 
QuestionTwo questions about CDockablePane class management programmatically. [modified] Pin
SAMZCN31-May-11 23:31
SAMZCN31-May-11 23:31 
QuestionMFC COM Pin
Pranit Kothari31-May-11 21:36
Pranit Kothari31-May-11 21:36 
AnswerRe: MFC COM Pin
వేంకటనారాయణ(venkatmakam)31-May-11 21:41
వేంకటనారాయణ(venkatmakam)31-May-11 21:41 
GeneralRe: MFC COM Pin
ShilpiP31-May-11 22:56
ShilpiP31-May-11 22:56 
AnswerRe: MFC COM [modified] Pin
ShilpiP31-May-11 22:32
ShilpiP31-May-11 22:32 
GeneralRe: MFC COM [modified] Pin
వేంకటనారాయణ(venkatmakam)31-May-11 22:36
వేంకటనారాయణ(venkatmakam)31-May-11 22:36 
GeneralRe: MFC COM Pin
ShilpiP31-May-11 22:48
ShilpiP31-May-11 22:48 
GeneralRe: MFC COM Pin
వేంకటనారాయణ(venkatmakam)1-Jun-11 0:08
వేంకటనారాయణ(venkatmakam)1-Jun-11 0:08 
GeneralRe: MFC COM Pin
ShilpiP1-Jun-11 0:13
ShilpiP1-Jun-11 0:13 
AnswerRe: MFC COM Pin
ThatsAlok1-Jun-11 20:41
ThatsAlok1-Jun-11 20:41 
QuestionAngles Pin
Cyclone_S31-May-11 14:48
Cyclone_S31-May-11 14:48 
I got two questions. First I'm making a brick game. I want the ball to bounce off the paddle at different angles depending on where the ball hits the paddle. If the angle variable is specified directly it bounces off in the correct angle but I'm not sure how to calculate the angle depending on where the ball hits the paddle.

double a = 135;
double angle = (Math::PI / 180) * a;
Ball_List[b]->xVel = speed*Math::Cos(angle);
Ball_List[b]->yVel = -speed*Math::Sin(angle);



Second. I want to animate a box going in a circle but I'm Not sure on the math.


Thanks in advance.

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.