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

C / C++ / MFC

 
GeneralRe: Need Confirmation Pin
fardak19-Apr-05 2:15
fardak19-Apr-05 2:15 
GeneralRe: Need Confirmation Pin
mark novak19-Apr-05 2:36
mark novak19-Apr-05 2:36 
GeneralRe: Need Confirmation Pin
fardak19-Apr-05 3:28
fardak19-Apr-05 3:28 
GeneralRe: Need Confirmation Pin
mark novak19-Apr-05 3:36
mark novak19-Apr-05 3:36 
GeneralRe: Need Confirmation Pin
fardak19-Apr-05 4:08
fardak19-Apr-05 4:08 
GeneralRe: Need Confirmation Pin
David Crow19-Apr-05 3:03
David Crow19-Apr-05 3:03 
GeneralRe: Need Confirmation Pin
fardak19-Apr-05 4:30
fardak19-Apr-05 4:30 
GeneralLine Selection Pin
javi_jmc18-Apr-05 21:43
javi_jmc18-Apr-05 21:43 
Hi everybody !!

I have drawn several lines between several pairs of points. Each line represents the link between an IP address source and one destination. Its width depends on the traffic between these IPs. I want that if I do R-Button (mouse) on them, they show a TIP.
My problem is how to implement that...I know that I have to use the WM_RBUTTONDOWN...The problem is what do I have to put inside it to know if I am selecting one line or another...I have had a similar problem before buit with rectangles...but it was easy because with a FOR I could go through all the structure CRect and using PtInRect I could know if the point given by WM_RBUTTONDOWN was inside or not a rectangle...But with a LINE? How can I know that?

Thanks you very much


GeneralRe: Line Selection Pin
eli1502197918-Apr-05 23:22
eli1502197918-Apr-05 23:22 
GeneralRe: Line Selection Pin
Aamir Butt19-Apr-05 1:32
Aamir Butt19-Apr-05 1:32 
GeneralMFC tray icon Pin
charu12318-Apr-05 21:40
charu12318-Apr-05 21:40 
GeneralRe: MFC tray icon Pin
RadiumBall18-Apr-05 22:45
RadiumBall18-Apr-05 22:45 
GeneralRe: MFC tray icon Pin
22491718-Apr-05 22:56
22491718-Apr-05 22:56 
QuestionCopy resources in Visual Studio 7.0… ? Pin
anderslundsgard18-Apr-05 21:39
anderslundsgard18-Apr-05 21:39 
GeneralUpdating display box Pin
hithesh18-Apr-05 21:12
hithesh18-Apr-05 21:12 
GeneralRe: Updating display box Pin
Cedric Moonen18-Apr-05 21:41
Cedric Moonen18-Apr-05 21:41 
GeneralRe: Updating display box Pin
hithesh19-Apr-05 12:57
hithesh19-Apr-05 12:57 
GeneralRe: Updating display box Pin
Cedric Moonen19-Apr-05 20:05
Cedric Moonen19-Apr-05 20:05 
Generalretrieve char by char from string and then appending Pin
nehathoma18-Apr-05 21:11
nehathoma18-Apr-05 21:11 
GeneralRe: retrieve char by char from string and then appending Pin
Cedric Moonen18-Apr-05 21:30
Cedric Moonen18-Apr-05 21:30 
GeneralEXE to Service Pin
rwilmink18-Apr-05 20:55
rwilmink18-Apr-05 20:55 
GeneralRe: EXE to Service Pin
22491718-Apr-05 22:15
22491718-Apr-05 22:15 
GeneralRe: EXE to Service Pin
ThatsAlok19-Apr-05 1:39
ThatsAlok19-Apr-05 1:39 
GeneralEXE to Service Pin
rwilmink18-Apr-05 20:53
rwilmink18-Apr-05 20:53 
GeneralRe: EXE to Service Pin
CodeBeetle19-Apr-05 0:27
CodeBeetle19-Apr-05 0:27 

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.