示例#1
0
int CIndTitleBar::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
	if (CDialogBar::OnCreate(lpCreateStruct) == -1)
		return -1;

	// TODO:  在此添加您专用的创建代码
	SetBkBmpNid( IDB_BITMAP_TITLE_BAR ) ;
	return 0;
}
示例#2
0
int CIpo::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
	if (CDialogBar::OnCreate(lpCreateStruct) == -1)
		return -1;

	// TODO:  在此添加您专用的创建代码
	SetBkBmpNid( IDB_BITMAP_YYYEBK ) ;
	return 0;
}
示例#3
0
文件: AddApp.cpp 项目: SoyPay/DacrsUI
int CAddApp::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
	if (CDialogBar::OnCreate(lpCreateStruct) == -1)
		return -1;

	// TODO:  在此添加您专用的创建代码
	//SetBkBmpNid(IDB_BITMAP_ADDAPP_BJ);
	SetBkBmpNid(UiFun::GetBmpId(IDB_BITMAP_ADDAPP_BJ,IDB_BITMAP_IPO_BJEN,theApp.language()));
	return 0;
}
示例#4
0
int CGrabSpecalRedPacket::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
	if (CDialogEx::OnCreate(lpCreateStruct) == -1)
		return -1;

	// TODO:  在此添加您专用的创建代码
	//SetBkBmpNid(IDB_BITMAP_REDPACKETPOOL);
	SetBkBmpNid(UiFun::GetBmpId(IDB_BITMAP_REDPACKETPOOL,IDB_BITMAP_REDPACKETPOOLEN,theApp.language()));
	return 0;
}
示例#5
0
int CSendRedPacketRecord::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
	if (CDialogEx::OnCreate(lpCreateStruct) == -1)
		return -1;

	// TODO:  在此添加您专用的创建代码
	//SetBkBmpNid(IDB_BITMAP_SENDREDPACKET) ;
	SetBkBmpNid(UiFun::GetBmpId(IDB_BITMAP_SENDREDPACKET,IDB_BITMAP_SENDREDPACKETEN,theApp.language())) ;
	return 0;
}
示例#6
0
int CProgStatusBar::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
	if (CDialogBar::OnCreate(lpCreateStruct) == -1)
		return -1;

	// TODO:  在此添加您专用的创建代码
	SetBkBmpNid( IDB_BITMAP_BAR3 ) ;
	ModifyStyle(WS_BORDER,   0); 
	ModifyStyleEx(WS_EX_WINDOWEDGE,   0); 
	OnIniLockParam();         //设置锁的变量
	return 0;
}
示例#7
0
int CMainDlg::OnCreate(LPCREATESTRUCT lpCreateStruct)
{
	if (CDialogBar::OnCreate(lpCreateStruct) == -1)
		return -1;

	// TODO:  在此添加您专用的创建代码
	SetBkBmpNid( IDB_BITMAP_MAIN);		

	m_strBalance.SetFont(20 , _T("微软雅黑"));				//设置显示字体和大小
	m_strConfirming.SetFont(20 , _T("微软雅黑"));	   
	m_strTransactionNumber.SetFont(20 , _T("微软雅黑"));	
	/*
	if (m_vlinkCtrl1 == NULL)
	{
		m_vlinkCtrl1 = new CHyperLink;
		m_vlinkCtrl1->Create(_T(""), 
			WS_VISIBLE, 
			CRect(5, 5, 80, 50), 
			this, 
			IDC_MFCLINK1);
	}

	if (m_vlinkCtrl2 == NULL)
	{
		m_vlinkCtrl2 = new CHyperLink;
		m_vlinkCtrl2->Create(_T(""), 
			WS_VISIBLE, 
			CRect(5, 5, 80, 50), 
			this, 
			IDC_MFCLINK2);
	}

	if (m_vlinkCtrl3 == NULL)
	{
		m_vlinkCtrl3 = new CHyperLink;
		m_vlinkCtrl3->Create(_T(""), 
			WS_VISIBLE, 
			CRect(5, 5, 80, 50), 
			this, 
			IDC_MFCLINK3);
	}

	if (m_vlinkCtrl4 == NULL)
	{
		m_vlinkCtrl4 = new CHyperLink;
		m_vlinkCtrl4->Create(_T(""), 
			WS_VISIBLE, 
			CRect(5, 5, 80, 50), 
			this, 
			IDC_MFCLINK4);
	}
	
	if (m_vlinkCtrlQQ == NULL)
	{
		m_vlinkCtrlQQ = new CMFCLinkCtrl;
		m_vlinkCtrlQQ->Create(_T(""), 
			WS_CHILD, 
			CRect(5, 5, 30, 50), 
			this, 
			IDC_MFCLINK_QQ);
	}

	if (m_vlinkCtrlBlock == NULL)
	{
		m_vlinkCtrlBlock = new CMFCLinkCtrl;
		m_vlinkCtrlBlock->Create(_T(""), 
			WS_VISIBLE, 
			CRect(5, 5, 30, 50), 
			this, 
			IDC_MFCLINK_BLOCK);
	}
	*/
	return 0;
}