锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲电影网站,欧美高清hd18日本,亚洲精品久久视频http://m.shnenglu.com/zhcen/C/C++zh-cnSun, 16 Nov 2025 16:45:34 GMTSun, 16 Nov 2025 16:45:34 GMT60Window Superclassinghttp://m.shnenglu.com/zhcen/archive/2008/06/01/51768.html闄堟尟杈?/dc:creator>闄堟尟杈?/author>Sun, 01 Jun 2008 09:39:00 GMThttp://m.shnenglu.com/zhcen/archive/2008/06/01/51768.htmlhttp://m.shnenglu.com/zhcen/comments/51768.htmlhttp://m.shnenglu.com/zhcen/archive/2008/06/01/51768.html#Feedback0http://m.shnenglu.com/zhcen/comments/commentRss/51768.htmlhttp://m.shnenglu.com/zhcen/services/trackbacks/51768.htmlSuperclassing is a technique that allows an application to create a new window class with the basic functionality of the existing class, plus enhancements provided by the application. A superclass is based on an existing window class called the base class. Frequently, the base class is a system global window class such as an edit control, but it can be any window class.

A superclass has its own window procedure, called the superclass procedure. The superclass procedure can take three actions upon receiving a message: It can pass the message to the original window procedure, modify the message and pass it to the original window procedure, or process the message and not pass it to the original window procedure. If the superclass procedure processes a message, it can do so before, after, or both before and after it passes the message to the original window procedure.

Unlike a subclass procedure, a superclass procedure can process window creation messages (WM_NCCREATE, WM_CREATE, and so on), but it must also pass them to the original base-class window procedure so that the base-class window procedure can perform its initialization procedure.

To superclass a window class, an application first calls the GetClassInfo function to retrieve information about the base class. GetClassInfo fills a WNDCLASS structure with the values from the WNDCLASS structure of the base class. Next, the application copies its own instance handle into the hInstance member of the WNDCLASS structure and copies the name of the superclass into the lpszClassName member. If the base class has a menu, the application must provide a new menu with the same menu identifiers and copy the menu name into the lpszMenuName member. If the superclass procedure processes the WM_COMMAND message and does not pass it to the window procedure of the base class, the menu need not have corresponding identifiers. GetClassInfo does not return the lpszMenuName, lpszClassName, or hInstance member of the WNDCLASS structure.

An application must also set the lpfnWndProc member of the WNDCLASS structure. The GetClassInfo function fills this member with the address of the original window procedure for the class. The application must save this address, to pass messages to the original window procedure, and then copy the address of the superclass procedure into the lpfnWndProc member. The application can, if necessary, modify any other members of the WNDCLASS structure. After it fills the WNDCLASS structure, the application registers the superclass by passing the address of the structure to the RegisterClass function. The superclass can then be used to create windows.

Because superclassing registers a new window class, an application can add to both the extra class bytes and the extra window bytes. The superclass must not use the original extra bytes for the base class or the window for the same reasons that an instance subclass or a global subclass should not use them. Also, if the application adds extra bytes for its use to either the class or the window instance, it must reference the extra bytes relative to the number of extra bytes used by the original base class. Because the number of bytes used by the base class may vary from one version of the base class to the next, the starting offset for the superclass's own extra bytes may also vary from one version of the base class to the next.



]]>
Destroy modeless dialog boxhttp://m.shnenglu.com/zhcen/archive/2008/04/14/47017.html闄堟尟杈?/dc:creator>闄堟尟杈?/author>Mon, 14 Apr 2008 02:19:00 GMThttp://m.shnenglu.com/zhcen/archive/2008/04/14/47017.htmlhttp://m.shnenglu.com/zhcen/comments/47017.htmlhttp://m.shnenglu.com/zhcen/archive/2008/04/14/47017.html#Feedback3http://m.shnenglu.com/zhcen/comments/commentRss/47017.htmlhttp://m.shnenglu.com/zhcen/services/trackbacks/47017.htmlWhen you implement a modeless dialog box, always override the OnCancel member function and call DestroyWindow from within   it. Don’t call the base class CDialog::OnCancel, because it calls EndDialog, which will make the dialog box invisible but will not destroy it. 
         You should also override PostNcDestroy for modeless dialog boxes in order to delete this, since modeless dialog boxes are usually allocated with new. Modal dialog boxes are usually constructed on the frame and do not need PostNcDestroy cleanup.

]]>
Z-Orderhttp://m.shnenglu.com/zhcen/archive/2008/04/07/zhcen20080408.html闄堟尟杈?/dc:creator>闄堟尟杈?/author>Mon, 07 Apr 2008 06:24:00 GMThttp://m.shnenglu.com/zhcen/archive/2008/04/07/zhcen20080408.htmlZ-Order

The z-order of a window indicates the window's position in a stack of overlapping windows. This window stack is oriented along an imaginary axis, the z-axis, extending outward from the screen. The window at the top of the z-order overlaps all other windows. The window at the bottom of the z-order is overlapped by all other windows.

The system maintains the z-order in a single list. It adds windows to the z-order based on whether they are topmost windows, top-level windows, or child windows. A topmost window overlaps all other non-topmost windows, regardless of whether it is the active or foreground window. A topmost window has the WS_EX_TOPMOST style. All topmost windows appear in the z-order before any non-topmost windows. A child window is grouped with its parent in z-order.

When an application creates a window, the system puts it at the top of the z-order for windows of the same type. You can use the BringWindowToTop function to bring a window to the top of the z-order for windows of the same type. You can rearrange the z-order by using the SetWindowPos and DeferWindowPos functions.

The user changes the z-order by activating a different window. The system positions the active window at the top of the z-order for windows of the same type. When a window comes to the top of z-order, so do its child windows. You can use the GetTopWindow function to search all child windows of a parent window and return a handle to the child window that is highest in z-order. The GetNextWindow function retrieves a handle to the next or previous window in z-order.



]]>
青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            欧美大片免费久久精品三p | 亚洲视频www| 久久久亚洲影院你懂的| 欧美在线综合| 欧美在线看片| 久久欧美中文字幕| 久久精品五月婷婷| 久久国产精品黑丝| 一区二区三区日韩欧美精品| 亚洲一区二区在| 麻豆亚洲精品| 老司机67194精品线观看| 美玉足脚交一区二区三区图片| 久久精品91久久久久久再现| 久久精品官网| 欧美成人精品h版在线观看| 欧美国产高清| 国产精品日韩精品欧美在线| 狠狠综合久久| 一区二区三区回区在观看免费视频| 亚洲天堂黄色| 久久久999成人| 亚洲黄色在线视频| 一本色道精品久久一区二区三区| 亚洲一区欧美一区| 日韩午夜激情电影| 亚洲丰满在线| 亚洲精品国产精品国自产观看浪潮| 模特精品在线| 99这里只有久久精品视频| 午夜精品福利视频| 欧美福利一区二区| 国产一区二区三区高清播放| 亚洲精品日韩在线观看| 午夜精品美女自拍福到在线| 欧美激情aaaa| 久久国产日韩| 欧美视频福利| 亚洲人成人一区二区在线观看| 香港成人在线视频| 亚洲国产一区二区三区在线播| 亚洲欧美国产三级| 欧美日韩网站| 亚洲黄色高清| 蜜臀久久99精品久久久画质超高清| 一区二区高清视频| 欧美电影在线观看| 国内精品模特av私拍在线观看| 午夜精品久久久久久久男人的天堂| 亚洲第一毛片| 久久免费偷拍视频| 激情六月婷婷综合| 久久久久国产精品厨房| 亚洲欧美成人网| 国产精品美女久久久久久2018| 99国产精品自拍| 亚洲福利视频专区| 欧美sm极限捆绑bd| 91久久综合亚洲鲁鲁五月天| 欧美成人午夜| 浪潮色综合久久天堂| 亚洲第一精品福利| 媚黑女一区二区| 久久久午夜视频| 在线日本成人| 欧美jjzz| 欧美不卡一区| aa国产精品| 一区二区三区日韩精品视频| 国产精品vip| 久久成人一区| 久久久久国产精品一区二区| 亚洲东热激情| 最新日韩中文字幕| 欧美视频在线一区| 欧美一区二区在线看| 欧美一区二区三区免费看| 国户精品久久久久久久久久久不卡| 午夜精品久久久久久久久久久| 亚洲免费在线视频| 狠狠色伊人亚洲综合成人| 久久综合影视| 欧美激情欧美狂野欧美精品| 一区二区三区黄色| 亚洲欧美日韩成人| 樱桃国产成人精品视频| 亚洲黄色性网站| 亚洲一区二区三区高清| 久久亚洲视频| 午夜精品三级视频福利| 欧美激情女人20p| 欧美在线亚洲| 欧美精品二区| 蜜臀av国产精品久久久久| 亚洲第一区色| 欧美专区在线播放| 亚洲视频精品在线| 欧美性色aⅴ视频一区日韩精品| 正在播放日韩| 午夜精品美女久久久久av福利| 一区二区三区我不卡| 亚洲激情电影中文字幕| 国产精品嫩草99av在线| 免费av成人在线| 欧美视频在线观看一区二区| 鲁鲁狠狠狠7777一区二区| 欧美日韩久久久久久| 久久久亚洲综合| 欧美性猛交一区二区三区精品| 噜噜噜躁狠狠躁狠狠精品视频| 欧美日韩一区二区三| 久久久噜久噜久久综合| 欧美日韩免费高清一区色橹橹| 久久人人爽人人爽爽久久| 欧美日韩国产在线观看| 久久嫩草精品久久久精品| 欧美三级不卡| 亚洲丁香婷深爱综合| 国产综合色精品一区二区三区| 99精品国产热久久91蜜凸| 亚洲丰满在线| 久久精品视频免费播放| 亚洲欧美日韩国产综合精品二区| 免费一区二区三区| 久久久av毛片精品| 国产精品久久波多野结衣| 亚洲人成啪啪网站| 亚洲人妖在线| 久久亚洲春色中文字幕| 欧美专区中文字幕| 国产精品99一区| 亚洲国产1区| 亚洲第一搞黄网站| 久久久久九九九| 久久精品系列| 国产女主播一区二区| 亚洲私拍自拍| 亚洲在线免费视频| 国产精品r级在线| 99一区二区| 亚洲午夜羞羞片| 欧美午夜片在线免费观看| 亚洲国产精品传媒在线观看 | 亚洲国产精品久久91精品| 嫩草成人www欧美| 日韩一区二区免费看| 亚洲黄色影片| 久久婷婷久久| 久久国产精品久久久| 亚洲激情影院| 欧美一区二区成人| 日韩视频一区二区在线观看 | 欧美大片一区二区三区| 国产麻豆日韩| 亚洲欧美国产不卡| 久久久久在线观看| 狠狠色综合色区| 麻豆成人小视频| 亚洲乱码国产乱码精品精天堂 | 欧美日韩不卡视频| 亚洲裸体视频| 亚洲欧美日本日韩| 国产三区二区一区久久| 久久精品亚洲乱码伦伦中文| 欧美 日韩 国产在线| 亚洲精品一二三| 欧美天堂亚洲电影院在线观看| 亚洲视频在线看| 久久久精品日韩欧美| 亚洲欧洲一区二区三区久久| 欧美日韩喷水| 久久精品盗摄| 一区二区电影免费在线观看| 久久久久综合网| 日韩一区二区精品视频| 国产欧美精品在线| 欧美大片在线影院| 亚洲欧美另类久久久精品2019| 欧美大片在线观看| 欧美一区二区三区四区夜夜大片 | 亚洲欧美日韩直播| 影音欧美亚洲| 国产精品极品美女粉嫩高清在线| 亚洲福利av| 麻豆精品国产91久久久久久| 国产精品毛片a∨一区二区三区|国| 国产欧美一级| 欧美黄色一区二区| 一本色道久久99精品综合| 国产精品视频免费观看www| 欧美韩国一区| 久久久国产精品亚洲一区 | 亚洲韩国精品一区| 欧美精品日韩www.p站| 亚洲欧美第一页| 亚洲国产99| 久久国产毛片| 亚洲午夜免费视频| 日韩亚洲精品视频| 精品av久久707|