Skip to content

Commit ad0d5d2

Browse files
author
Colin Robertson
committed
Fix more leading and trailing spaces
1 parent 76addee commit ad0d5d2

732 files changed

Lines changed: 10788 additions & 10790 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/assembler/inline/emit-pseudoinstruction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ The following fragment places the bytes 0x4A, 0x43, and 0x4B into the code:
2626
.
2727
.
2828
__asm {
29-
randasm
30-
}
29+
randasm
30+
}
3131
```
3232
3333
> [!CAUTION]

docs/atl-mfc-shared/elapsed-time-general-purpose-classes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ The following procedure shows how to calculate the difference between two `CTime
1717

1818
[!code-cpp[NVC_ATLMFC_Utilities#174](../atl-mfc-shared/codesnippet/cpp/elapsed-time-general-purpose-classes_1.cpp)]
1919

20-
Once you have calculated `elapsedTime`, you can use the member functions of `CTimeSpan` to extract the components of the elapsed-time value.
20+
Once you have calculated `elapsedTime`, you can use the member functions of `CTimeSpan` to extract the components of the elapsed-time value.
2121

docs/atl-mfc-shared/unicode-and-multibyte-character-set-mbcs-support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,4 @@ Similarly, `CString` methods are implemented by using generic data type mappings
8989
## See Also
9090

9191
[Strings (ATL/MFC)](../atl-mfc-shared/strings-atl-mfc.md)<br/>
92-
[String Manipulation](../c-runtime-library/string-manipulation-crt.md)
92+
[String Manipulation](../c-runtime-library/string-manipulation-crt.md)

docs/atl/adding-a-property-page-atl-tutorial-part-6.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ To add a property page to your control, use the ATL Property Page template.
3636

3737
1. Click **Strings** to open the **Strings** page and enter **&Polygon** as the **Title**.
3838

39-
The **Title** of the property page is the string that appears in the tab for that page. The **Doc string** is a description that a property frame uses to put in a status line or tool tip. Note that the standard property frame currently does not use this string, so you can leave it with the default contents. You will not generate a **Help file** at the moment, so delete the entry in that text box.
39+
The **Title** of the property page is the string that appears in the tab for that page. The **Doc string** is a description that a property frame uses to put in a status line or tool tip. Note that the standard property frame currently does not use this string, so you can leave it with the default contents. You will not generate a **Help file** at the moment, so delete the entry in that text box.
4040

4141
1. Click **Finish**, and the property page object will be created.
4242

docs/atl/adding-connection-points-to-an-object.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ In either case, the Implement Connection Point Wizard uses a type library to do
2727

2828
1. Define a dispinterface in the library block of the .idl file. If you enabled support for connection points when you created the control with the ATL Control Wizard, the dispinterface will already be created. If you did not enable support for connection points when you created the control, you must manually add a dispinterface to the .idl file. The following is an example of a dispinterface. Outgoing interfaces are not required to be dispatch interfaces but many scripting languages such as VBScript and JScript require this, so this example uses two dispinterfaces:
2929

30-
[!code-cpp[NVC_ATL_Windowing#81](../atl/codesnippet/cpp/adding-connection-points-to-an-object_1.idl)]
30+
[!code-cpp[NVC_ATL_Windowing#81](../atl/codesnippet/cpp/adding-connection-points-to-an-object_1.idl)]
3131

32-
Use either the uuidgen.exe or guidgen.exe utility to generate a GUID.
32+
Use either the uuidgen.exe or guidgen.exe utility to generate a GUID.
3333

3434
2. Add the dispinterface as the `[default,source]` interface in the coclass for the object in the project's .idl file. Again, if you enabled support for connection points when you created the control, the ATL Control Wizard will create the `[default,source`] entry. To manually add this entry, add the line in bold:
3535

36-
[!code-cpp[NVC_ATL_Windowing#82](../atl/codesnippet/cpp/adding-connection-points-to-an-object_2.idl)]
36+
[!code-cpp[NVC_ATL_Windowing#82](../atl/codesnippet/cpp/adding-connection-points-to-an-object_2.idl)]
3737

38-
See the .idl file in the [Circ](../visual-cpp-samples.md) ATL sample for an example.
38+
See the .idl file in the [Circ](../visual-cpp-samples.md) ATL sample for an example.
3939

4040
3. Use Class View to add methods and properties to the event interface. Right-click the class in Class View, point to **Add** on the shortcut menu, and click **Add Connection Point**.
4141

@@ -45,7 +45,7 @@ In either case, the Implement Connection Point Wizard uses a type library to do
4545

4646
- Add an entry to the connection point map.
4747

48-
You will also see a list of all of the type libraries on your computer. You should only use one of these other type libraries to define your connection point if you want to implement the exact same outgoing interface found in another type library.
48+
You will also see a list of all of the type libraries on your computer. You should only use one of these other type libraries to define your connection point if you want to implement the exact same outgoing interface found in another type library.
4949

5050
### To reuse a connection point interface defined in another type library
5151

docs/atl/atl-com-desktop-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ Leads you through the creation of a control and demonstrates some ATL fundamenta
5050
Sample code that shows how to use ATL to write COM objects.
5151

5252
[OLE DB Templates](../data/oledb/ole-db-templates.md)<br/>
53-
Provides reference material for the OLE DB consumer and provider templates, a set of template classes that implement many commonly used OLE DB interfaces.
53+
Provides reference material for the OLE DB consumer and provider templates, a set of template classes that implement many commonly used OLE DB interfaces.

docs/atl/atl-control-containment-faq.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ ATL's control-hosting code doesn't require you to use any ATL classes; you can s
2323
|[CAxWindow2T](../atl/reference/caxwindow2t-class.md)|Wraps an **"AtlAxWinLic80"** window, providing methods for creating the window, creating a control and/or attaching a licensed control to the window, and retrieving interface pointers on the host object.|
2424
|[CComCompositeControl](../atl/reference/ccomcompositecontrol-class.md)|Acts as a base class for ActiveX control classes based on a dialog resource. Such controls can contain other ActiveX controls.|
2525
|[CAxDialogImpl](../atl/reference/caxdialogimpl-class.md)|Acts as a base class for dialog classes based on a dialog resource. Such dialogs can contain ActiveX controls.|
26-
|[CWindow](../atl/reference/cwindow-class.md)|Provides a method, [GetDlgControl](../atl/reference/cwindow-class.md#getdlgcontrol), that will return an interface pointer on a control, given the ID of its host window. In addition, the Windows API wrappers exposed by `CWindow` generally make window management easier.|
26+
|[CWindow](../atl/reference/cwindow-class.md)|Provides a method, [GetDlgControl](../atl/reference/cwindow-class.md#getdlgcontrol), that will return an interface pointer on a control, given the ID of its host window. In addition, the Windows API wrappers exposed by `CWindow` generally make window management easier.|
2727

2828
## What Is the ATL Control-Hosting API?
2929

@@ -48,11 +48,11 @@ The `HWND` parameters in the first three functions must be an existing window of
4848
The first seven functions call [AtlAxWinInit](reference/composite-control-global-functions.md#atlaxwininit) implicitly.
4949

5050
> [!NOTE]
51-
> The control-hosting API forms the foundation of ATL's support for ActiveX control containment. However, there is usually little need to call these functions directly if you take advantage of or make full use of ATL's wrapper classes. For more information, see [Which ATL Classes Facilitate ActiveX Control Containment](which-atl-classes-facilitate-activex-control-containment-q.md).
51+
> The control-hosting API forms the foundation of ATL's support for ActiveX control containment. However, there is usually little need to call these functions directly if you take advantage of or make full use of ATL's wrapper classes. For more information, see [Which ATL Classes Facilitate ActiveX Control Containment](which-atl-classes-facilitate-activex-control-containment-q.md).
5252
5353
## What Is AtlAxWin100?
5454

55-
`AtlAxWin100` is the name of a window class that helps provide ATL's control-hosting functionality. When you create an instance of this class, the window procedure will automatically use the control-hosting API to create a host object associated with the window and load it with the control that you specify as the title of the window.
55+
`AtlAxWin100` is the name of a window class that helps provide ATL's control-hosting functionality. When you create an instance of this class, the window procedure will automatically use the control-hosting API to create a host object associated with the window and load it with the control that you specify as the title of the window.
5656

5757
## When Do I Need to Call AtlAxWinInit?
5858

docs/atl/atl-module-classes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ The functionality of `CComModule` was distributed into several new classes for t
4343

4444
- Make the functionality in `CComModule` granular.
4545

46-
Support for COM, windowing, interface debugging, and application-specific (DLL or EXE) features is now in separate classes.
46+
Support for COM, windowing, interface debugging, and application-specific (DLL or EXE) features is now in separate classes.
4747

4848
- Automatically declare global instance of each of these modules.
4949

50-
A global instance of the required module classes is linked into the project.
50+
A global instance of the required module classes is linked into the project.
5151

5252
- Remove the necessity of calling Init and Term methods.
5353

54-
Init and Term methods have moved into the constructors and destructors for the module classes; there is no longer a need to call Init and Term.
54+
Init and Term methods have moved into the constructors and destructors for the module classes; there is no longer a need to call Init and Term.
5555

5656
## See Also
5757

docs/atl/atl-utilities-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ ATL provides code for manipulating paths and URLs in the form of [CPathT](../atl
5252
|[AtlHexValue](../atl/reference/atl-text-encoding-functions.md#atlhexvalue)|Call this function to get the numeric value of a hexadecimal digit.|
5353
|[AtlIsUnsafeUrlChar](../atl/reference/atl-http-utility-functions.md#atlisunsafeurlchar)|Call this function to find out whether a character is safe for use in a URL.|
5454
|[AtlUnescapeUrl](../atl/reference/atl-http-utility-functions.md#atlunescapeurl)|Call this function to convert escaped characters back to their original values.|
55-
|[SystemTimeToHttpDate](../atl/reference/atl-http-utility-functions.md#systemtimetohttpdate)|Call this function to convert a system time to a string in a format suitable for using in HTTP headers.|
55+
|[SystemTimeToHttpDate](../atl/reference/atl-http-utility-functions.md#systemtimetohttpdate)|Call this function to convert a system time to a string in a format suitable for using in HTTP headers.|
5656

5757
|[ATLPath::AddBackslash](../atl/reference/atl-path-functions.md#addbackslash)|This function is an overloaded wrapper for [PathAddBackslash](/windows/desktop/api/shlwapi/nf-shlwapi-pathaddbackslasha
5858
).|

docs/atl/changing-the-drawing-code-atl-tutorial-part-4.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,13 @@ Rebuild the control. Make sure the PolyCtl.htm file is closed if it is still ope
111111
> For errors involving `ATL::CW2AEX`, in Script.Cpp, replace line `TRACE( "XActiveScriptSite::GetItemInfo( %s )\n", pszNameT );` with `TRACE( "XActiveScriptSite::GetItemInfo( %s )\n", pszNameT.m_psz );`, and line `TRACE( "Source Text: %s\n", COLE2CT( bstrSourceLineText ) );` with `TRACE( "Source Text: %s\n", bstrSourceLineText );`.<br/>
112112
> For errors involving `HMONITOR`, open StdAfx.h in the `TCProps` project and replace:
113113
> ```
114-
> #ifndef WINVER
115-
> #define WINVER 0x0400
114+
> #ifndef WINVER
115+
> #define WINVER 0x0400
116116
> #endif
117117
> ```
118118
> with
119119
> ```
120-
> #ifndef WINVER
120+
> #ifndef WINVER
121121
> #define WINVER 0x0500
122122
> #define _WIN32_WINNT 0x0500
123123
> #endif

0 commit comments

Comments
 (0)