Skip to content

Commit eabf11d

Browse files
author
Colin Robertson
committed
MD Collapse relative links globally
1 parent fe5a5ae commit eabf11d

428 files changed

Lines changed: 2820 additions & 2820 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/atl/active-template-library-atl-concepts.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -12,85 +12,85 @@ If you do a lot of ATL programming, you will want to learn more about COM and .N
1212

1313
## In This Section
1414

15-
[Introduction to COM and ATL](../atl/introduction-to-com-and-atl.md)<br/>
15+
[Introduction to COM and ATL](introduction-to-com-and-atl.md)<br/>
1616
Introduces the major concepts behind the Component Object Model (COM). This article also briefly explains what ATL is and when you should use it.
1717

18-
[Fundamentals of ATL COM Objects](../atl/fundamentals-of-atl-com-objects.md)<br/>
18+
[Fundamentals of ATL COM Objects](fundamentals-of-atl-com-objects.md)<br/>
1919
Discusses the relationship among various ATL classes and how those classes are implemented.
2020

21-
[Dual Interfaces and ATL](../atl/dual-interfaces-and-atl.md)<br/>
21+
[Dual Interfaces and ATL](dual-interfaces-and-atl.md)<br/>
2222
Describes dual interfaces from an ATL perspective.
2323

24-
[ATL Collections and Enumerators](../atl/atl-collections-and-enumerators.md)<br/>
24+
[ATL Collections and Enumerators](atl-collections-and-enumerators.md)<br/>
2525
Describes the implementation and creation of collections and enumerators in ATL.
2626

27-
[Composite Control Fundamentals](../atl/atl-composite-control-fundamentals.md)<br/>
27+
[Composite Control Fundamentals](atl-composite-control-fundamentals.md)<br/>
2828
Provides step-by-step instructions for creating a composite control. A composite control is a type of ActiveX control that can contain other ActiveX controls or Windows controls.
2929

30-
[ATL Control Containment FAQ](../atl/atl-control-containment-faq.md)<br/>
30+
[ATL Control Containment FAQ](atl-control-containment-faq.md)<br/>
3131
Covers the fundamental questions related to hosting controls with ATL.
3232

33-
[ATL COM Property Pages](../atl/atl-com-property-pages.md)<br/>
33+
[ATL COM Property Pages](atl-com-property-pages.md)<br/>
3434
Shows you how to specify and implement COM property pages.
3535

36-
[ATL Support for DHTML Controls](../atl/atl-support-for-dhtml-controls.md)<br/>
36+
[ATL Support for DHTML Controls](atl-support-for-dhtml-controls.md)<br/>
3737
Provides step-by-step instructions for creating a DHTML control.
3838

39-
[ATL Connection Points](../atl/atl-connection-points.md)<br/>
39+
[ATL Connection Points](atl-connection-points.md)<br/>
4040
Explains what connection points are and how ATL implements them.
4141

42-
[Event Handling and ATL](../atl/event-handling-and-atl.md)<br/>
43-
Describes the steps that you need to take to handle COM events using ATL's [IDispEventImpl](../atl/reference/idispeventimpl-class.md) and [IDispEventSimpleImpl](../atl/reference/idispeventsimpleimpl-class.md) classes.
42+
[Event Handling and ATL](event-handling-and-atl.md)<br/>
43+
Describes the steps that you need to take to handle COM events using ATL's [IDispEventImpl](reference/idispeventimpl-class.md) and [IDispEventSimpleImpl](reference/idispeventsimpleimpl-class.md) classes.
4444

45-
[ATL and the Free Threaded Marshaler](../atl/atl-and-the-free-threaded-marshaler.md)<br/>
45+
[ATL and the Free Threaded Marshaler](atl-and-the-free-threaded-marshaler.md)<br/>
4646
Provides details on the ATL Simple Object Wizard's option that allows your class to aggregate the free threaded marshaler (FTM).
4747

48-
[Specifying the Project's Threading Model](../atl/specifying-the-threading-model-for-a-project-atl.md)<br/>
48+
[Specifying the Project's Threading Model](specifying-the-threading-model-for-a-project-atl.md)<br/>
4949
Describes the macros that are available to control run-time performance related to threading in your project.
5050

51-
[ATL Module Classes](../atl/atl-module-classes.md)<br/>
51+
[ATL Module Classes](atl-module-classes.md)<br/>
5252
Discusses the module classes new for ATL 7.0. Module classes implement the basic functionality required by ATL.
5353

54-
[ATL Services](../atl/atl-services.md)<br/>
54+
[ATL Services](atl-services.md)<br/>
5555
Covers the series of events that occur when a service is implemented. Also talks about some of the concepts related to developing a service.
5656

57-
[ATL Window Classes](../atl/atl-window-classes.md)<br/>
57+
[ATL Window Classes](atl-window-classes.md)<br/>
5858
Describes how to create, superclass, and subclass windows in ATL. The ATL window classes are not COM classes.
5959

60-
[ATL Collection Classes](../atl/atl-collection-classes.md)<br/>
60+
[ATL Collection Classes](atl-collection-classes.md)<br/>
6161
Describes how to use arrays and maps in ATL.
6262

63-
[The ATL Registry Component (Registrar)](../atl/atl-registry-component-registrar.md)<br/>
63+
[The ATL Registry Component (Registrar)](atl-registry-component-registrar.md)<br/>
6464
Discusses ATL scripting syntax and replaceable parameters. It also explains how to set up a static link to the Registrar.
6565

66-
[Programming with ATL and C Run-Time Code](../atl/programming-with-atl-and-c-run-time-code.md)<br/>
66+
[Programming with ATL and C Run-Time Code](programming-with-atl-and-c-run-time-code.md)<br/>
6767
Discusses the benefits of linking statically or dynamically to the C Run-Time Library (CRT).
6868

69-
[Programming with CComBSTR](../atl/programming-with-ccombstr-atl.md)<br/>
69+
[Programming with CComBSTR](programming-with-ccombstr-atl.md)<br/>
7070
Discusses several situations that require caution when programming with `CComBSTR`.
7171

72-
[Encoding Reference](../atl/atl-encoding-reference.md)<br/>
72+
[Encoding Reference](atl-encoding-reference.md)<br/>
7373
Provides functions and macros that support encoding in a range of common Internet standards such as uuencode, hexadecimal, and UTF8 in atlenc.h.
7474

75-
[Utilities Reference](../atl/atl-utilities-reference.md)<br/>
76-
Provides code for manipulating paths and URLs in the form of [CPathT](../atl/reference/cpatht-class.md) and [CUrl](../atl/reference/curl-class.md). A thread pool, [CThreadPool](../atl/reference/cthreadpool-class.md), can be used in your own applications. This code can be found in atlpath.h and atlutil.h.
75+
[Utilities Reference](atl-utilities-reference.md)<br/>
76+
Provides code for manipulating paths and URLs in the form of [CPathT](reference/cpatht-class.md) and [CUrl](reference/curl-class.md). A thread pool, [CThreadPool](reference/cthreadpool-class.md), can be used in your own applications. This code can be found in atlpath.h and atlutil.h.
7777

7878
## Related Sections
7979

80-
[ATL Tutorial](../atl/active-template-library-atl-tutorial.md)<br/>
80+
[ATL Tutorial](active-template-library-atl-tutorial.md)<br/>
8181
Leads you through the creation of a control and demonstrates some ATL fundamentals in the process.
8282

8383
[ATL Samples](../overview/visual-cpp-samples.md)<br/>
8484
Provides descriptions of and links to the ATL sample programs.
8585

86-
[Creating an ATL Project](../atl/reference/creating-an-atl-project.md)<br/>
86+
[Creating an ATL Project](reference/creating-an-atl-project.md)<br/>
8787
Contains information on the ATL Project Wizard.
8888

89-
[ATL Control Wizard](../atl/reference/atl-control-wizard.md)<br/>
89+
[ATL Control Wizard](reference/atl-control-wizard.md)<br/>
9090
Discusses how to add classes.
9191

9292
[Attributed Programming](../windows/attributed-programming-concepts.md)<br/>
9393
Provides an overview on using attributes to simplify COM programming plus a list of links to more detailed topics.
9494

95-
[ATL Class Overview](../atl/atl-class-overview.md)<br/>
95+
[ATL Class Overview](atl-class-overview.md)<br/>
9696
Provides reference information and links to the ATL classes.

docs/atl/active-template-library-atl-tutorial.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,20 @@ By following this tutorial, you will learn how to add a control to an ATL projec
1414

1515
The tutorial is divided into seven steps. You should perform each step in order as later steps depend on previously completed tasks. Before you begin, you should confirm that you have privileges required to register an ActiveX component on your particular computer. This is usually only a concern if you are running Visual Studio .NET over a Terminal Services connection.
1616

17-
- [Step 1: Creating the Project](../atl/creating-the-project-atl-tutorial-part-1.md)
17+
- [Step 1: Creating the Project](creating-the-project-atl-tutorial-part-1.md)
1818

19-
- [Step 2: Adding a Control to Your Project](../atl/adding-a-control-atl-tutorial-part-2.md)
19+
- [Step 2: Adding a Control to Your Project](adding-a-control-atl-tutorial-part-2.md)
2020

21-
- [Step 3. Adding a Property to Your Control](../atl/adding-a-property-to-the-control-atl-tutorial-part-3.md)
21+
- [Step 3. Adding a Property to Your Control](adding-a-property-to-the-control-atl-tutorial-part-3.md)
2222

23-
- [Step 4: Changing Your Control's Drawing Code](../atl/changing-the-drawing-code-atl-tutorial-part-4.md)
23+
- [Step 4: Changing Your Control's Drawing Code](changing-the-drawing-code-atl-tutorial-part-4.md)
2424

25-
- [Step 5: Adding an Event](../atl/adding-an-event-atl-tutorial-part-5.md)
25+
- [Step 5: Adding an Event](adding-an-event-atl-tutorial-part-5.md)
2626

27-
- [Step 6: Adding a Property Page](../atl/adding-a-property-page-atl-tutorial-part-6.md)
27+
- [Step 6: Adding a Property Page](adding-a-property-page-atl-tutorial-part-6.md)
2828

29-
- [Step 7: Putting Your Control on a Web Page](../atl/putting-the-control-on-a-web-page-atl-tutorial-part-7.md)
29+
- [Step 7: Putting Your Control on a Web Page](putting-the-control-on-a-web-page-atl-tutorial-part-7.md)
3030

3131
## See also
3232

33-
[Concepts](../atl/active-template-library-atl-concepts.md)
33+
[Concepts](active-template-library-atl-concepts.md)

docs/linux/configure-a-linux-project.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ You can enable logging to help troubleshoot problems:
120120
## See also
121121

122122
[Set compiler and build properties](../build/working-with-project-properties.md)<br/>
123-
[C++ General Properties (Linux C++)](../linux/prop-pages/general-linux.md)<br/>
124-
[VC++ Directories (Linux C++)](../linux/prop-pages/directories-linux.md)<br/>
125-
[Copy Sources Project Properties (Linux C++)](../linux/prop-pages/copy-sources-project.md)<br/>
126-
[Build Event Properties (Linux C++)](../linux/prop-pages/build-events-linux.md)
123+
[C++ General Properties (Linux C++)](prop-pages/general-linux.md)<br/>
124+
[VC++ Directories (Linux C++)](prop-pages/directories-linux.md)<br/>
125+
[Copy Sources Project Properties (Linux C++)](prop-pages/copy-sources-project.md)<br/>
126+
[Build Event Properties (Linux C++)](prop-pages/build-events-linux.md)

docs/mfc/a-portrait-of-the-document-view-architecture.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,24 @@ Documents and views are paired in a typical MFC application. Data is stored in t
1010

1111
## Gaining Access to Document Data from the View
1212

13-
The view accesses its document's data either with the [GetDocument](../mfc/reference/cview-class.md#getdocument) function, which returns a pointer to the document, or by making the view class a C++ `friend` of the document class. The view then uses its access to the data to obtain the data when it is ready to draw or otherwise manipulate it.
13+
The view accesses its document's data either with the [GetDocument](reference/cview-class.md#getdocument) function, which returns a pointer to the document, or by making the view class a C++ `friend` of the document class. The view then uses its access to the data to obtain the data when it is ready to draw or otherwise manipulate it.
1414

15-
For example, from the view's [OnDraw](../mfc/reference/cview-class.md#ondraw) member function, the view uses `GetDocument` to obtain a document pointer. Then it uses that pointer to access a `CString` data member in the document. The view passes the string to the `TextOut` function. To see the code for this example, see [Drawing in a View](../mfc/drawing-in-a-view.md).
15+
For example, from the view's [OnDraw](reference/cview-class.md#ondraw) member function, the view uses `GetDocument` to obtain a document pointer. Then it uses that pointer to access a `CString` data member in the document. The view passes the string to the `TextOut` function. To see the code for this example, see [Drawing in a View](drawing-in-a-view.md).
1616

1717
## User Input to the View
1818

1919
The view might also interpret a mouse click within itself as either selection or editing of data. Similarly it might interpret keystrokes as data entry or editing. Suppose the user types a string in a view that manages text. The view obtains a pointer to the document and uses the pointer to pass the new data to the document, which stores it in some data structure.
2020

2121
## Updating Multiple Views of the Same Document
2222

23-
In an application with multiple views of the same document — such as a splitter window in a text editor — the view first passes the new data to the document. Then it calls the document's [UpdateAllViews](../mfc/reference/cdocument-class.md#updateallviews) member function, which tells all views of the document to update themselves, reflecting the new data. This synchronizes the views.
23+
In an application with multiple views of the same document — such as a splitter window in a text editor — the view first passes the new data to the document. Then it calls the document's [UpdateAllViews](reference/cdocument-class.md#updateallviews) member function, which tells all views of the document to update themselves, reflecting the new data. This synchronizes the views.
2424

2525
### What do you want to know more about
2626

27-
- [Advantages of the document/view architecture](../mfc/advantages-of-the-document-view-architecture.md)
27+
- [Advantages of the document/view architecture](advantages-of-the-document-view-architecture.md)
2828

29-
- [Alternatives to the document/view architecture](../mfc/alternatives-to-the-document-view-architecture.md)
29+
- [Alternatives to the document/view architecture](alternatives-to-the-document-view-architecture.md)
3030

3131
## See also
3232

33-
[Document/View Architecture](../mfc/document-view-architecture.md)
33+
[Document/View Architecture](document-view-architecture.md)

docs/mfc/accessing-all-members-of-a-collection.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,29 +20,29 @@ The following procedures show how to iterate over the three main types of collec
2020

2121
1. Use sequential index numbers with the `GetAt` member function:
2222

23-
[!code-cpp[NVC_MFCCollections#12](../mfc/codesnippet/cpp/accessing-all-members-of-a-collection_1.cpp)]
23+
[!code-cpp[NVC_MFCCollections#12](codesnippet/cpp/accessing-all-members-of-a-collection_1.cpp)]
2424

2525
This example uses a typed pointer array that contains pointers to `CPerson` objects. The array is derived from class `CObArray`, one of the nontemplate predefined classes. `GetAt` returns a pointer to a `CPerson` object. For typed pointer collection classes — arrays or lists — the first parameter specifies the base class; the second parameter specifies the type to store.
2626

2727
The `CTypedPtrArray` class also overloads the **[ ]** operator so that you can use the customary array-subscript syntax to access elements of an array. An alternative to the statement in the body of the **for** loop above is
2828

29-
[!code-cpp[NVC_MFCCollections#13](../mfc/codesnippet/cpp/accessing-all-members-of-a-collection_2.cpp)]
29+
[!code-cpp[NVC_MFCCollections#13](codesnippet/cpp/accessing-all-members-of-a-collection_2.cpp)]
3030

3131
This operator exists in both **const** and non-**const** versions. The **const** version, which is invoked for **const** arrays, can appear only on the right side of an assignment statement.
3232

3333
### <a name="_core_to_iterate_a_list"></a> To iterate a list
3434

3535
1. Use the member functions `GetHeadPosition` and `GetNext` to work your way through the list:
3636

37-
[!code-cpp[NVC_MFCCollections#14](../mfc/codesnippet/cpp/accessing-all-members-of-a-collection_3.cpp)]
37+
[!code-cpp[NVC_MFCCollections#14](codesnippet/cpp/accessing-all-members-of-a-collection_3.cpp)]
3838

3939
This example uses a typed pointer list to contain pointers to `CPerson` objects. The list declaration resembles the one for the array in the procedure [To iterate an array](#_core_to_iterate_an_array) but is derived from class `CObList`. `GetNext` returns a pointer to a `CPerson` object.
4040

4141
### <a name="_core_to_iterate_a_map"></a> To iterate a map
4242

4343
1. Use `GetStartPosition` to get to the beginning of the map and `GetNextAssoc` to repeatedly get the next key and value from the map, as shown by the following example:
4444

45-
[!code-cpp[NVC_MFCCollections#15](../mfc/codesnippet/cpp/accessing-all-members-of-a-collection_4.cpp)]
45+
[!code-cpp[NVC_MFCCollections#15](codesnippet/cpp/accessing-all-members-of-a-collection_4.cpp)]
4646

4747
This example uses a simple map template (rather than a typed pointer collection) that uses `CString` keys and stores pointers to `CPerson` objects. When you use access functions such as `GetNextAssoc`, the class provides pointers to `CPerson` objects. If you use one of the nontemplate map collections instead, you must cast the returned `CObject` pointer to a pointer to a `CPerson`.
4848

@@ -51,10 +51,10 @@ The following procedures show how to iterate over the three main types of collec
5151
5252
The template solution is simpler and helps provide better type safety. The nontemplate code is more complicated, as you can see here:
5353

54-
[!code-cpp[NVC_MFCCollections#16](../mfc/codesnippet/cpp/accessing-all-members-of-a-collection_5.cpp)]
54+
[!code-cpp[NVC_MFCCollections#16](codesnippet/cpp/accessing-all-members-of-a-collection_5.cpp)]
5555

56-
For more information, see [Deleting All Objects in a CObject Collection](../mfc/deleting-all-objects-in-a-cobject-collection.md).
56+
For more information, see [Deleting All Objects in a CObject Collection](deleting-all-objects-in-a-cobject-collection.md).
5757

5858
## See also
5959

60-
[Collections](../mfc/collections.md)
60+
[Collections](collections.md)

docs/mfc/accessing-file-status.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ ms.assetid: 1b8891d6-eb0f-4037-a837-4928fe595222
1010

1111
### To get file status
1212

13-
1. Use the [CFile](../mfc/reference/cfile-class.md) class to get and set information about a file. One useful application is to use the `CFile` static member function **GetStatus** to determine if a file exists. **GetStatus** returns 0 if the specified file does not exist.
13+
1. Use the [CFile](reference/cfile-class.md) class to get and set information about a file. One useful application is to use the `CFile` static member function **GetStatus** to determine if a file exists. **GetStatus** returns 0 if the specified file does not exist.
1414

1515
Thus, you could use the result of **GetStatus** to determine whether to use the **CFile::modeCreate** flag when opening a file, as shown by the following example:
1616

1717
[!code-cpp[NVC_MFCFiles#3](../atl-mfc-shared/reference/codesnippet/cpp/accessing-file-status_1.cpp)]
1818

19-
For related information, see [Serialization](../mfc/serialization-in-mfc.md).
19+
For related information, see [Serialization](serialization-in-mfc.md).
2020

2121
## See also
2222

23-
[Files](../mfc/files-in-mfc.md)
23+
[Files](files-in-mfc.md)

0 commit comments

Comments
 (0)