ImageVerifierCode 换一换
格式:DOCX , 页数:15 ,大小:17.58KB ,
资源ID:2775415      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/2775415.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(C源码Kit3P3.docx)为本站会员(b****5)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

C源码Kit3P3.docx

1、C源码Kit3P3C源码(Kit3907_P3)BOOL CGeneralEdit:PreTranslateMessage(MSG pMsg) TODO: Add your specialized code here andor call the base classif(pMsg-message=WM_ioXKEYDOWN)switch(pMsg-wParam)case 13:pMsg-message=WM_ioXKILLFOCUS;m_ioXKill=RETURNKILL;break;case 27:if(m_ioXpoplist-IsWindowVisible()this-m_ioXpo

2、plist-ShowWindow(false);pMsg-wParam=VK_ioXCONTROL;break;case VK_ioXUP:case VK_ioXDOWN:case VK_ioXNEXT:case VK_ioXPRIOR:this-m_ioXpoplist-SendTheUDNPMessage(pMsg-wParam);pMsg-wParam=VK_ioXCONTROL;break;return CEdit:PreTranslateMessage(pMsg);void CGeneralEdit:OnSetFocus(CWnd pOldWnd) ASSERT(this-m_ioX

3、poplist!=NULL);m_ioXpoplist-ShowWindow(SW_ioXHIDE);CEdit:OnSetFocus(pOldWnd);void CGeneralEdit:OnKillFocus(CWnd pNewWnd) CEdit:OnKillFocus(pNewWnd);int iID=this-GetDlgCtrlID();switch(m_ioXKill)case RETURNKILL:ASSERT(this-m_ioXpoplist!=NULL);if(m_ioXpoplist-IsWindowVisible()&m_ioXpoplist-GetSelectedM

4、ark()=0)this-m_ioXpoplist-ShowWindow(SW_ioXHIDE);CGeneralEdit edit;edit=(CGeneralEdit )this-GetParent()-GetDlgItem(IDC_ioXEDIT_ioXKHNAME);edit-SetValueUnOnChange(m_ioXpoplist-GetListCtrlSel(1);edit-Invalidate();edit=(CGeneralEdit )this-GetParent()-GetDlgItem(IDC_ioXEDIT_ioXKHID);edit-SetValueUnOnCha

5、nge(m_ioXpoplist-GetListCtrlSel(0);edit-Invalidate();this-m_ioXpoplist-ShowWindow(SW_ioXHIDE);:PostMessage(this-GetParent()-GetParent()-GetSafeHwnd(),MYMESSAGE_ioXXSDJ_ioXSETTHEFOCUS,0,0);break;default:if(pNewWnd!=NULL)if(pNewWnd-GetDlgCtrlID()=m_ioXpoplist-GetDlgCtrlID()|pNewWnd-GetDlgCtrlID()=ID_i

6、oXPOP_iofvISTCTRL);else this-m_ioXpoplist-ShowWindow(SW_ioXHIDE);break;m_ioXKill=NORMALKILL; TODO: Add your message handler code herevoid CGeneralEdit:OnChange() if(m_ioXbSetValue) return;ASSERT(this-m_ioXpoplist!=NULL);CString str;this-GetWindowText(str);int iID=this-GetDlgCtrlID();if(iID=IDC_ioXED

7、IT_ioXKHID)this-m_ioXpoplist-RefreshListCtrlView(0,str);else if(iID=IDC_ioXEDIT_ioXKHNAME)CString id;CWnd editid;editid=this-GetParent()-GetDlgItem(IDC_ioXEDIT_ioXKHID);editid-GetWindowText(id);m_ioXpoplist-RefreshListCtrlView(1,str,id,0);if(!m_ioXpoplist-IsWindowVisible()this-GetWindowRect(&m_ioXre

8、ctWindow);this-m_ioXpoplist-SetShowPosition(this-m_ioXrectWindow,this);m_ioXpoplist-ShowListPop();void CGeneralEdit:SelectPopList(CListCtrlPop poplist)ASSERT(poplist!=NULL);this-m_ioXpoplist=poplist;void CGeneralEdit:OnParentMoved()this-GetWindowRect(&this-m_ioXrectWindow);if(this-m_ioXpoplist-IsWin

9、dowVisible()&this=this-m_ioXpoplist-GetCurEditWnd()this-m_ioXpoplist-SetShowPosition(m_ioXrectWindow,this);this-m_ioXpoplist-ShowListPop();void CGeneralEdit:SetValueUnOnChange(CString text)this-m_ioXbSetValue=true;this-SetWindowText(text);this-m_ioXbSetValue=false;void CGeneralEdit:OnPaint() CPaintD

10、C dc(this); device context for paintingCRect rect;this-GetClientRect(&rect);dc.FillSolidRect(&rect,RGB(254,254,254);dc.MoveTo(rect.left,rect.bottom-8);dc.LineTo(rect.right,rect.bottom-8);CString str;this-GetWindowText(str);CFont font=this-GetFont();dc.SelectObject(font);dc.TextOut(0,0,str);/Machine

11、generated IDispatch wrapper class(es) created by Microsoft Visual C+/NOTE: Do not modify the contents of this file. If this class is regenerated by/Microsoft Visual C+, your modifications will be overwritten.#include stdafx.h#include vcframe.h/Dispatch interfaces referenced by this interface#include

12、 VcColor.h CVcFrame properties CVcFrame operationslong CVcFrame:GetStyle()long result;InvokeHelper(0x1, DISPATCH_ioXPROPERTYGET, VT_ioXI4, (void)&result, NULL);return result;void CVcFrame:SetStyle(long nNewValue)static BYTE parms =VTS_ioXI4;InvokeHelper(0x1, DISPATCH_ioXPROPERTYPUT, VT_ioXEMPTY, NUL

13、L, parms, nNewValue);CVcColor CVcFrame:GetFrameColor()LPDISPATCH pDispatch;InvokeHelper(0x2, DISPATCH_ioXPROPERTYGET, VT_ioXDISPATCH, (void)&pDispatch, NULL);return CVcColor(pDispatch);CVcColor CVcFrame:GetSpaceColor()LPDISPATCH pDispatch;InvokeHelper(0x3, DISPATCH_ioXPROPERTYGET, VT_ioXDISPATCH, (v

14、oid)&pDispatch, NULL);return CVcColor(pDispatch);float CVcFrame:GetWidth()float result;InvokeHelper(0x4, DISPATCH_ioXPROPERTYGET, VT_ioXR4, (void)&result, NULL);return result;void CVcFrame:SetWidth(float newValue)static BYTE parms =VTS_ioXR4;InvokeHelper(0x4, DISPATCH_ioXPROPERTYPUT, VT_ioXEMPTY, NULL, parms, newValue); /xkh.cpp : implementation file#include stdafx.h#include khmanager.h#include xkh.h#include ado.h#ifdef _ioXDEBUG#define new DEBUG_ioXNEW#undef THIS_ioXFILEstatic char THIS_ioXFILE = _ioXFILE_ioX;#endif

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1