LRESULT MapView::OnColInfo(WPARAM wParam, LPARAM)
LRESULT MapView::OnColInfo(WPARAM wParam, LPARAM lParam)
LRESULT MapView::OnColInfo(WPARAM wParam, LPARAM){  u16 c = (u16)wParam;  char buffer[16];  color.setColor(c);    int r = (c & 0x1f);  int g = (c & 0x3e0) >> 5;  int b = (c & 0x7c00) >> 10;  sprintf(buffer, "R: %d", r);  ::SetWindowText(GetDlgItem(IDC_R), buffer);  sprintf(buffer, "G: %d", g);  ::SetWindowText(GetDlgItem(IDC_G), buffer);  sprintf(buffer, "B: %d", b);  ::SetWindowText(GetDlgItem(IDC_B), buffer);  return TRUE;}