// MakeBarExeDlg.h : header file
//
//{{AFX_INCLUDES()
//}}AFX_INCLUDES

#if !defined(AFX_MAKEBAREXEDLG_H__3400EA1A_566C_4346_996B_FE2238A9F42E__INCLUDED_)
#define AFX_MAKEBAREXEDLG_H__3400EA1A_566C_4346_996B_FE2238A9F42E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CMakeBarExeDlg dialog

class CMakeBarExeDlg : public CDialog
{
// Construction
public:
	CMakeBarExeDlg(CWnd* pParent = NULL);	// standard constructor

	HINSTANCE m_hInst;
	BOOL m_bDraw;
	char szFileName[MAX_PATH];
	

	typedef void (__stdcall *MAKE)(unsigned char* ucData, 
	long nDataLen, char* szBmpFileName,long nClumn, long nErr, long nHLRatio, 
	long nHeight);

	typedef int (__stdcall *MIXTEXT)(const char* szSrcBmpFileName, 
											const char* szDstBmpFileName,
											char* szText,
											long lFontSize,
											long lTxtHeight,
											long lHmargin,
											long lVmargin,
											long lTxtCntOneLine);
	typedef int  (__stdcall *SETCOLORDEPTH)(int nDepth);

	typedef int  (__stdcall *GETCOLORDEPTH)();

	MAKE Make;
	MIXTEXT MixText;
	SETCOLORDEPTH SetColorDepth;
	GETCOLORDEPTH GetColorDepth;
	//{{AFX_DATA(CMakeBarExeDlg)
	enum { IDD = IDD_MAKEBAREXE_DIALOG };
	long	m_nV1;
	long	m_nV2;
	long	m_nV3;
	long	m_nHeight;
	long	m_nColorDepth;
	long	m_lFontSize;
	long	m_lFontHeight;
	long	m_lLineCount;
	long	m_lMargin;
	CString	m_strTxt;
	long	m_lVMargin;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMakeBarExeDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CMakeBarExeDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButton1();
	afx_msg void OnButton2();
	afx_msg void OnButton3();
	afx_msg void OnClose();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MAKEBAREXEDLG_H__3400EA1A_566C_4346_996B_FE2238A9F42E__INCLUDED_)
