Click here to Skip to main content
15,923,689 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to find launching process Pin
dmanjake28-Apr-05 18:02
dmanjake28-Apr-05 18:02 
AnswerRe: How to find launching process Pin
ThatsAlok28-Apr-05 20:23
ThatsAlok28-Apr-05 20:23 
GeneralRe: How to find launching process Pin
dmanjake29-Apr-05 4:37
dmanjake29-Apr-05 4:37 
GeneralRe: How to find launching process Pin
ThatsAlok29-Apr-05 19:58
ThatsAlok29-Apr-05 19:58 
GeneralRe: How to find launching process Pin
dmanjake30-Apr-05 3:47
dmanjake30-Apr-05 3:47 
QuestionDo you know this warning? Pin
kiluar28-Apr-05 16:56
kiluar28-Apr-05 16:56 
AnswerRe: Do you know this warning? Pin
David Crow29-Apr-05 2:46
David Crow29-Apr-05 2:46 
GeneralF%$#*&@ GDI Rectangles Pin
Blake Miller28-Apr-05 13:35
Blake Miller28-Apr-05 13:35 
Is there a Microsoft 'bug' number for the fact that the GDI rectangles functions stop one short of drawing all the way to the right and bottom coordinates?

For example, if the pen width is one, a Rectangle(0, 0, 16, 16) call will only draw to (0,0)-(15,15) Mad | :mad:

The Windows GDI function calls involving filled rectangles will draw one pixel short on the right edge and the bottom edge of the specified rectangle. This is documented in MSDN for Rectangle and FillRect, but no mention is made for RoundRect, FrameRect, and InvertRect (even though they also exhibit this behavior).
This is a problem for us because we are trying to represent the locations of our objects using ‘logical’ coordinates and ‘logical extents’ (Visual extent of object rather than logical ‘GDI’ location). We are trying to avoid storing the boundaries of objects in terms of ‘screen coordinates’ so that we might better server our customers with panning, zooming, and device resolution independence.

I had also been told this was 'fixed' in GDI+, or can I just assume that GDI+ 'broke' the existing 'functionality' D'Oh! | :doh:


GeneralRe: F%$#*&@ GDI Rectangles Pin
LunaticFringe28-Apr-05 13:59
LunaticFringe28-Apr-05 13:59 
GeneralRe: F%$#*&@ GDI Rectangles Pin
Blake Miller28-Apr-05 14:27
Blake Miller28-Apr-05 14:27 
GeneralRe: F%$#*&@ GDI Rectangles Pin
Michael Dunn28-Apr-05 14:17
sitebuilderMichael Dunn28-Apr-05 14:17 
GeneralRe: F%$#*&@ GDI Rectangles Pin
Blake Miller29-Apr-05 4:14
Blake Miller29-Apr-05 4:14 
Questionhow could I modify window registry Pin
Carlos R.28-Apr-05 12:38
Carlos R.28-Apr-05 12:38 
AnswerRe: how could I modify window registry Pin
PJ Arends28-Apr-05 13:12
professionalPJ Arends28-Apr-05 13:12 
AnswerRe: how could I modify window registry Pin
Alexander M.,29-Apr-05 9:15
Alexander M.,29-Apr-05 9:15 
GeneralCCmdTarget Destructor NON-MANAGED code Pin
clazarowitz28-Apr-05 12:31
clazarowitz28-Apr-05 12:31 
GeneralDocking external application into my application Pin
the Jimmy28-Apr-05 12:26
the Jimmy28-Apr-05 12:26 
GeneralPosting messages Pin
Tom Wright28-Apr-05 11:29
Tom Wright28-Apr-05 11:29 
GeneralRe: Posting messages Pin
Ravi Bhavnani28-Apr-05 11:35
professionalRavi Bhavnani28-Apr-05 11:35 
GeneralRe: Posting messages Pin
Tom Wright28-Apr-05 11:41
Tom Wright28-Apr-05 11:41 
GeneralRe: Posting messages Pin
Michael Dunn28-Apr-05 14:21
sitebuilderMichael Dunn28-Apr-05 14:21 
GeneralRe: Posting messages Pin
Tom Wright29-Apr-05 4:33
Tom Wright29-Apr-05 4:33 
GeneralRe: Posting messages Pin
Michael Dunn29-Apr-05 6:28
sitebuilderMichael Dunn29-Apr-05 6:28 
Generaldefining global variables Pin
Oriented28-Apr-05 9:12
Oriented28-Apr-05 9:12 
GeneralRe: defining global variables Pin
Maximilien28-Apr-05 9:42
Maximilien28-Apr-05 9:42 

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.