Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
dtestdlmy.cpp
Package: testdl.rar [view]
Upload User: chennaikun
Upload Date: 2022-05-07
Package Size: 2328k
Code Size: 2k
Category:
Dialog_Window
Development Platform:
Visual C++
- // dtestdlmy.cpp : implementation file
- //
- #include "stdafx.h"
- #include "testdl.h"
- #include "dtestdlmy.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CDtestdlmy dialog
- CDtestdlmy::CDtestdlmy(CWnd* pParent /*=NULL*/)
- : CDialog(CDtestdlmy::IDD, pParent)
- {
- //{{AFX_DATA_INIT(CDtestdlmy)
- m_fpcs = 0.0f;
- m_fpcv = 0.0f;
- m_fph = 0.0f;
- //}}AFX_DATA_INIT
- ASSERT(pParent);
- m_pParent=pParent;
- }
- void CDtestdlmy::DoDataExchange(CDataExchange* pDX)
- {
- CDialog::DoDataExchange(pDX);
- //{{AFX_DATA_MAP(CDtestdlmy)
- DDX_Text(pDX, IDC_FV_PCS, m_fpcs);
- DDX_Text(pDX, IDC_FV_PCV, m_fpcv);
- DDX_Text(pDX, IDC_FV_PH, m_fph);
- //}}AFX_DATA_MAP
- }
- BEGIN_MESSAGE_MAP(CDtestdlmy, CDialog)
- //{{AFX_MSG_MAP(CDtestdlmy)
- ON_BN_CLICKED(ID_FV_POK, OnFvPok)
- ON_BN_CLICKED(IDC_FV_WJX, OnFvWjx)
- ON_BN_CLICKED(IDC_FV_WZJ, OnFvWzj)
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // CDtestdlmy message handlers
- void CDtestdlmy::OnFvPok()
- {
- // TODO: Add your control notification handler code here
- float FV_i;
- FV_i=1;
- UpdateData(true);
- m_pParent->SendMessage(WM_DLG_CREATE,(WPARAM)FV_i);
- }
- void CDtestdlmy::OnFvWjx()
- {
- // TODO: Add your control notification handler code here
- float FV_i;
- FV_i=3;
- m_pParent->SendMessage(WM_DLG_CREATE,(WPARAM)FV_i);
- }
- void CDtestdlmy::OnFvWzj()
- {
- // TODO: Add your control notification handler code here
- float FV_i;
- FV_i=2;
- m_pParent->SendMessage(WM_DLG_CREATE,(WPARAM)FV_i);
- }