搜索资源列表
Animation-Style_Dialog_Class
- 制作动画的类,很不错的 // construction CAniDialog(UINT nDlgID, CWnd* pParent) CAniDialog(CPoint pt, UINT nDlgID, CWnd* pParent) // operation // access frame number UINT GetFrameNum() const void SetFrameNum(UINT nFrames) // access an
VCjiemian
- ①、重载对话框的消息函数: void OnNcLButtonDown(UINT nHitTest, CPoint point) //单击标题栏时是响应 void OnNcMouseMove(UINT nHitTest, CPoint point) //Mous 在标题移动时响应 LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam) ②、添加关键成员函数为:BOOL D
WM_NCLBUTTONDOWN
- void TransparentWnd::OnLButtonDown(UINT nFlags, CPoint point) { CWnd::OnLButtonDown(nFlags, point) //实现无标题拖动 PostMessage(WM_NCLBUTTONDOWN, HTCAPTION, MAKELPARAM(point.x,point.y)) }-void TransparentWnd : : OnLButtonDown (UINT nF
4
- 学会对文件的记录锁定,及解锁。#include <stdio.h> #include <unistd.h> #include <fcntl.h> int main() { int fd int i struct { char name[20] uint ID int age } myrec fd =open(\"name\", O_RDWR|O_CREAT, 0755)
newasp200611413439593
- int PosFromChar(UINT nChar) // 通过指定的字符获得其x轴的位置 int CharFromPos(int nPosX) // 通过给定的x轴的位置获得相应的字符 void CutString() // 剪切字符串 void PasteString() // 粘贴字符串 void CopyString() // 拷贝字符串 void MakeBKGround(CDC *pDC, COLORREF c
MyCoolMenu22
- void CMyMenu::ChangeToOwnerDraw(CMyMenu *pMyMenu) { CString str //use to hold the caption temporarily CMyMenu* pMenu //use to hold the sub menu CMyMenuData* pMenuData //use to hold the menu data //get the number of the menu items of
moasicmenu
- 1. MyCoolMenu22.zip,18KB,下载 0 次,void CMyMenu::ChangeToOwnerDraw(CMyMenu *pMyMenu) { CString str //use to hold the caption temporarily CMyMenu* pMenu //use to hold the sub menu CMyMenuData* pMenuData //use to hold the menu data //get the number of the
hidemywindows
- 怎么才能使主界面一启动就隐藏窗口 对话框 可以在对话框中重载虚函数DefWindowProc[]。 LRESULT CMyDlg::DefWindowProc[UINT message, WPARAM wParam, LPARAM lParam] { if[message==133] ShowWindow[SW_HIDE] return CDialog::DefWindowProc[message, wParam, lParam]
NumEdit
- VC6,关键就是重载了void CNumberEdit::OnChar(UINT nChar, UINT nRepCnt, UINT nFlags),对键盘响应事件的判断。这样编辑框只接受数字-VC6, the key is a heavy void CNumberEdit:: OnChar (UINT nChar, UINT nRepCnt, UINT nFlags), on the keyboard to respond to events to judge. This edit box t
toolbartest
- 我见过人家的一些工具栏,各有特色,但不人性化. 基于此,我在前人的基础上作了一些改动.使其使用起来和VC中标准的CToolBar有什么两样 主要功能: 能显示24位色(含)以下的各尺寸图标 能设置背景色或背景图 1 将ToolBarEx.cpp和ToolBarEx.h加入到工程 2 在MainFrame.h中包含对ToolBarEx.h的引用 3 将原CToolBar m_wndToolBar改为CToolBarEx m_wndToolBar 4
scroll
- 图片滚动功能,vc++,编写,核心代码,包括整个项目-image scroll ,void CscrollDlg::OnSysCommand(UINT nID, LPARAM lParam)
872017
- 制作动画的类,很不错的 construction CAniDialog UINT nDlgID(Animation classes, good construction CAniDialog UINT nDlgID)
Ankkation-good
- 制作动画的类,很不错的 construction CAniDialog UINT nDlgID(Animation classes, good construction CAniDialog UINT nDlgID)