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)...
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)...
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
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()...
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*??
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*??
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.