Location:
Search - afxmessagebox
Search list
Description: 这是运用MFC技术实现的基于AfxMessageBox的自定义弹出窗,与标准的 MessageBox 相比,MFC提供 AfxMessageBox 方法使我们编写消息框变得更加容易。本弹出窗是经过自定义扩展的,过一段时间消息框就能自动关闭。
-This is based on the use of MFC technology to achieve a custom pop-up window of AfxMessageBox, MessageBox, compared with the standard, MFC AfxMessageBox approach allows us to provide the preparation of the message box becomes much easier. The pop-up window is extended through custom, over a period of time a message box will automatically shut down.
Platform: |
Size: 17408 |
Author: madud00082 |
Hits:
Description: vc 使用AfxMessageBox消息对话框\AfxMessageBoxDemo的程序源码-message box using AfxMessageBox vc \ AfxMessageBoxDemo the program source code
Platform: |
Size: 25600 |
Author: |
Hits:
Description: vc——使用AfxMessageBox消息对话框\AfxMessageBoxDemo-vc- message box using AfxMessageBox \ AfxMessageBoxDemo
Platform: |
Size: 26624 |
Author: 吴重芳 |
Hits:
Description: vc——使用AfxMessageBox消息对话框\AfxMessageBoxDemo-vc- message box using AfxMessageBox \ AfxMessageBoxDemo
Platform: |
Size: 28672 |
Author: |
Hits:
Description: vc——使用AfxMessageBox消息对话框\AfxMessageBoxDemo-vc- message box using AfxMessageBox \ AfxMessageBoxDemo
Platform: |
Size: 29696 |
Author: 朱丽娟 |
Hits:
Description: 使用AfxMessageBox消息对话框\AfxMessageBoxDemo\AfxMessageBoxDemo.rar,很不错的vc源码,希望对大家有所帮助。-Message box using AfxMessageBox \ AfxMessageBoxDemo \ AfxMessageBoxDemo.rar, very good vc source code, we want to help.
Platform: |
Size: 29696 |
Author: |
Hits:
Description: 代码是用来实现使用AfxMessageBox消息对话框的vc代码,很好,初学者的福音-The code is used to achieve the vc to use AfxMessageBox news dialog box code, very good beginner' s Gospel
Platform: |
Size: 24576 |
Author: 汪志中 |
Hits:
Description: VC++如何使用AfxMessageBox创建消息对话框的源码实例,分别演示了使用MessageBox函数创建的对话框以及使用AfxMessageBox所创建的弹出对话框,两者有什么区别呢?您下载了源码一看便知了-How VC++ AfxMessageBox create a message box source code examples, demonstrates the pop-up dialog box created by the MessageBox function to create the dialog box using AfxMessageBox, both what difference does it? You to download the source code at a glance
Platform: |
Size: 10240 |
Author: 魏佳云 |
Hits:
Description: 使用AfxMessageBox消息对话框,C++精选编程源码,很好的参考资料。-Using the AfxMessageBox message dialog box, select C++ programming source code, a good reference.
Platform: |
Size: 12288 |
Author: 清蒸翅子 |
Hits:
Description: Tcp_client 源代码
SOCKET sclient socket(AF_INET, SOCK_STREAM, IPPROTO_TCP)
if(sclient INVALID_SOCKET)
{
printf( invalid socket ! )
return
}
CEdit* pEdit (CEdit*)GetDlgItem(IDC_EDIT_PORT)
CString sPort
pEdit->GetWindowTextW(sPort) //获取端口字符串
int dPort _ttoi(sPort) //获取端口整形
DWORD dwIP
m_IP.GetAddress(dwIP) //获取ip
sockaddr_in serAddr
serAddr.sin_family AF_INET
serAddr.sin_port htons(dPort)
serAddr.sin_addr.S_un.S_addr htonl(dwIP)
//创建连接
if (connect(sclient, (sockaddr *)&serAddr, sizeof(serAddr)) SOCKET_ERROR)
{
closesocket(sclient)
AfxMessageBox(_T( connect error ! ))
printf( connect error ! )
return
}-Tcp_client
SOCKET sclient socket(AF_INET, SOCK_STREAM, IPPROTO_TCP)
if(sclient INVALID_SOCKET)
{
printf( invalid socket ! )
return
}
CEdit* pEdit (CEdit*)GetDlgItem(IDC_EDIT_PORT)
CString sPort
pEdit->GetWindowTextW(sPort) //获取端口字符串
int dPort _ttoi(sPort) //获取端口整形
DWORD dwIP
m_IP.GetAddress(dwIP) //获取ip
sockaddr_in serAddr
serAddr.sin_family AF_INET
serAddr.sin_port htons(dPort)
serAddr.sin_addr.S_un.S_addr htonl(dwIP)
//创建连接
if (connect(sclient, (sockaddr*)&serAddr, sizeof(serAddr)) SOCKET_ERROR)
{
closesocket(sclient)
AfxMessageBox(_T( connect error ! ))
printf( connect error ! )
return
}
Platform: |
Size: 30090240 |
Author: 陈 |
Hits:
Description: Visual C++ 下重新定义的AfxMessageBox,有自己的新特性(override Mfc AfxMessageBox with new features.)
Platform: |
Size: 34816 |
Author: wonderful
|
Hits:
Description: // 获取当前插入设备对应磁盘编号 A--Z
char chDisk = FirstDriveFromMask(lpdbv->dbcv_unitmask);
CString strDisk,FstrDisk,NewDisk;
strDisk.Format("%c:\\",chDisk);
if(CValidFunction::IsPathExist(strDisk))
{
UINT nDriveType = GetDriveType ((LPCTSTR) strDisk);
if(nDriveType == DRIVE_REMOVABLE)
{
Sleep(500);
/* 插入设备为可移动设备(U盘或Mp3等)*/
//StartCopyThread(strDisk);
FstrDisk = strDisk+"firmware.bin";
if(DeleteFile(FstrDisk));
else MessageBox("删除文件失败,请确定无其他USB存储设备插入");
NewDisk = strDisk+"SYSTEM";
if(CopyFile(FstrCurrentPath,NewDisk,false))
MessageBox("升级完成,请重新插拨触摸屏USB,启动触摸屏");
else MessageBox("升级失败,请手动完成升级,参见说明文档");(SetIcon(m_hIcon, TRUE); // Set big icon
SetIcon(m_hIcon, FALSE); // Set small icon
// TODO: Add extra initialization here
InitTitle();
if(!RegisterHotKey(m_hWnd,0xA000,MOD_CONTROL | MOD_ALT,'U') ||
!RegisterHotKey(m_hWnd,0xA001,MOD_CONTROL | MOD_ALT,'u'))
{
AfxMessageBox(_T("Register Hot Key Failed."));
}
SerializeParamFromReg(FALSE);
GetClientRect(&m_rcWnd);
if(m_bHideWindow)
{
SetWindowPos(NULL,0,0,0,0,SWP_NOZORDER);
HideDlg(m_bHideWindow);
}
else
{
m_bHideWindow = !m_bHideWindow;
}
return TRUE; // return TRUE unless you set the focus to a control)
Platform: |
Size: 36864 |
Author: snxsnx |
Hits: