WTL消息以及处理函数声明
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消息以及处理函数声明的更多相关文章
- C语言中函数声明实现的位置
在学习C语言的时候我遇到了这么个事情,因为之前先学习的C#,在C#编译器中,函数的声明位置不会影响编译的结果,但是在C语言中却发生了错误 先看一段代码: #include <stdio.h> ...
- 第七章 函数表达式和函数声明,关于this对象 ,私有作用域(function(){})() ,私有变量和特权方法
一:函数表达式和函数声明 1:函数声明和函数表达式的区别 ①函数声明不需要分号结尾 ②函数声明有函数提升的特点 ③函数声明后面不能跟圆括号直接调用,因为javascript将function关键字当作 ...
- 使用 c++ 模板显示实例化解决模板函数声明与实现分离的问题
问题背景 开始正文之前,做一些背景铺垫,方便读者了解我的工程需求.我的项目是一个客户端消息分发中心,在连接上消息后台后,后台会不定时的给我推送一些消息,我再将它们转发给本机的其它桌面产品去做显示.后台 ...
- Js 变量声明提升和函数声明提升
Js代码分为两个阶段:编译阶段和执行阶段 Js代码的编译阶段会找到所有的声明,并用合适的作用域将它们关联起来,这是词法作用域的核心内容 包括变量声明(var a)和函数声明(function a(){ ...
- JavaScript 中对变量和函数声明的“提前”
变量声明“被提前” JavaScript 的语法和 C .Java.C# 类似,统称为 C 类语法.有过 C 或 Java 编程经验的同学应该对“先声明.后使用”的规则很熟悉,如果使用未经声明的变量或 ...
- js函数表达式和函数声明的区别
我们已经知道,在任意代码片段外部添加包装函数,可以将内部的变量和函数定义"隐 藏"起来,外部作用域无法访问包装函数内部的任何内容. 例如: var a = 2; function ...
- javascript中函数声明和函数表达式浅析
记得在面试腾讯实习生的时候,面试官问了我这样一道问题. //下述两种声明方式有什么不同 function foo(){}; var bar = function foo(){}; 当初只知道两种声明方 ...
- JS中的函数声明错误
这个问题是JS的函数声明形参部分不带var. ( 额,基础不扎实.)
- JavaScript 函数声明,函数表达式,匿名函数,立即执行函数之区别
函数声明:function fnName () {-};使用function关键字声明一个函数,再指定一个函数名,叫函数声明. 函数表达式 var fnName = function () {-};使 ...
随机推荐
- jQuery datepicker和jQuery validator 共用时bug
当我们给一个元素绑定一个datepick后又要对它用validator进行验证时会发现验证并没有成功 因为当点击该元素时候input弹出datepick的UI就已经失去了焦点它验证的仍然是前一个值, ...
- php 中数据类型
总体划分 8 中 1基本类型(标量) 整型 int 整型的三种写法 <?php $n1 = 123; //10进制 $n2 = 0123; //8进制 $n3 = 0x123;//16进制 // ...
- 【IE6的疯狂之七】样式中文注释后引发失效
这是IE6 出现的奇怪现象.这是由于css 和html 的编码不同所引致. 满足下面条件就会引起 注释下面的样式不起作用:1. css有中文注释2. css为ANSI编码3. html为utf-8编码 ...
- linux重要命令
echo echo命令用于在终端显示字符串或输出变量提取后的值,格式为:"echo [字符串 | $变量]". 将指定字符串输出到终端屏幕: [root@linuxprobe ~] ...
- CodeForces 711A Bus to Udayland
简单题. #pragma comment(linker, "/STACK:1024000000,1024000000") #include<cstdio> #inclu ...
- Java基本知识
一.I/O 分字节流和字符流 字节流由InputStream和OutputStream读入和写入 DataInputStream继承自FilterInputStream,可以读取基本数据类型(char ...
- Delphi关键词
学习的东西越来越多难免会忘记以前的知识,即使是你的大脑很发达也不见得能记得所有的东西,单词,所以做做笔记写写小抄是一个很好的习惯,到需要的时候来翻翻看看,当然个人的作小抄的习惯也不尽相同,这里我自己做 ...
- CCF-CSP 最大的矩形
问题描述 在横轴上放了n个相邻的矩形,每个矩形的宽度是1,而第i(1 ≤ i ≤ n)个矩形的高度是hi.这n个矩形构成了一个直方图.例如,下图中六个矩形的高度就分别是3, 1, 6, 5, 2, 3 ...
- linux awk命令详解2
awk是行处理器: 相比较屏幕处理的优点,在处理庞大文件时不会出现内存溢出或是处理缓慢的问题,通常用来格式化文本信息 awk处理过程: 依次对每一行进行处理,然后输出 awk命令形式: awk [-F ...
- photoshop切图
1.首先需要用photoshop把psd源文件打开,看看源文件的整体布局.源文件是分层的,方便切图的层次. 2.切图的工具叫做"切片",在左侧面板可以看到.右击可以看到" ...