Click here to Skip to main content
15,911,030 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A tricky way of manipulating memory allocation Pin
JackPuppy10-Mar-09 4:20
JackPuppy10-Mar-09 4:20 
QuestionHow to create a splitter window in RUN-TIME? Pin
Joseph Marzbani6-Mar-09 4:09
Joseph Marzbani6-Mar-09 4:09 
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 
GetRegionData() can give you RECT structures that CRgn consists of as well as a bounding rectangle.

CRgn does not consist of points so you can retrieve them only by taking them from RECT structures, and not retrieving those you've passed to CreatePolygonRgn().

To get points is not possible because if you have points (0,1) (0,3) (0,4) the line (0,1)-(0,4) would be the edge of the region but (0,3) would be lost.

To get edging points from RECT structures is trivial but they do not have to match what you've passed to CreatePolygonRgn() at all.
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 
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 

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.