Click here to Skip to main content
15,895,142 members
Articles / Desktop Programming / MFC

A Logging Listbox Control

Rate me:
Please Sign up or sign in to vote.
4.80/5 (9 votes)
16 May 2000 176.6K   3K   85  
Learn how to use printf-like functionality to debug your GUI applications.
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by Log.rc
//
#define IDD_ABOUTBOX                    100
#define IDI_JMNCO                       107
#define IDR_MAINFRAME                   128
#define IDR_LOGTYPE                     129
#define IDD_FORMLOG                     130
#define IDR_LOGWINDOWTYPE               130
#define IDS_LOG_ACTIVATED               131
#define IDD_TRACE_NOTE                  132
#define IDS_LOG_CREATED                 132
#define IDS_SAMPLE_ACCESS_DENIED        133
#define IDS_ERROR_COUNT                 134
#define IDS_ERROR_COUNT_1               135
#define IDS_SAMPLE_ERROR                136
#define IDS_SAMPLE_COMMENT              137
#define IDC_LOG                         1000
#define IDC_TOP                         1001
#define IDC_PREV                        1002
#define IDC_NEXT                        1003
#define IDC_BOTTOM                      1004
#define IDC_LIMIT                       1005
#define IDC_ENABLE_LIMIT                1006
#define IDC_NOTE                        1007
#define IDC_TEXT                        1008
#define IDC_SETLIMIT                    1009
#define IDC_TODISK                      1010
#define IDS_TRACELOG_UNKNOWN_ERROR      5000
#define IDS_TRACELOG_FILTER             5001
#define IDS_TRACELOG_FILE_SAVE          5002
#define IDS_TRACELOG_FILE_SAVE_AS       5003
#define IDS_TRACELOG_FILE_OPEN_FAILED   5004
#define IDS_TRACELOG_CAPTION            5005
#define IDS_TRACELOG_DELETED_ENTRIES    5006
#define IDS_WSAEINTR                    10004
#define IDS_WSAEBADF                    10009
#define IDS_WSAEACCESS                  10013
#define IDS_WSAEFAULT                   10014
#define IDS_WSAEINVAL                   10022
#define IDS_WSAEMFILE                   10024
#define IDS_WSAEWOULDBLOCK              10035
#define IDS_WSAEINPROGRESS              10036
#define IDS_WSAEALREADY                 10037
#define IDS_WSAENOTSOCK                 10038
#define IDS_WSAEDESTADDRREQ             10039
#define IDS_WSAEMSGSIZE                 10040
#define IDS_WSAEPROTOTYPE               10041
#define IDS_WSAENOPROTOOPT              10042
#define IDS_WSAEPROTONOSUPPORT          10043
#define IDS_WSAESOCKTNOSUPPORT          10044
#define IDS_WSAEOPNOTSUPP               10045
#define IDS_WSAEPFNNOSUPPORT            10046
#define IDS_WSAEAFNOSUPPORT             10047
#define IDS_WSAEADDRINUSE               10048
#define IDS_WSAADDRNOTAVAIL             10049
#define IDS_WSAENETDOWN                 10050
#define IDS_WSAENETUNREACH              10051
#define IDS_WSAENETRESET                10052
#define IDS_WSAECONNABORTED             10053
#define IDS_WSAECONNRESET               10054
#define IDS_WSAENOBUFS                  10055
#define IDS_WSAEISCONN                  10056
#define IDS_WSAENOTCONN                 10057
#define IDS_WSAESHUTDOWN                10058
#define IDS_WSAETOOMANYREFS             10059
#define IDS_WSAETIMEDOUT                10060
#define IDS_WSAECONNREFUSED             10061
#define IDS_WSAELOOP                    10062
#define IDS_WSAENAMETOOLONG             10063
#define IDS_WSAEHOSTDOWN                10064
#define IDS_WSAEHOSTUNREACH             10065
#define IDS_WSAENOTEMPTY                10066
#define IDS_WSAEPROCLIM                 10067
#define IDS_WSAEUSERS                   10068
#define IDS_WSAEDQUOT                   10069
#define IDS_WSAESTATE                   10070
#define IDS_WSAEREMOTE                  10071
#define IDS_WSASYSNOTREADY              10091
#define IDS_WSAVERNOTSUPPORTED          10092
#define IDS_WSANOTINITIALIZED           10093
#define IDS_WSAEDISCON                  11001
#define IDS_WSAENOMORE                  11002
#define IDS_WSAECANCELLED               11003
#define IDS_WSAEINVALID_PROC_TABLE      11004
#define IDS_WSAEINVALIDPROVIDER         11005
#define IDS_WSAEPROVIDERFAILEDINIT      11006
#define IDS_WSASYSCALLFAILURE           11007
#define IDS_WSASERVICE_NOT_FOUND        11008
#define IDS_WSATYPE_NOT_FOUND           11009
#define IDS_WSA_E_NO_MORE               11010
#define IDS_WSA_E_CANCELLED             11011
#define IDS_WSAEREFUSED                 11012
#define IDM_LOGWINDOW                   32771
#define IDM_CLEAR                       32773
#define IDM_TEST_COMMENT                32774
#define IDM_TEST_ERROR                  32775
#define IDM_TEST_FORMATERROR            32776
#define IDM_TRACE_FORMATMESSAGE         32777
#define IDM_TEST_DATA                   32778
#define IDM_TEST_DATA_BINARY            32779
#define IDM_TEST_DATA_STRING            32780

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_3D_CONTROLS                     1
#define _APS_NEXT_RESOURCE_VALUE        134
#define _APS_NEXT_COMMAND_VALUE         32781
#define _APS_NEXT_CONTROL_VALUE         1011
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Retired
United States United States
PhD, Computer Science, Carnegie Mellon University, 1975
Certificate in Forensic Science and the Law, Duquesne University, 2008

Co-Author, [i]Win32 Programming[/i]

Comments and Discussions