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

C / C++ / MFC

 
GeneralRe: Crash in Relese Build Pin
Ravi Jadhav1-Aug-02 21:52
Ravi Jadhav1-Aug-02 21:52 
GeneralRe: Crash in Relese Build Pin
[James Pullicino]1-Aug-02 23:40
[James Pullicino]1-Aug-02 23:40 
GeneralRe: Crash in Relese Build Pin
Ravi Jadhav2-Aug-02 0:54
Ravi Jadhav2-Aug-02 0:54 
GeneralRe: Crash in Relese Build Pin
[James Pullicino]2-Aug-02 3:08
[James Pullicino]2-Aug-02 3:08 
GeneralRe: Crash in Relese Build Pin
Anonymous2-Aug-02 6:13
Anonymous2-Aug-02 6:13 
GeneralHelp Needed - ADO RDS Pin
Praveena1-Aug-02 20:45
Praveena1-Aug-02 20:45 
QuestionIs legal to use Windows icons? Pin
Joan M1-Aug-02 19:14
professionalJoan M1-Aug-02 19:14 
GeneralDetecting the Closest Point to a Region's Edge Pin
Swinefeaster1-Aug-02 16:59
Swinefeaster1-Aug-02 16:59 
I have a windows gdi region (or even a gdi+ region) and I am trying to determine an intersection point on its edge from a line constructed between the region's centre and another point outside of the region. Is this possible?

I know there are functions to determine whether or not a point lies within a region or not, but this only leaves me with the brute force method. I could iterate pixel by pixel from the outlying point up to the region's centre point until ::PtInRegion() changes from returning true to returning false. But this seems rather innefficient.

Please help!

Thankx,

swine

Check out Aephid Photokeeper, the powerful digital
photo album solution at www.aephid.com.
GeneralRe: Detecting the Closest Point to a Region's Edge Pin
PJ Arends1-Aug-02 17:16
professionalPJ Arends1-Aug-02 17:16 
GeneralRe: Detecting the Closest Point to a Region's Edge Pin
Swinefeaster1-Aug-02 18:01
Swinefeaster1-Aug-02 18:01 
GeneralShow file property dialog box Pin
Jonatan Dahl1-Aug-02 16:58
Jonatan Dahl1-Aug-02 16:58 
GeneralRe: Show file property dialog box Pin
Ernest Laurentin1-Aug-02 18:49
Ernest Laurentin1-Aug-02 18:49 
GeneralRe: Show file property dialog box Pin
Jonatan Dahl2-Aug-02 1:12
Jonatan Dahl2-Aug-02 1:12 
GeneralAccessing Version information Pin
Stew1-Aug-02 15:48
Stew1-Aug-02 15:48 
GeneralRe: Accessing Version information Pin
Swinefeaster1-Aug-02 17:01
Swinefeaster1-Aug-02 17:01 
GeneralRe: Accessing Version information Pin
PJ Arends1-Aug-02 17:02
professionalPJ Arends1-Aug-02 17:02 
Generalusing CBitmapButton Pin
Mavrock1-Aug-02 13:16
Mavrock1-Aug-02 13:16 
GeneralRe: using CBitmapButton Pin
JohnnyG1-Aug-02 15:48
JohnnyG1-Aug-02 15:48 
GeneralRe: using CBitmapButton Pin
Joan M1-Aug-02 19:19
professionalJoan M1-Aug-02 19:19 
GeneralMessageBox Pin
Brad Jennings1-Aug-02 12:05
Brad Jennings1-Aug-02 12:05 
GeneralRe: MessageBox Pin
Tomasz Sowinski1-Aug-02 12:11
Tomasz Sowinski1-Aug-02 12:11 
GeneralRe: MessageBox Pin
Anonymous1-Aug-02 12:23
Anonymous1-Aug-02 12:23 
GeneralRe: MessageBox Pin
Tomasz Sowinski1-Aug-02 12:24
Tomasz Sowinski1-Aug-02 12:24 
GeneralRe: MessageBox Pin
Brad Jennings1-Aug-02 13:20
Brad Jennings1-Aug-02 13:20 
Generalsomeone's stolen my DLGTEMPLATEEX!! Pin
moredip1-Aug-02 12:01
moredip1-Aug-02 12:01 

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.