Board index » Visual Studio » Dynamically Linked doc?

Dynamically Linked doc?

Visual Studio155
Hello,



I would like to create a program that shows the

differences between two documents and list it out in a

window. When the one of the differences is clicked upon, a

window will pop up showing the documents at exactly where

the difference occured. Can someone please advise on the

kind of object class that I have to use in order to be

able to achieve the dynamic linking? Can I do it with MDI

from the MFC Wizard? I am currently using VC6.



Thank you very much!

Roger


-
 

Re:Dynamically Linked doc?

Please explain what you mean by "dynamic linking."



An SDI application with a splitter control would be my recomendation. Show

one document in the left pane and the other document in the right pane.



"Roger Kew" <anonymous@discussions.microsoft.com>wrote in message

Quote
Hello,



I would like to create a program that shows the

differences between two documents and list it out in a

window. When the one of the differences is clicked upon, a

window will pop up showing the documents at exactly where

the difference occured. Can someone please advise on the

kind of object class that I have to use in order to be

able to achieve the dynamic linking? Can I do it with MDI

from the MFC Wizard? I am currently using VC6.



Thank you very much!

Roger





-

Re:Dynamically Linked doc?

Hello David,



Thank you for your reply.



Sorry for the confusion caused through the use of the

term "dynamic linking". The "dynamic linking" that I wrote

about was not on the way the program will be interacting

with the various component libraries. Instead, I was

referring to the way the contents of the "differences

window" will be dependent on the contents of the two

documents being compared. And by clicking on the various

entries in the "differences window", we can jump to the

position where the difference occurred (very much like a

html link, except that the jump is to a local file instead

of a webpage in the internet). Since the links are created

when the program is executed, I termed it "dynamic

linking".



As for the use of Splitter Control, I have gone through

the MFC information on Splitter Control in the MSDN. The

examples shown shows different parts of the same document

for both planes of the splitter window. Do you know of any

examples that shows two different documents?



Best Regards

Roger





Quote
-----Original Message-----

Please explain what you mean by "dynamic linking."



An SDI application with a splitter control would be my

recomendation. Show

one document in the left pane and the other document in

the right pane.



"Roger Kew" <anonymous@discussions.microsoft.com>wrote

in message

news:037101c3adac$5b3ab4a0$a401280a@phx.gbl...

>Hello,

>

>I would like to create a program that shows the

>differences between two documents and list it out in a

>window. When the one of the differences is clicked

upon, a

>window will pop up showing the documents at exactly

where

>the difference occured. Can someone please advise on the

>kind of object class that I have to use in order to be

>able to achieve the dynamic linking? Can I do it with

MDI

>from the MFC Wizard? I am currently using VC6.

>

>Thank you very much!

>Roger





.



-

Re:Dynamically Linked doc?

When you create the splitter window in CFrameWnd::OnCreateClient(), each is

assigned a different view. Each view, in turn, can be associated with a

different document. In each view's OnUpdate() method, a different document

can be accessed (e.g., view1 can access doc1, view2 can access doc2).



"Roger Kew" <anonymous@discussions.microsoft.com>wrote in message

Quote
Hello David,



Thank you for your reply.



Sorry for the confusion caused through the use of the

term "dynamic linking". The "dynamic linking" that I wrote

about was not on the way the program will be interacting

with the various component libraries. Instead, I was

referring to the way the contents of the "differences

window" will be dependent on the contents of the two

documents being compared. And by clicking on the various

entries in the "differences window", we can jump to the

position where the difference occurred (very much like a

html link, except that the jump is to a local file instead

of a webpage in the internet). Since the links are created

when the program is executed, I termed it "dynamic

linking".



As for the use of Splitter Control, I have gone through

the MFC information on Splitter Control in the MSDN. The

examples shown shows different parts of the same document

for both planes of the splitter window. Do you know of any

examples that shows two different documents?



Best Regards

Roger





>-----Original Message-----

>Please explain what you mean by "dynamic linking."

>

>An SDI application with a splitter control would be my

recomendation. Show

>one document in the left pane and the other document in

the right pane.

>

>"Roger Kew" <anonymous@discussions.microsoft.com>wrote

in message

>news:037101c3adac$5b3ab4a0$a401280a@phx.gbl...

>>Hello,

>>

>>I would like to create a program that shows the

>>differences between two documents and list it out in a

>>window. When the one of the differences is clicked

upon, a

>>window will pop up showing the documents at exactly

where

>>the difference occured. Can someone please advise on the

>>kind of object class that I have to use in order to be

>>able to achieve the dynamic linking? Can I do it with

MDI

>>from the MFC Wizard? I am currently using VC6.

>>

>>Thank you very much!

>>Roger

>

>

>.

>





-