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 John Tel 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: Jaredino
  • Content: Threads
  • Order by date
  1. Jaredino

    Double Buffering

    Hi I have the following code to draw 3 bitmaps on the screen (of a formview): CBitmap bitmap[4]; CDC dcMemory[4]; BITMAP bmap[4]; int bmpWidth = 0, bmpHeight = 0; //Load Bitmap1 bitmap[1].LoadBitmap(IDB_GUITAR1); dcMemory[1].CreateCompatibleDC(pDC)...
  2. Jaredino

    ListBox

    Hi, I've tried a number of things but just can't get this to work. I have a list box containing a number of strings: void CInstrumentDlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CInstrumentDlg) DDX_LBString(pDX, IDC_LIST_INSTRUMENT, m_CursorSel)...
  3. Jaredino

    Add buttons & sliders automatically

    Hi, I have created a new SDI project which is a formview and have added a number of buttons and sliders in a group box. Does anyone know how I can add a copy of this layout to the form when the user clicks the appropraite button on the toolbar? Any help would be appreciated, thanks
  4. Jaredino

    Calling functions from other classes

    Hi I'm creating a project in MFC for the first time. In 'normal' C++ to call a function from class CWavHeader in the class CWavFile I would simply do this #include "WavHeader.h" class WavFile { .... .... CWavHeader header } Then in cpp file: header.getSampleRate()...
  5. Jaredino

    CString to char*

    Hi, I have read lots of posts on this but still can't come up with any answers. I have a CString named 'm_sResults1' that needs to be passed to a function named 'openWavFile()' that expects a char*. How do I convert a CString to a char*??
  6. Jaredino

    CString to char*

    Hi, I have read lots of posts on this but still can't come up with any answers. I have a CString named 'm_sResults1' that needs to be passed to a function named 'openWavFile()' that expects a char*. How do I convert a CString to a char*??

Part and Inventory Search

Back
Top