Click here to Skip to main content
15,907,493 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerThird time you posted this Pin
led mike6-Mar-09 4:39
led mike6-Mar-09 4:39 
QuestionExtracting array of POINTs from a CRgn Pin
Jonnie White6-Mar-09 3:23
Jonnie White6-Mar-09 3:23 
AnswerRe: Extracting array of POINTs from a CRgn (added) Pin
Eytukan6-Mar-09 3:38
Eytukan6-Mar-09 3:38 
GeneralRe: Extracting array of POINTs from a CRgn (added) [modified] Pin
Jonnie White6-Mar-09 4:08
Jonnie White6-Mar-09 4:08 
GeneralRe: Extracting array of POINTs from a CRgn (added) Pin
Eytukan6-Mar-09 4:52
Eytukan6-Mar-09 4:52 
AnswerRe: Extracting array of POINTs from a CRgn Pin
Perisic, Aleksandar6-Mar-09 4:22
Perisic, Aleksandar6-Mar-09 4:22 
GeneralRe: Extracting array of POINTs from a CRgn Pin
Jonnie White6-Mar-09 5:21
Jonnie White6-Mar-09 5:21 
GeneralRe: Extracting array of POINTs from a CRgn [modified] Pin
Perisic, Aleksandar6-Mar-09 5:50
Perisic, Aleksandar6-Mar-09 5:50 
CRgn does not have to be rectangular, if it has rounded corners or is elliptical, the edge points do not have too much sense to be extracted the same way it is the case for those rectangular.
However, the math definition of region is then quite puzzling Smile | :) . A square that can be a circle Smile | :)
Since we have GetRegionData for rectangular one, getting points from it is really not a problem. Why didn't they make a function for points? The points are not sufficient to define a way a region is really drawn. We could ask why they didn't make a function to extract edges then the same way. Both points and edges and more can be easily obtained from RECT structures.

modified on Friday, March 6, 2009 12:12 PM

GeneralRe: Extracting array of POINTs from a CRgn Pin
Jonnie White6-Mar-09 6:46
Jonnie White6-Mar-09 6:46 
GeneralRe: Extracting array of POINTs from a CRgn Pin
Perisic, Aleksandar6-Mar-09 6:54
Perisic, Aleksandar6-Mar-09 6:54 
AnswerRe: Extracting array of POINTs from a CRgn Pin
Jonathan Davies6-Mar-09 6:00
Jonathan Davies6-Mar-09 6:00 
GeneralRe: Extracting array of POINTs from a CRgn Pin
Jonnie White6-Mar-09 6:58
Jonnie White6-Mar-09 6:58 
AnswerRe: Extracting array of POINTs from a CRgn Pin
Stuart Dootson6-Mar-09 12:59
professionalStuart Dootson6-Mar-09 12:59 
QuestionCString to a hex Pin
AnithaSubramani6-Mar-09 2:14
AnithaSubramani6-Mar-09 2:14 
AnswerRe: CString to a hex Pin
Cedric Moonen6-Mar-09 2:24
Cedric Moonen6-Mar-09 2:24 
GeneralRe: CString to a hex Pin
Nishad S6-Mar-09 2:33
Nishad S6-Mar-09 2:33 
GeneralRe: CString to a hex Pin
Cedric Moonen6-Mar-09 2:36
Cedric Moonen6-Mar-09 2:36 
GeneralRe: CString to a hex Pin
Eytukan6-Mar-09 2:44
Eytukan6-Mar-09 2:44 
AnswerRe: CString to a hex Pin
Akt_4_U6-Mar-09 2:30
Akt_4_U6-Mar-09 2:30 
AnswerRe: CString to a hex Pin
CPallini6-Mar-09 2:53
mveCPallini6-Mar-09 2:53 
AnswerRe: CString to a hex Pin
David Crow6-Mar-09 2:58
David Crow6-Mar-09 2:58 
QuestionFunction Address of CWinthread::Create Pin
ForNow6-Mar-09 1:33
ForNow6-Mar-09 1:33 
AnswerRe: Function Address of CWinthread::Create Pin
CPallini6-Mar-09 1:54
mveCPallini6-Mar-09 1:54 
GeneralRe: Function Address of CWinthread::Create Pin
ForNow6-Mar-09 6:32
ForNow6-Mar-09 6:32 
AnswerRe: Function Address of CWinthread::Create Pin
Akt_4_U6-Mar-09 2:06
Akt_4_U6-Mar-09 2:06 

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.