MSG_WM_CREATE 
LRESULT OnCreate(LPCREATESTRUCT lpCreateStruct); 
MSG_WM_INITDIALOG 
LRESULT OnInitDialog(HWND hWnd, LPARAM lParam); 
MSG_WM_COPYDATA 
LRESULT OnCopyData(HWND hWnd, PCOPYDATASTRUCT pCopyDataStruct); 
MSG_WM_DESTROY 
void OnDestroy(); 
MSG_WM_MOVE 
void OnMove(CPoint point); 
MSG_WM_SIZE 
void OnSize(UINT nType, CSize size); 
MSG_WM_ACTIVATE 
void OnActivate(UINT nState, BOOL bMinimized, HWND hWnd); 
MSG_WM_SETFOCUS 
void OnSetFocus(HWND hWnd); 
MSG_WM_KILLFOCUS 
void OnKillFocus(HWND hWnd); 
MSG_WM_ENABLE 
void OnEnable(BOOL bEnable); 
MSG_WM_PAINT 
void OnPaint(HDC /*hDC*/); 
MSG_WM_CLOSE 
void OnClose(); 
MSG_WM_QUERYENDSESSION 
LRESULT OnQueryEndSession(UINT reserved, UINT nOption); 
MSG_WM_QUERYOPEN 
LRESULT OnQueryOpen(); 
MSG_WM_ERASEBKGND 
LRESULT OnEraseBkgnd(HDC hDC); 
MSG_WM_SYSCOLORCHANGE 
void OnSysColorChange(); 
MSG_WM_ENDSESSION 
void OnEndSession(BOOL bEnding, UINT nOption); 
MSG_WM_SHOWWINDOW 
void OnShowWindow(BOOL bShow, int nStatus); 
MSG_WM_CTLCOLOREDIT 
LRESULT OnCtlColorEdit(HDC hDC, HWND hWnd); 
MSG_WM_CTLCOLORLISTBOX 
LRESULT OnCtlColorListbox(HDC hDC, HWND hWnd); 
MSG_WM_CTLCOLORBTN 
LRESULT OnCtlColorBtn(HDC hDC, HWND hWnd); 
MSG_WM_CTLCOLORDLG 
LRESULT OnCtlColorDlg(HDC hDC, HWND hWnd); 
MSG_WM_CTLCOLORSCROLLBAR 
LRESULT OnCtlColorScrollbar(HDC hDC, HWND hWnd); 
MSG_WM_CTLCOLORSTATIC 
LRESULT OnCtlColorStatic(HDC hDC, HWND hWnd); 
MSG_WM_SETTINGCHANGE 
void OnSettingChange(UINT nFlag, LPCTSTR lpSetting); 
MSG_WM_DEVMODECHANGE 
void OnDevModeChange(LPCTSTR lpDeviceName); 
MSG_WM_ACTIVATEAPP 
void OnActivateApp(BOOL bActive, DWORD dwThreadID); 
MSG_WM_FONTCHANGE 
void OnFontChange(); 
MSG_WM_TIMECHANGE 
void OnTimeChange(); 
MSG_WM_CANCELMODE 
void OnCancelMode(); 
MSG_WM_SETCURSOR 
LRESULT OnSetCursor(HWND hWnd, UINT nHitTest, UINT nMessage); 
MSG_WM_MOUSEACTIVATE 
LRESULT OnMouseActivate(HWND hWnd, UINT nHitTest, UINT nMessage); 
MSG_WM_CHILDACTIVATE 
void OnChildActivate(); 
MSG_WM_GETMINMAXINFO 
void OnGetMinMaxInfo(LPMINMAXINFO lpMMI); 
MSG_WM_ICONERASEBKGND 
void OnIconEraseBkgnd(HDC hDC); 
MSG_WM_SPOOLERSTATUS 
void OnSpoolerStatus(UINT nStatus, UINT nJobs); 
MSG_WM_DRAWITEM 
void OnDrawItem(UINT nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct); 
MSG_WM_MEASUREITEM 
void OnMeasureItem(UINT nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct); 
MSG_WM_DELETEITEM 
void OnDeleteItem(UINT nIDCtl, LPDELETEITEMSTRUCT lpDeleteItemStruct); 
MSG_WM_CHARTOITEM 
LRESULT OnCharToItem(UINT nChar, UINT nIndex, HWND hWnd); 
MSG_WM_VKEYTOITEM 
LRESULT OnVKeyToItem(UINT nChar, UINT nIndex, HWND hWnd); 
MSG_WM_QUERYDRAGICON 
LRESULT OnQueryDragIcon(); 
MSG_WM_COMPAREITEM 
LRESULT OnCompareItem(UINT nIDCtl, LPCOMPAREITEMSTRUCT lpCompareItemStruct); 
MSG_WM_COMPACTING 
void OnCompacting(UINT nCpuTime); 
MSG_WM_NCCREATE 
LRESULT OnNcCreate(LPCREATESTRUCT lpCreateStruct); 
MSG_WM_NCDESTROY 
void OnNcDestroy(); 
MSG_WM_NCCALCSIZE 
LRESULT OnNcCalcSize(BOOL bCalcValidRects, LPARAM lParam); 
MSG_WM_NCHITTEST 
LRESULT OnNcHitTest(CPoint point); 
MSG_WM_NCPAINT 
void OnNcPaint(HRGN hRgn); 
MSG_WM_NCACTIVATE 
LRESULT OnNcActivate(BOOL bActive); 
MSG_WM_GETDLGCODE 
LRESULT OnGetDlgCode(LPMSG lpMsg); 
MSG_WM_NCMOUSEMOVE 
void OnNcMouseMove(UINT nHitTest, CPoint point); 
MSG_WM_NCLBUTTONDOWN 
void OnNcLButtonDown(UINT nHitTest, CPoint point); 
MSG_WM_NCLBUTTONUP 
void OnNcLButtonUp(UINT nHitTest, CPoint point); 
MSG_WM_NCLBUTTONDBLCLK 
void OnNcLButtonDblClk(UINT nHitTest, CPoint point); 
MSG_WM_NCRBUTTONDOWN 
void OnNcRButtonDown(UINT nHitTest, CPoint point); 
MSG_WM_NCRBUTTONUP 
void OnNcRButtonUp(UINT nHitTest, CPoint point); 
MSG_WM_NCRBUTTONDBLCLK 
void OnNcRButtonDblClk(UINT nHitTest, CPoint point); 
MSG_WM_NCMBUTTONDOWN 
void OnNcMButtonDown(UINT nHitTest, CPoint point); 
MSG_WM_NCMBUTTONUP 
void OnNcMButtonUp(UINT nHitTest, CPoint point); 
MSG_WM_NCMBUTTONDBLCLK 
void OnNcMButtonDblClk(UINT nHitTest, CPoint point); 
MSG_WM_KEYDOWN 
void OnKeyDown(TCHAR vkey, UINT repeats, UINT code); 
MSG_WM_KEYUP 
void OnKeyUp(TCHAR vkey, UINT repeats, UINT code); 
MSG_WM_CHAR 
void OnChar(TCHAR vkey, UINT repeats, UINT code); 
MSG_WM_DEADCHAR 
void OnDeadChar(TCHAR vkey, UINT repeats, UINT code); 
MSG_WM_SYSKEYDOWN 
void OnSysKeyDown(TCHAR vkey, UINT repeats, UINT code); 
MSG_WM_SYSKEYUP 
void OnSysKeyUp(TCHAR vkey, UINT repeats, UINT code); 
MSG_WM_SYSCHAR 
void OnSysChar(TCHAR vkey, UINT repeats, UINT code); 
MSG_WM_SYSDEADCHAR 
void OnSysDeadChar(TCHAR vkey, UINT repeats, UINT code); 
MSG_WM_SYSCOMMAND 
void OnSysCommand(UINT nID, CPoint point); 
MSG_WM_TCARD 
void OnTCard(UINT idAction, DWORD dwActionData); 
MSG_WM_TIMER 
void OnTimer(UINT nIDEvent, TIMERPROC lpTimerFunc); 
MSG_WM_HSCROLL 
void OnHScroll(int nSBCode, short nPos, HWND hWnd); 
MSG_WM_VSCROLL 
void OnVScroll(int nSBCode, short nPos, HWND hWnd); 
MSG_WM_INITMENU 
void OnInitMenu(HMENU hMenu); 
MSG_WM_INITMENUPOPUP 
void OnInitMenuPopup(HMENU hMenu, UINT nIndex, BOOL bSysMenu); 
MSG_WM_MENUSELECT 
void OnMenuSelect(UINT nItemID, UINT nFlags, HMENU hSysMenu); 
MSG_WM_MENUCHAR 
LRESULT OnMenuChar(TCHAR Char, UINT nFlags, HMENU hMenu); 
MSG_WM_NOTIFY 
LRESULT OnNotify(int nID, LPNMHDR pnmh); 
MSG_WM_ENTERIDLE 
void OnEnterIdle(UINT nWhy, HWND hWnd); 
MSG_WM_MOUSEMOVE 
void OnMouseMove(UINT nFlags, CPoint point); 
MSG_WM_MOUSEWHEEL 
LRESULT OnMouseWheel(UINT nFlags, short zDelta, CPoint point); 
MSG_WM_LBUTTONDOWN 
void OnLButtonDown(UINT nFlags, CPoint point); 
MSG_WM_LBUTTONUP 
void OnLButtonUp(UINT nFlags, CPoint point); 
MSG_WM_LBUTTONDBLCLK 
void OnLButtonDblClk(UINT nFlags, CPoint point); 
MSG_WM_RBUTTONDOWN 
void OnRButtonDown(UINT nFlags, CPoint point); 
MSG_WM_RBUTTONUP 
void OnRButtonUp(UINT nFlags, CPoint point); 
MSG_WM_RBUTTONDBLCLK 
void OnRButtonDblClk(UINT nFlags, CPoint point); 
MSG_WM_MBUTTONDOWN 
void OnMButtonDown(UINT nFlags, CPoint point); 
MSG_WM_MBUTTONUP 
void OnMButtonUp(UINT nFlags, CPoint point); 
MSG_WM_MBUTTONDBLCLK 
void OnMButtonDblClk(UINT nFlags, CPoint point); 
MSG_WM_PARENTNOTIFY 
void OnParentNotify(UINT nMsg, UINT nID, LPARAM lParam); 
MSG_WM_MDIACTIVATE 
void OnMDIActivate(HWND hWndDeactivate, HWND hWndActivate); 
MSG_WM_RENDERFORMAT 
void OnRenderFormat(UINT nFormat); 
MSG_WM_RENDERALLFORMATS 
void OnRenderAllFormats(); 
MSG_WM_DESTROYCLIPBOARD 
void OnDestroyClipboard(); 
MSG_WM_DRAWCLIPBOARD 
void OnDrawClipboard(); 
MSG_WM_PAINTCLIPBOARD 
void OnPaintClipboard(HWND hWnd, const LPPAINTSTRUCT pPaintStruct); 
MSG_WM_VSCROLLCLIPBOARD 
void OnVScrollClipboard(HWND hWnd, UINT nSBCode, UINT nPos); 
MSG_WM_CONTEXTMENU 
void OnContextMenu(HWND hWnd, CPoint pos); 
MSG_WM_SIZECLIPBOARD 
void OnSizeClipboard(HWND hWnd, const LPRECT rect); 
MSG_WM_ASKCBFORMATNAME 
void OnAskCbFormatName(DWORD dwMaxCount, LPTSTR lpszString); 
MSG_WM_CHANGECBCHAIN 
void OnChangeCbChain(HWND hWndRemove, HWND hWndAfter); 
MSG_WM_HSCROLLCLIPBOARD 
void OnHScrollClipboard(HWND hWnd, UINT nSBCode, UINT nPos); 
MSG_WM_QUERYNEWPALETTE 
LRESULT OnQueryNewPalette(); 
MSG_WM_PALETTECHANGED 
void OnPaletteChanged(HWND hWnd); 
MSG_WM_PALETTEISCHANGING 
void OnPaletteIsChanging(HWND hWnd); 
MSG_WM_DROPFILES 
void OnDropFiles(HDROP hDropInfo); 
MSG_WM_WINDOWPOSCHANGING 
void OnWindowPosChanging(LPWINDOWPOS lpwndpos); 
MSG_WM_WINDOWPOSCHANGED 
void OnWindowPosChanged(LPWINDOWPOS lpwndpos); 
MSG_WM_EXITMENULOOP 
void OnExitMenuLoop(BOOL bIsTrackPopupMenu); 
MSG_WM_ENTERMENULOOP 
void OnEnterMenuLoop(BOOL bIsTrackPopupMenu); 
MSG_WM_STYLECHANGED 
void OnStyleChanged(UINT nStyleType, LPSTYLESTRUCT lpStyleStruct); 
MSG_WM_STYLECHANGING 
void OnStyleChanging(UINT nStyleType, LPSTYLESTRUCT lpStyleStruct); 
MSG_WM_SIZING 
void OnSizing(UINT nSide, LPRECT lpRect); 
MSG_WM_MOVING 
void OnMoving(UINT nSide, LPRECT lpRect); 
MSG_WM_CAPTURECHANGED 
void OnCaptureChanged(HWND hWnd); 
MSG_WM_DEVICECHANGE 
LRESULT OnDeviceChange(UINT nEventType, DWORD dwData); 
MSG_WM_COMMAND 
void OnCommand(UINT nCode, int nID, HWND hWnd); 
MSG_WM_DISPLAYCHANGE 
void OnDisplayChange(UINT nDepth, CSize size); 
MSG_WM_ENTERSIZEMOVE 
void OnEnterSizeMove(); 
MSG_WM_EXITSIZEMOVE 
void OnExitSizeMove(); 
MSG_WM_GETFONT 
LRESULT OnGetFont(); 
MSG_WM_GETHOTKEY 
LRESULT OnGetHotKey(); 
MSG_WM_GETICON 
LRESULT OnGetIcon(UINT nType); 
MSG_WM_GETTEXT 
LRESULT OnGetText(int nSize, LPTSTR lpBuffer); 
MSG_WM_GETTEXTLENGTH 
LRESULT OnGetTextLength(); 
MSG_WM_HELP 
void OnHelp(LPHELPINFO lpHelpInfo); 
MSG_WM_HOTKEY 
void OnHotKey(int nID, UINT nOption, UINT nCode); 
MSG_WM_INPUTLANGCHANGE 
void OnInputLangChange(DWORD dwCharset, HKL hkl); 
MSG_WM_INPUTLANGCHANGEREQUEST 
void OnInputLangChangeRequest(BOOL bFlag, HKL hkl); 
MSG_WM_NEXTDLGCTL 
void OnNextDlgCtl(BOOL bUsage, WPARAM wParam); 
MSG_WM_NEXTMENU 
void OnNextMenu(int nCode, LPMDINEXTMENU lpMDINextMenu); 
MSG_WM_NOTIFYFORMAT 
LRESULT OnNotifyFormat(HWND hWnd, int nCommand); 
MSG_WM_POWERBROADCAST 
LRESULT OnPowerBroadcast(DWORD dwEvent, DWORD dwData); 
MSG_WM_PRINT 
void OnPrint(HDC hDC, UINT nOption); 
MSG_WM_PRINTCLIENT 
void OnPrintClient(HDC hDC, UINT nOption); 
MSG_WM_RASDIALEVENT 
void OnRASDialEvent(RASCONNSTATE rasconnstate, DWORD dwError); 
MSG_WM_SETFONT 
void OnSetFont(HFONT hFont, BOOL bRedraw); 
MSG_WM_SETHOTKEY 
LRESULT OnSetHotKey(int nCode, UINT nOption); 
MSG_WM_SETICON 
LRESULT OnSetIcon(UINT nType, HICON hIcon); 
MSG_WM_SETREDRAW 
void OnSetRedraw(BOOL bRedraw); 
MSG_WM_SETTEXT 
LRESULT OnSetText(LPCTSTR lpString); 
MSG_WM_USERCHANGED 
void OnUserChanged(); 
MSG_WM_MOUSEHOVER 
void OnMouseHover(WPARAM wParam, CPoint point); 
MSG_WM_MOUSELEAVE 
void OnMouseLeave(); 
MSG_WM_MENURBUTTONUP 
void OnMenuRButtonUp(WPARAM wParam, HMENU hMenu); 
MSG_WM_MENUDRAG 
LRESULT OnMenuDrag(WPARAM wParam, HMENU hMenu); 
MSG_WM_MENUGETOBJECT 
LRESULT OnMenuGetObject(PMENUGETOBJECTINFO pMGOI); 
MSG_WM_UNINITMENUPOPUP 
void OnUninitMenuPopup(UINT nID, HMENU hMenu); 
MSG_WM_MENUCOMMAND 
void OnMenuCommand(WPARAM wParam, HMENU hMenu); 
MSG_WM_APPCOMMAND 
void OnAppCommand(HWND hWnd, short cmd, WORD device, int key); 
MSG_WM_NCXBUTTONDOWN 
void OnNcXButtonDown(int button, short hittest, CPoint pos); 
MSG_WM_NCXBUTTONUP 
void OnNcXButtonUp(int button, short hittest, CPoint pos); 
MSG_WM_NCXBUTTONDBLCLK 
void OnNcXButtonDblClk(int button, short hittest, CPoint pos); 
MSG_WM_XBUTTONDOWN 
void OnXButtonDown(int button, int key, CPoint pos); 
MSG_WM_XBUTTONUP 
void OnXButtonUp(int button, int key, CPoint pos); 
MSG_WM_XBUTTONDBLCLK 
void OnXButtonDblClk(int button, int key, CPoint pos); 
MSG_WM_CHANGEUISTATE 
void OnChangeUIState(WORD action, WORD flag); 
MSG_WM_UPDATEUISTATE 
void OnUpdateUIState(WORD action, WORD flag); 
MSG_WM_QUERYUISTATE 
LRESULT OnQueryUIState(); 
MSG_WM_INPUT 
void OnInput(WPARAM code, HRAWINPUT hRawInput); 
MSG_WM_UNICHAR 
void OnUniChar(TCHAR vkey, UINT repeats, UINT code); 
MSG_WM_WTSSESSION_CHANGE 
void OnWTSSession_Change(WPARAM wCode, PWTSSESSION_NOTIFICATION pWTSSN); 
MSG_WM_THEMECHANGED 
void OnThemeChanged(); 
MSG_WM_FORWARDMSG 
LRESULT OnForwardMsg(LPMSG lpMsg, DWORD dwUserData); 
MSG_DM_GETDEFID 
LRESULT OnGetDefID(); 
MSG_DM_SETDEFID 
void OnSetDefID(UINT nID); 
MSG_DM_REPOSITION 
void OnReposition(); 
MSG_OCM_COMMAND 
void OnCommand(UINT nCode, int nID, HWND hWnd); 
MSG_OCM_NOTIFY 
LRESULT OnNotify(int nID, LPNMHDR pnmh); 
MSG_OCM_PARENTNOTIFY 
void OnParentNotify(UINT nMsg, UINT nID, LPARAM lParam); 
MSG_OCM_DRAWITEM 
void OnDrawItem(UINT nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct); 
MSG_OCM_MEASUREITEM 
void OnMeasureItem(UINT nIDCtl, LPMEASUREITEMSTRUCT lpMeasureItemStruct); 
MSG_OCM_COMPAREITEM 
LRESULT OnCompareItem(UINT nIDCtl, LPCOMPAREITEMSTRUCT lpCompareItemStruct); 
MSG_OCM_DELETEITEM 
void OnDeleteItem(UINT nIDCtl, LPDELETEITEMSTRUCT lpDeleteItemStruct); 
MSG_OCM_VKEYTOITEM 
LRESULT OnVKeyToItem(UINT nChar, UINT nIndex, HWND hWnd); 
MSG_OCM_CHARTOITEM 
LRESULT OnCharToItem(UINT nChar, UINT nIndex, HWND hWnd); 
MSG_OCM_HSCROLL 
void OnHScroll(int nSBCode, short nPos, HWND hWnd); 
MSG_OCM_VSCROLL 
void OnVScroll(int nSBCode, short nPos, HWND hWnd); 
MSG_OCM_CTLCOLOREDIT 
LRESULT OnCtlColorEdit(HDC hDC, HWND hWnd); 
MSG_OCM_CTLCOLORLISTBOX 
LRESULT OnCtlColorListbox(HDC hDC, HWND hWnd); 
MSG_OCM_CTLCOLORBTN 
LRESULT OnCtlColorBtn(HDC hDC, HWND hWnd); 
MSG_OCM_CTLCOLORDLG 
LRESULT OnCtlColorDlg(HDC hDC, HWND hWnd); 
MSG_OCM_CTLCOLORSCROLLBAR 
LRESULT OnCtlColorScrollbar(HDC hDC, HWND hWnd); 
MSG_OCM_CTLCOLORSTATIC 
LRESULT OnCtlColorStatic(HDC hDC, HWND hWnd); 
MSG_WM_CLEAR 
void OnClear(); 
MSG_WM_COPY 
void OnCopy(); 
MSG_WM_CUT 
void OnCut(); 
MSG_WM_PASTE 
void OnPaste(); 
MSG_WM_UNDO 
void OnUndo(); 
以上是从别的地方转的,下面是补充: 
命令消息: 
COMMAND_HANDLER_EX(id, code, OnFunc) 
COMMAND_ID_HANDLER_EX(id, OnFunc) 
COMMAND_CODE_HANDLER_EX(code, OnFunc) 
COMMAND_RANGE_HANDLER_EX(idFirst, idLast, OnFunc) 
COMMAND_RANGE_CODE_HANDLER_EX(idFirst, idLast, code, OnFunc) 
void OnFunc(UINT uNotifyCode, int nID, HWND hWndCtl); 
通知消息: 
NOTIFY_HANDLER_EX(id, cd, OnNotifyFunc) 
NOTIFY_ID_HANDLER_EX(id, OnNotifyFunc) 
NOTIFY_CODE_HANDLER_EX(cd, OnNotifyFunc) 
NOTIFY_RANGE_HANDLER_EX(idFirst, idLast, OnNotifyFunc) 
NOTIFY_RANGE_CODE_HANDLER_EX(idFirst, idLast, cd, OnNotifyFunc) 
LRESULT OnNotifyFunc(LPNMHDR nmhdr);

WTL消息以及处理函数声明的更多相关文章

  1. C语言中函数声明实现的位置

    在学习C语言的时候我遇到了这么个事情,因为之前先学习的C#,在C#编译器中,函数的声明位置不会影响编译的结果,但是在C语言中却发生了错误 先看一段代码: #include <stdio.h> ...

  2. 第七章 函数表达式和函数声明,关于this对象 ,私有作用域(function(){})() ,私有变量和特权方法

    一:函数表达式和函数声明 1:函数声明和函数表达式的区别 ①函数声明不需要分号结尾 ②函数声明有函数提升的特点 ③函数声明后面不能跟圆括号直接调用,因为javascript将function关键字当作 ...

  3. 使用 c++ 模板显示实例化解决模板函数声明与实现分离的问题

    问题背景 开始正文之前,做一些背景铺垫,方便读者了解我的工程需求.我的项目是一个客户端消息分发中心,在连接上消息后台后,后台会不定时的给我推送一些消息,我再将它们转发给本机的其它桌面产品去做显示.后台 ...

  4. Js 变量声明提升和函数声明提升

    Js代码分为两个阶段:编译阶段和执行阶段 Js代码的编译阶段会找到所有的声明,并用合适的作用域将它们关联起来,这是词法作用域的核心内容 包括变量声明(var a)和函数声明(function a(){ ...

  5. JavaScript 中对变量和函数声明的“提前”

    变量声明“被提前” JavaScript 的语法和 C .Java.C# 类似,统称为 C 类语法.有过 C 或 Java 编程经验的同学应该对“先声明.后使用”的规则很熟悉,如果使用未经声明的变量或 ...

  6. js函数表达式和函数声明的区别

    我们已经知道,在任意代码片段外部添加包装函数,可以将内部的变量和函数定义"隐 藏"起来,外部作用域无法访问包装函数内部的任何内容. 例如: var a = 2; function ...

  7. javascript中函数声明和函数表达式浅析

    记得在面试腾讯实习生的时候,面试官问了我这样一道问题. //下述两种声明方式有什么不同 function foo(){}; var bar = function foo(){}; 当初只知道两种声明方 ...

  8. JS中的函数声明错误

      这个问题是JS的函数声明形参部分不带var. ( 额,基础不扎实.)

  9. JavaScript 函数声明,函数表达式,匿名函数,立即执行函数之区别

    函数声明:function fnName () {-};使用function关键字声明一个函数,再指定一个函数名,叫函数声明. 函数表达式 var fnName = function () {-};使 ...

随机推荐

  1. MVC 之下载 我的实践

    Controller 1. public ActionResult DownLoad(string path,string fileName) { return File(new FileStream ...

  2. 通过linux的iso镜像安装(RPM)扩展工具包

    通过linux的iso镜像安装(RPM)扩展工具包 在linux安装软件时,现在越来越流行通过rpm指令安装完成,原因是:采用RPM安装简单方便:越来越多的软件提供RPM安装包:linux的IOS镜像 ...

  3. IOS 加载网络图片2

    //1. NSData dataWithContentsOfURL // [self.icon setImage:[UIImage imageWithData:[NSData dataWithCont ...

  4. POJ 2104:K-th Number(整体二分)

    http://poj.org/problem?id=2104 题意:给出n个数和m个询问求区间第K小. 思路:以前用主席树做过,这次学整体二分来做.整体二分在yr大佬的指点下,终于大概懂了点了.对于二 ...

  5. 解决mac-osx10.11下无法安装wxPython2.8-osx-unicode-2.8.12.1的问题

    在mac-osx10.11版本下,安装RIDE前提需要装wxPython2.8-osx-unicode-2.8.12.1库,但在安装wxPython过程中,会提示安装失败,以下提供一种解决方案 这里我 ...

  6. myeclipse里如何添加mysql数据库

    首先声明,这只是我本人的一些经验,不代表任何集体和个人的利益,请勿没事就当喷子来喷我.我希望对一些对这方面学习的朋友有帮助,当然,我自己也是菜鸟级别啦!!!!!!!!!!!! 首先是电脑必要安装了my ...

  7. C# 语言规范_版本5.0 (第14章 枚举)

    1. 枚举 枚举类型 (enum type) 是一种独特的值类型(第 4.1 节),它用于声明一组命名的常量. 下面的示例 enum Color { Red, Green, Blue } 声明一个名为 ...

  8. web前端-雅虎34条规则优化

    1.尽量减少HTTP请求次数      终端用户响应的时间中,有80%用于下载各项内容.这部分时间包括下载页面中的图像.样式表.脚本.Flash等.通过减少页面中的元素可以减少HTTP请求的次数.这是 ...

  9. javascript函数作用域实践

    在es6之前,JavaScript是没有块级作用域的,只有函数作用域,也就是说是一个function里面定义的变量外面取不到的:而if for是条件判断的语句,不是函数,由于缺少块级作用域,所以条件中 ...

  10. C# 常用接口学习 IEnumerable<T>

    作者:乌龙哈里 时间:2015-10-24 平台:Window7 64bit,Visual Studio Community 2015 本文参考: MSDN IEnumerable<T> ...