Click here to Skip to main content
16,007,443 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionmsi file Pin
deeps_cute17-Jun-07 20:39
deeps_cute17-Jun-07 20:39 
AnswerRe: msi file Pin
Hamid_RT17-Jun-07 20:50
Hamid_RT17-Jun-07 20:50 
GeneralRe: msi file Pin
deeps_cute17-Jun-07 21:24
deeps_cute17-Jun-07 21:24 
GeneralRe: msi file Pin
Hamid_RT17-Jun-07 22:26
Hamid_RT17-Jun-07 22:26 
QuestionSliderbar Problem Pin
scody17-Jun-07 20:36
scody17-Jun-07 20:36 
AnswerRe: Sliderbar Problem Pin
Randor 18-Jun-07 4:23
professional Randor 18-Jun-07 4:23 
QuestionHow to make Intelligent connectors using VC++ Pin
whatitis17-Jun-07 19:09
whatitis17-Jun-07 19:09 
AnswerRe: How to make Intelligent connectors using VC++ Pin
Nelek17-Jun-07 22:09
protectorNelek17-Jun-07 22:09 
Hi, it can be possible, but it will be difficult.

I would make it by setting the points where you can connect the object in an array/structure, then use some regions to know if the mouse is approaching to one of them to make the point visible when necessary and using its coordinates by clicking when it is visible.

Afterwards for the lines... this will be pretty hard (I think), at the beggining you should determine which point of your object is being used to start the line. Make a short line in this direction (if the point is at the top then a short line to north, if the point is at left, then a short line to west, and so on...). Then give priorities in directions (I mean go to the north if the object is in the lower part of the screen, go to the right if the object is on the left...). Once you have the beggining of the line, you should have a register of positions for the lines from left to right, from top to bottom (like a screen grid) and go through checking where is the next free place to draw the connection.

I can not give you any code, but the idea may be like that.

Shortly: Have a matrix to save the position of gridlines of the workspace, check where the connector is starting and go through taking dinamically the first free gridline you find towards the end of the connector. (if end is below, going down, if end is above, going up and so on)

Greetings.

--------
M.D.V.

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?

GeneralRe: How to make Intelligent connectors using VC++ Pin
whatitis17-Jun-07 23:34
whatitis17-Jun-07 23:34 
GeneralRe: How to make Intelligent connectors using VC++ Pin
Nelek18-Jun-07 0:06
protectorNelek18-Jun-07 0:06 
GeneralRe: How to make Intelligent connectors using VC++ Pin
whatitis18-Jun-07 18:37
whatitis18-Jun-07 18:37 
Questionhow to submit a document in mysql Pin
p_17-Jun-07 18:48
p_17-Jun-07 18:48 
QuestionUnable to start program on VC++ Pin
Tuongnd17-Jun-07 17:35
Tuongnd17-Jun-07 17:35 
AnswerRe: Unable to start program on VC++ Pin
S Douglas17-Jun-07 18:17
professionalS Douglas17-Jun-07 18:17 
GeneralRe: Unable to start program on VC++ Pin
Tuongnd17-Jun-07 19:17
Tuongnd17-Jun-07 19:17 
QuestionRe: Unable to start program on VC++ Pin
Hamid_RT17-Jun-07 20:44
Hamid_RT17-Jun-07 20:44 
AnswerRe: Unable to start program on VC++ Pin
Tuongnd17-Jun-07 21:06
Tuongnd17-Jun-07 21:06 
GeneralRe: Unable to start program on VC++ Pin
Tuongnd17-Jun-07 21:56
Tuongnd17-Jun-07 21:56 
GeneralRe: Unable to start program on VC++ Pin
Hamid_RT17-Jun-07 22:35
Hamid_RT17-Jun-07 22:35 
AnswerRe: Unable to start program on VC++ Pin
Paresh Chitte17-Jun-07 18:43
Paresh Chitte17-Jun-07 18:43 
QuestionCompiling Win32 detours library using VC++ 2005 Express Pin
tmp017-Jun-07 15:44
tmp017-Jun-07 15:44 
AnswerRe: Compiling Win32 detours library using VC++ 2005 Express Pin
Mark Salsbery17-Jun-07 17:03
Mark Salsbery17-Jun-07 17:03 
GeneralRe: Compiling Win32 detours library using VC++ 2005 Express Pin
tmp018-Jun-07 0:45
tmp018-Jun-07 0:45 
GeneralRe: Compiling Win32 detours library using VC++ 2005 Express Pin
Mark Salsbery18-Jun-07 4:52
Mark Salsbery18-Jun-07 4:52 
QuestionISampleGrabber and ActiveMovie Window Problem Pin
Akin Ocal17-Jun-07 13:05
Akin Ocal17-Jun-07 13:05 

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.