void CBmpprocessorView::OnMenuitembmpinfo()
{
// TODO: Add your command handler code here
CBmpprocessorDoc* pDoc = GetDocument();
bmpinfo dlg;
dlg.m_colorbit = pDoc->m_lpBMIH->biBitCount;
// dlg.m_header = pDoc->m_lpBMIH->biSize;
dlg.m_header = sizeof(BITMAPINFOHEADER);
dlg.m_height = pDoc->m_lpBMIH->biHeight;
dlg.m_image = pDoc->m_dwSizeImage;
dlg.m_imagesize = pDoc->m_lpBMIH->biSizeImage;
dlg.m_pallete = sizeof(pDoc->m_lpvColorTable);
dlg.m_width = pDoc->m_lpBMIH->biWidth;
dlg.DoModal();
}