Click here to Skip to main content
15,914,165 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: switch statement problem Pin
Anonymous13-Feb-05 23:00
Anonymous13-Feb-05 23:00 
GeneralRe: switch statement problem Pin
David Crow14-Feb-05 3:48
David Crow14-Feb-05 3:48 
GeneralRe: switch statement problem Pin
Mattias G14-Feb-05 6:13
Mattias G14-Feb-05 6:13 
GeneralRe: switch statement problem Pin
David Crow14-Feb-05 7:14
David Crow14-Feb-05 7:14 
QuestionHow to print the picture in a picture control Pin
dadacncn13-Feb-05 12:36
dadacncn13-Feb-05 12:36 
AnswerRe: How to print the picture in a picture control Pin
ThatsAlok13-Feb-05 22:19
ThatsAlok13-Feb-05 22:19 
GeneralCapturing active 2d sprite Pin
Oskars13-Feb-05 12:03
Oskars13-Feb-05 12:03 
GeneralRe: Capturing active 2d sprite Pin
Bob Ciora14-Feb-05 9:33
Bob Ciora14-Feb-05 9:33 
Even though you're trying to capture a 2D sprite, you're using Direct3D, right? So in reality, you're trying to click on a section of a plane in 3D space. This presents additional computation, since you have to convert the mouse position on the screen into a Ray in 3D space. It's not as simple as the 2D case, I'm afraid Frown | :(

It takes a bit of explanation, and I'm in the process of compiling an article on the subject, but there really isn't room to describe the process here.

You may want to poke around the internet for some keywords like "3D hit testing" "ray picking" and the like.


Bob Ciora
QuestionAvailable window handles? Pin
tstalzer13-Feb-05 11:30
tstalzer13-Feb-05 11:30 
AnswerRe: Available window handles? Pin
rocky_pulley14-Feb-05 1:20
rocky_pulley14-Feb-05 1:20 
AnswerRe: Available window handles? Pin
Michael Dunn14-Feb-05 7:10
sitebuilderMichael Dunn14-Feb-05 7:10 
Generalextract resouce dialogs to vb Pin
Andy Elmore13-Feb-05 10:54
Andy Elmore13-Feb-05 10:54 
GeneralRe: extract resouce dialogs to vb Pin
Michael P Butler13-Feb-05 10:59
Michael P Butler13-Feb-05 10:59 
GeneralRe: extract resouce dialogs to vb Pin
Andy Elmore13-Feb-05 13:12
Andy Elmore13-Feb-05 13:12 
GeneralRe: extract resouce dialogs to vb Pin
technomanceraus13-Feb-05 13:38
technomanceraus13-Feb-05 13:38 
GeneralSimple Question on Button and Sound Pin
Grahamfff13-Feb-05 10:21
Grahamfff13-Feb-05 10:21 
GeneralRe: Simple Question on Button and Sound Pin
PJ Arends13-Feb-05 10:26
professionalPJ Arends13-Feb-05 10:26 
GeneralRe: Simple Question on Button and Sound Pin
normanS13-Feb-05 23:10
normanS13-Feb-05 23:10 
GeneralWM_KILLFOCUS / WM_SETFOCUS Pin
PJ Arends13-Feb-05 10:17
professionalPJ Arends13-Feb-05 10:17 
GeneralRe: WM_KILLFOCUS / WM_SETFOCUS Pin
Ryan Binns13-Feb-05 17:14
Ryan Binns13-Feb-05 17:14 
GeneralRe: WM_KILLFOCUS / WM_SETFOCUS Pin
PJ Arends14-Feb-05 9:30
professionalPJ Arends14-Feb-05 9:30 
GeneralRe: WM_KILLFOCUS / WM_SETFOCUS Pin
Ryan Binns14-Feb-05 12:15
Ryan Binns14-Feb-05 12:15 
GeneralRe: WM_KILLFOCUS / WM_SETFOCUS Pin
PJ Arends14-Feb-05 20:56
professionalPJ Arends14-Feb-05 20:56 
GeneralRe: WM_KILLFOCUS / WM_SETFOCUS Pin
Ryan Binns14-Feb-05 22:57
Ryan Binns14-Feb-05 22:57 
GeneralAnimateWindow & OnPaint problem Pin
Anonymous13-Feb-05 8:49
Anonymous13-Feb-05 8:49 

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.