Click here to Skip to main content
15,925,206 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Best practice for managing large quantity of hard-coded string in application. [modified] Pin
Alain Rist16-Sep-10 0:02
Alain Rist16-Sep-10 0:02 
QuestionHow can remove dotted gray line that is display in row of ListCtrl? Pin
Le@rner14-Sep-10 23:36
Le@rner14-Sep-10 23:36 
AnswerRe: How can remove dotted gray line that is display in row of ListCtrl? Pin
Niklas L15-Sep-10 0:19
Niklas L15-Sep-10 0:19 
GeneralRe: How can remove dotted gray line that is display in row of ListCtrl? Pin
Le@rner15-Sep-10 0:31
Le@rner15-Sep-10 0:31 
GeneralRe: How can remove dotted gray line that is display in row of ListCtrl? Pin
Niklas L15-Sep-10 0:40
Niklas L15-Sep-10 0:40 
GeneralRe: How can remove dotted gray line that is display in row of ListCtrl? Pin
Cool_Dev15-Sep-10 3:17
Cool_Dev15-Sep-10 3:17 
QuestionDisplaying Greek text on a button in windows-xp Pin
msr_codeproject14-Sep-10 23:29
msr_codeproject14-Sep-10 23:29 
QuestionRe: Displaying Greek text on a button in windows-xp Pin
Cool_Dev15-Sep-10 3:22
Cool_Dev15-Sep-10 3:22 
AnswerRe: Displaying Greek text on a button in windows-xp Pin
Code-o-mat15-Sep-10 6:11
Code-o-mat15-Sep-10 6:11 
QuestionGetting path count Pin
Benjamin Bruno14-Sep-10 23:25
Benjamin Bruno14-Sep-10 23:25 
AnswerRe: Getting path count Pin
Code-o-mat15-Sep-10 1:55
Code-o-mat15-Sep-10 1:55 
QuestionC2259 Pin
T.RATHA KRISHNAN14-Sep-10 22:29
T.RATHA KRISHNAN14-Sep-10 22:29 
AnswerRe: C2259 Pin
Niklas L14-Sep-10 22:33
Niklas L14-Sep-10 22:33 
GeneralRe: C2259 Pin
T.RATHA KRISHNAN14-Sep-10 22:44
T.RATHA KRISHNAN14-Sep-10 22:44 
GeneralRe: C2259 Pin
Niklas L14-Sep-10 22:59
Niklas L14-Sep-10 22:59 
AnswerRe: C2259 Pin
Cedric Moonen14-Sep-10 22:43
Cedric Moonen14-Sep-10 22:43 
QuestionHit testing Pin
Benjamin Bruno14-Sep-10 20:18
Benjamin Bruno14-Sep-10 20:18 
AnswerRe: Hit testing [modified] Pin
_AnsHUMAN_ 14-Sep-10 20:45
_AnsHUMAN_ 14-Sep-10 20:45 
one way would be to store the centers and radius of circle(In case of ellipse it depends on the length of the major and minor chords) and when the mouse is clicked you can get the point of click and check if the coordinates are within the range of the circle or the ellipse.
For ex: in case of a circle, if you have a circle with center at (100,100) and radius as 100 then if the user clicks on x,y then check if the new points are still in the space occupied by the circle. In other words you can check if x,y both lie between 0 and 200
There will be some refinements required though with this approach.

EDIT: BTW circle is a special case for ellipse with the major and minor chords of the same length, called the radius in a circle.
I am a HUMAN. I have that keyword (??? too much) in my name........
Wink | ;-) _AnsHUMAN_b>

modified on Wednesday, September 15, 2010 2:54 AM

AnswerRe: Hit testing Pin
CPallini14-Sep-10 20:59
mveCPallini14-Sep-10 20:59 
QuestionHow to use the C++ dynamic load DLL which compiles with C# Pin
ZhiLiangLin14-Sep-10 15:37
ZhiLiangLin14-Sep-10 15:37 
AnswerRe: How to use the C++ dynamic load DLL which compiles with C# Pin
Garth J Lancaster14-Sep-10 16:05
professionalGarth J Lancaster14-Sep-10 16:05 
AnswerRe: How to use the C++ dynamic load DLL which compiles with C# Pin
_AnsHUMAN_ 14-Sep-10 18:36
_AnsHUMAN_ 14-Sep-10 18:36 
Questiondynamic jpg photo Pin
benams14-Sep-10 9:45
benams14-Sep-10 9:45 
AnswerRe: dynamic jpg photo Pin
Chris Losinger14-Sep-10 9:56
professionalChris Losinger14-Sep-10 9:56 
GeneralRe: dynamic jpg photo Pin
Emilio Garavaglia14-Sep-10 22:51
Emilio Garavaglia14-Sep-10 22:51 

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.