正在加载图片...
VC++ Programming UESTC Chapter 5 The Graphics Device Interface Color and Fonts For example C Wnd my Wnd my Wnd Attach(h Wnd) This makes an entry in the permanent map associating myWnd and hwnd When myW'nd is deleted, the destructor will automaticall destroy the hWnd by calling the Windows Destroy Window function If this is not desired. the hwnd must be detached from myWnd before the myWnd object is destroyed(normally when leaving the scope at which myWnd was defined)VC++ Programming @ UESTC 5 For example: CWnd myWnd; myWnd.Attach(hWnd); This makes an entry in the permanent map associating myWnd and hWnd. When myWnd is deleted, the destructor will automatically destroy the hWnd by calling the Windows DestroyWindow function. If this is not desired, the hWnd must be detached from myWnd before the myWnd object is destroyed (normally when leaving the scope at which myWnd was defined). Chapter 5 The Graphics Device Interface , Color and Fonts
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有