I found it, it's known as Hugarian Notations, here is a sniplet out of the MSDN article I found.<br>at this URL <i><A HREF="
TARGET="_new">
I assume it would have been found in your local copy of MSDN, if only we knew it was called Hungarian Notations, I know it was definitally a MFC convention.<br><br><FONT FACE=monospace><br><b>Use Simplified Hungarian Notation </b><br>The following tables describe the subset of Hungarian notation used in MFC. Table 3 shows general prefix naming conventions. Note that all class names and structure names begin with the letter "C", and member variables are preceded by m_. <br><br>Table 3. General Prefix Naming Conventions <br><br>Prefix Type Example <br>C Class or structure CDocument, CPrintInfo <br>m_ Member variable m_pDoc, m_nCustomers <br><br><br>You may notice the absence of static member variables in Table 3. Static member variables are not really members of the object (that is to say, the instantiation of the class). Static member variables are global variables whose "namespace" is within the context of a class. Since global variables are not prefixed, static member variables are not prefixed. <br><br>Table 4 lists the prefixes MFC uses for naming variables. If you use these naming conventions in your MFC-friendly classes, users of your classes will appreciate the consistency between your code and MFC. <br><br>Table 4. Variable Prefix Naming Conventions <br><br>Prefix Type Description Example <br>ch char 8-bit character chGrade <br>ch TCHAR 16-bit character if _UNICODE is defined chName <br>b BOOL Boolean value bEnabled <br>n int Integer (size dependent on operating system) nLength <br>n UINT Unsigned value (size dependent on operating system) nLength <br>w WORD 16-bit unsigned value wPos <br>l LONG 32-bit signed integer lOffset <br>dw DWORD 32-bit unsigned integer dwRange <br>p * Pointer pDoc <br>lp FAR* Far pointer lpDoc <br>lpsz LPSTR 32-bit pointer to character string lpszName <br>lpsz LPCSTR 32-bit pointer to constant character string lpszName <br>lpsz LPCTSTR 32-bit pointer to constant character string if _UNICODE is defined lpszName <br>h handle Handle to Windows object hWnd <br>lpfn callback Far pointer to CALLBACK function lpfnAbort <br><br><br>Know and Use Other MFC Conventions <br>Consistency with MFC helps flatten the learning curve for your users since they will recognize the MFC conventions in your classes and already know what they mean. <br><br>Table 5 shows symbols generated and used by AppWizard and ClassWizard in MFC applications. You can also use these prefixes in classes and resource files in your MFC-friendly classes. <br><br>Table 5. Symbols Used by Applications <br><br>Prefix Type of Symbol Example Range <br>IDR_ Identification shared by multiple resources of different types. IDR_MAINFRAME 1 to 0x6FFF <br>IDD_ Dialog resource IDD_SPELL_CHECK 1 to 0x6FFF <br>HIDD_ Dialog-resource Help context HIDD_SPELL_CHECK 0x20001 to 0x26FF <br>IDB_ Bitmap resource IDB_COMPANY_LOGO 1 to 0x6FFF <br>IDC_ Cursor resource IDC_PENCIL 1 to 0x6FFF <br>IDI_ Icon resource IDI_NOTEPAD 1 to 0x6FFF <br>ID_ _ Command from menu item or toolbar ID_TOOLS_SPELLING 0x8000 to 0xDFFF <br>HID_ Command Help context HID_TOOLS_SPELLING 0x18000 to 0x1DFFF <br>IDP_ Message-box prompt IDP_INVALID_PARTNO 8 to 0xDFFF <br>HIDP_ Message-box Help context HIDP_INVALID_PARTNO 0x30008 to 0x3DFFF <br>IDS_ String resource IDS_COPYRIGHT 1 to 0x7FFF <br>IDC_ Control within dialog box IDC_RECALC 8 to 0xDFFF <br><br><br>Table 6 describes some macros used in the framework. For more information on the DEBUG macro, see the article "Diagnostics" in the Visual C++ Programmer’s Guide in the online documentation. The AFXAPI and CALLBACK macros mark specific types of MFC functions. <br><br>Table 6. Configuration Macros Used in MFC <br><br>Macro Name Type of Macro <br>_AFXDLL Stand-alone dynamic-link library (DLL) version <br>_ALPHA Compilation for the DEC Alpha processor only <br>_DEBUG Debug version including diagnostics <br>_MBCS Compilation for multi-byte character sets <br>_UNICODE Enables Unicode in an application <br>AFXAPI1 Function provided by MFC <br>CALLBACK Function called back via pointer <br><br><br>1. Reserved for use by MFC.<br></font> <p>Karl<br><a href=mailto:kb244@kb244.8m.com>kb244@kb244.8m.com</a><br><a href=
</a><br>Experienced in , or have messed with : VC++, Borland C++ Builder, VJ++6(starting),VB-Dos, VB1 thru VB6, Delphi 3 pro, Borland C++ 3(DOS), Borland C++ 4.5, HTML,Visual InterDev 6, ASP(WebProgramming), QBasic(least i didnt start with COBOL)