You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
891 B
26 lines
891 B
//+-------------------------------------------------------------------------
|
|
//
|
|
// Microsoft Windows
|
|
// Copyright (C) Microsoft Corporation, 1999 - 1999
|
|
//
|
|
// File: string.cpp
|
|
//
|
|
// Contents: Utility functions for the CString class
|
|
//
|
|
// History: 10-Aug-99 VivekJ Created
|
|
//
|
|
//--------------------------------------------------------------------------
|
|
|
|
|
|
// a function to load strings from the string module, not the AfxModule
|
|
BOOL LoadString(CString &str, UINT nID);
|
|
void FormatStrings(CString& rString, UINT nIDS, LPCTSTR const* rglpsz, int nString);
|
|
void FormatString1(CString& rString, UINT nIDS, LPCTSTR lpsz1);
|
|
void FormatString2(CString& rString, UINT nIDS, LPCTSTR lpsz1, LPCTSTR lpsz2);
|
|
|
|
// make sure that the MMC functions replace the MFC ones.
|
|
#define AfxFormatString1 FormatString1
|
|
#define AfxFormatString2 FormatString2
|
|
|
|
|
|
|