--- Module: NGStatusBar.cpp void SetFgColor(COLORREF newOnColor, COLORREF newOffColor = -1); NGStatusBar.h(82): error 570: (Warning -- Loss of sign (initialization) (int to unsigned long)) void SetBkColor(COLORREF newOnColor, COLORREF newOffColor = -1); NGStatusBar.h(83): error 570: (Warning -- Loss of sign (initialization) (int to unsigned long)) void SetFgColor(int ix, COLORREF on, COLORREF off = -1) { _XPI(ix).SetFgColor(on, off); Invalidate(FALSE); } NGStatusBar.h(154): error 570: (Warning -- Loss of sign (initialization) (int to unsigned long)) void SetBkColor(int ix, COLORREF on, COLORREF off = -1) { _XPI(ix).SetBkColor(on, off); Invalidate(FALSE); } NGStatusBar.h(155): error 570: (Warning -- Loss of sign (initialization) (int to unsigned long)) void SetFgColor(int ix, COLORREF on, COLORREF off = -1) { _XPI(ix).SetFgColor(on, off); Invalidate(FALSE); } NGStatusBar.h(154): error 578: (Warning -- Declaration of symbol 'on' hides symbol 'CNGStatusBar::on' (line 211)) void SetBkColor(int ix, COLORREF on, COLORREF off = -1) { _XPI(ix).SetBkColor(on, off); Invalidate(FALSE); } NGStatusBar.h(155): error 578: (Warning -- Declaration of symbol 'on' hides symbol 'CNGStatusBar::on' (line 211)) void SetBitmap(int ix, LPCSTR on, LPCSTR off = "") { _XPI(ix).SetBitmap(on, off); Invalidate(FALSE); } NGStatusBar.h(156): error 578: (Warning -- Declaration of symbol 'on' hides symbol 'CNGStatusBar::on' (line 211)) void SetText(int ix, LPCSTR on, LPCSTR off = "") { _XPI(ix).SetText(on, off); Invalidate(FALSE); } NGStatusBar.h(157): error 578: (Warning -- Declaration of symbol 'on' hides symbol 'CNGStatusBar::on' (line 211)) void SetNumber(int ix, int on, int off = 0) { _XPI(ix).SetNumber(on, off); Invalidate(FALSE); } NGStatusBar.h(159): error 578: (Warning -- Declaration of symbol 'on' hides symbol 'CNGStatusBar::on' (line 211)) int Increment(int ix, bool on = true) { int ret = _XPI(ix).Increment(on); Invalidate(FALSE); return ret; } NGStatusBar.h(172): error 578: (Warning -- Declaration of symbol 'on' hides symbol 'CNGStatusBar::on' (line 211)) int Decrement(int ix, bool on = true) { int ret = _XPI(ix).Decrement(on); Invalidate(FALSE); return ret; } NGStatusBar.h(173): error 578: (Warning -- Declaration of symbol 'on' hides symbol 'CNGStatusBar::on' (line 211)) COLORREF GetFgColor(int ix, bool on = true) { return _XPI(ix).GetFgColor(on); } NGStatusBar.h(181): error 578: (Warning -- Declaration of symbol 'on' hides symbol 'CNGStatusBar::on' (line 211)) COLORREF GetBkColor(int ix, bool on = true) { return _XPI(ix).GetBkColor(on); } NGStatusBar.h(182): error 578: (Warning -- Declaration of symbol 'on' hides symbol 'CNGStatusBar::on' (line 211)) CString GetBitmap(int ix, bool on = true) { return _XPI(ix).GetBitmap(on); } NGStatusBar.h(183): error 578: (Warning -- Declaration of symbol 'on' hides symbol 'CNGStatusBar::on' (line 211)) CString GetText(int ix, bool on = true) { return _XPI(ix).GetText(on); } NGStatusBar.h(184): error 578: (Warning -- Declaration of symbol 'on' hides symbol 'CNGStatusBar::on' (line 211)) int GetNumber(int ix, bool on = true) { return _XPI(ix).GetNumber(on); } NGStatusBar.h(185): error 578: (Warning -- Declaration of symbol 'on' hides symbol 'CNGStatusBar::on' (line 211)) if (off != -1) NGStatusBar.cpp(199): error 650: (Warning -- Constant out of range for operator '!=') if (off != -1) bkColor[0] = off; NGStatusBar.cpp(222): error 650: (Warning -- Constant out of range for operator '!=') {} NGStatusBar.cpp(340): error 1540: (Warning -- Pointer member 'CNGStatusBar::pParent' (line 212, file NGStatusBar.h) neither freed nor zero'ed by destructor -- Effective C++ #6) --- Global Wrap-up error 900: (Note -- Successful completion, 19 messages produced)