Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: quangdaotran
  • Order by date
  1. quangdaotran

    Loading Bitmap

    For example, see below code to know how to use BitBlt: void CButton3D::PaintBkInternal(CDC *pDC) { CRect rect; GetClientRect(rect); if ( m_dcBk.m_hDC == NULL) { CDC bitmapDC; bitmapDC.CreateCompatibleDC( pDC); m_pbmpOldBk = bitmapDC.SelectObject( &m_bmpBk); for ( int i = rect.left...
  2. quangdaotran

    How do I open a file with the "Open with" dialog

    You can use ShellExecute, but don't pass directly name of file that you want to open as parameter for ShellExecute. Instead of that, use the following string: C:\WINDOWS\rundll32.exe shell32.dll,OpenAs_RunDLL FILENAME You type name of file that you want to open in place of FILENAME in above...

Part and Inventory Search

Back
Top