Printing the control


Full Text Search: The Key to Better Natural Language Queries for NoSQL in Node.js

void CIvSceneListCtrl::Print(CDC* pDC, CPrintInfo* pInfo) {

        CClientDC dcScreen(NULL);
        //map 1 screen logical inch to 1 printer.
        pDC>SetWindowExt(       dcScreen.
        pDC->SetViewportExt(    pDC->GetDeviceCaps(LOGPIXELSX),

        CPen pen(PS_SOLID,1,RGB(0,0,0));
        CPen* OldPen = pDC->SelectObject(&pen);

        CHeaderCtrl* pHeader = (CHeaderCtrl*) GetDlgItem(0);

        if (pHeader) pHeader->SendMessage(WM_PAINT,(WPARAM)pDC->m_hDC);



  • Is it possible to get the EMF from the ListView?

    Posted by Legacy on 03/30/2001 12:00am

    Originally posted by: Michael

    I need to insert the image of the ListView table into an RTF
    file dynamically from a program.
    Is it possible to get the EMF from the ListView?


  • Thank You

    Posted by Legacy on 04/18/2000 12:00am

    Originally posted by: Aykut

    This is really an important feature that sometimes is a must.

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • In order for IT service providers to succeed, it's paramount that they find a competitive advantage and continually develop new ways to find additional revenue streams. IT service providers need to be able to do it all for their clients – from managing entire technology infrastructures to responding quickly to a multitude of end-user needs. With a growing number of issues to resolve and limited technicians at hand, how can IT service providers operate efficiently while providing top-notch service …

  • Milliseconds matter. Make your systems faster with an uncompromising approach to designing and deploying your cloud foundation on IBM Cloud.

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date