亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? cstatlin.cpp

?? 英文版的 想要的話可以下載了 為大家服務
?? CPP
字號:
/*
 * CSTATLIN.C
 * Sample Code Class Libraries
 *
 * C++ wrapper class for a status line control
 *
 * Copyright (c)1993-1995 Microsoft Corporation, All Rights Reserved
 *
 * Kraig Brockschmidt, Microsoft
 * Internet  :  kraigb@microsoft.com
 * Compuserve:  >INTERNET:kraigb@microsoft.com
 */


#include <windows.h>
#include "classlib.h"


/*
 * CStatusLine::CStatusLine
 * CStatusLine::~CStatusLine
 *
 * Constructor Parameters:
 *  hInst           HINSTANCE of the module we're loaded in.
 */

CStatusLine::CStatusLine(HINSTANCE hInst)
    : CWindow(hInst)
    {
    return;
    }


CStatusLine::~CStatusLine(void)
    {
    return;
    }






/*
 * CStatusLine::Init
 *
 * Purpose:
 *  Initializes a status line object by creating the control that it
 *  owns.
 *
 * Parameters:
 *  hWndParent      HWND of the parent window.  The status line is
 *                  created up from the bottom of this window,
 *                  spanning the entire width of the window.
 *  uID             UINT id of the control.
 *  cy              UINT height to create the control
 *
 * Return Value:
 *  BOOL            TRUE if the function succeeded, FALSE otherwise.
 */

BOOL CStatusLine::Init(HWND hWndParent, UINT uID, UINT cy)
    {
    RECT        rc;

    GetClientRect(hWndParent, &rc);

    m_cy=cy;
    m_hWnd=CreateWindow(CLASS_STATSTRIP, TEXT("Ready")
        , WS_CHILD | WS_VISIBLE, rc.left, rc.top, rc.right-rc.left
        , cy , hWndParent, (HMENU)uID, m_hInst, 0L);

    return (NULL!=m_hWnd);
    }






/*
 * CStatusLine::OnSize
 *
 * Purpose:
 *  Handles parent resizing.  The owner of this window is responsible
 *  to call this function when it wants the status line to resize.  The
 *  status line will automatically occupy a lower strip of CYSTATSTRIP
 *  high on the bottom of the window.
 *
 * Parameters:
 *  hWndParent      HWND of the parent window to which we're resizing
 *
 * Return Value:
 *  None
 */

void CStatusLine::OnSize(HWND hWndParent)
    {
    RECT        rc;

    GetClientRect(hWndParent, &rc);

    SetWindowPos(m_hWnd, NULL, rc.left, rc.bottom-rc.top-CYSTATSTRIP
        , rc.right-rc.left, m_cy, SWP_NOZORDER);

    return;
    }







/*
 * CStatusLine::MessageSet
 *
 * Purpose:
 *  Sets a message in the status line explicitly with a string.
 *
 * Parameters:
 *  pszMsg          LPTSTR to the string to display.
 *
 * Return Value:
 *  None
 */

void CStatusLine::MessageSet(LPTSTR psz)
    {
    SetWindowText(m_hWnd, psz);
    return;
    }





/*
 * CStatusLine::MessageGet
 *
 * Purpose:
 *  Retrieves the current message from the status line
 *
 * Parameters:
 *  psz             LPTSTR in which to return the message.
 *  cchMax          UINT maximum number of characters to copy.
 *
 * Return Value:
 *  UINT            Number of characters copied.
 */

UINT CStatusLine::MessageGet(LPTSTR psz, UINT cchMax)
    {
    return GetWindowText(m_hWnd, psz, cchMax);
    }






/*
 * CStatusLine::MessageGetLength
 *
 * Purpose:
 *  Returns the length of the current message in the status line.
 *
 * Parameters:
 *  None
 *
 * Return Value:
 *  UINT            Number of characters in the current message
 */

UINT CStatusLine::MessageGetLength(void)
    {
    return GetWindowTextLength(m_hWnd);
    }






/*
 * CStatusLine::FontSet
 *
 * Purpose:
 *  Changes the font in the status line.
 *
 * Parameters:
 *  hFont           HFONT of the font to use in the control.
 *  fRedraw         BOOL indicating if the control is to repaint or
 *                  not.
 *
 * Return Value:
 *  None
 */

void CStatusLine::FontSet(HFONT hFont, BOOL fRedraw)
    {
    SendMessage(m_hWnd, WM_SETFONT, (WPARAM)hFont, fRedraw);
    return;
    }





/*
 * CStatusLine::FontGet
 *
 * Purpose:
 *  Retrieves the handle of the current font used in the control.
 *
 * Parameters:
 *  None
 *
 * Return Value:
 *  HFONT           Handle to the current font.
 */

HFONT CStatusLine::FontGet(void)
    {
    return (HFONT)(UINT)SendMessage(m_hWnd, WM_GETFONT, 0, 0L);
    }





/*
 * CStatusLine::Enable
 *
 * Purpose:
 *  Enables or disables the status line window, graying the text if
 *  the control is disabled.
 *
 * Parameters:
 *  fEnable         BOOL specifying to enable (TRUE) or disable
 *
 * Return Value:
 *  None
 */

void CStatusLine::Enable(BOOL fEnable)
    {
    EnableWindow(m_hWnd, fEnable);
    return;
    }





/*
 * CStatusLine::MessageMap
 *
 * Purpose:
 *  Initializes a CStatusLine for automated processing of
 *  WM_MENUSELECT messages as well as setting up a list of messages
 *  that we can display using identifiers instead of string
 *  pointers.  See MenuSelect and MessageDisplay members.
 *
 * Parameters:
 *  hWnd            HWND of the window owning menus.
 *  hInst           HINSTANCE of the app from which to load resources
 *  uIDRMap         UINT identifying a resource mapping ID values to
 *                  string ID values.
 *  idsMin          UINT specifying the lowest string ID to load.
 *  idsMax          UINT specifying the hightest string ID to load.
 *  cchMax          UINT maximum string length.
 *  uIDPopupMin     UINT lowest ID to assign to popup menus.
 *  uIDPopupMax     UINT highest ID to assign to popup menus.
 *  uIDStatic       UINT ID for the quiescent message.
 *  uIDBlank        UINT ID for a blank message.
 *  uIDSysMenu      UINT ID for the system menu.
 *
 * Return Value:
 *  BOOL            TRUE if the function was successful, FALSE
 *                  otherwise.
 */

BOOL CStatusLine::MessageMap(HWND hWnd, HINSTANCE hInst, UINT uIDRMap
    , UINT idsMin, UINT idsMax, UINT cchMax, UINT uIDPopupMin
    , UINT uIDPopupMax, UINT uIDStatic, UINT uIDBlank
    , UINT uIDSysMenu)
    {
    //Initialize all the messages in the status line
    return StatStripMessageMap(m_hWnd, hWnd, hInst, uIDRMap, idsMin
        , idsMax, cchMax, uIDPopupMin, uIDPopupMax, uIDStatic
        , uIDBlank, uIDSysMenu);
    }






/*
 * CStatusLine::MenuSelect
 *
 * Purpose:
 *  Displays the appropriate message for whatever is in the
 *  parameters of a WM_MENUSELECT message.  This can only be called
 *  if StatStripMessageMap has already been called and must be used
 *  with the same menu the owner window had at the time of that call.
 *
 * Parameters:
 *  wParam          WPARAM of the WM_MENUSELECT message.
 *  lParam          LPARAM of the WM_MENUSELECT message.
 *
 * Return Value:
 *  None
 */

void CStatusLine::MenuSelect(WPARAM wParam, LPARAM lParam)
    {
    StatStripMenuSelect(m_hWnd, wParam, lParam);
    return;
    }





/*
 * CStatusLine::MessageDisplay
 *
 * Purpose:
 *  Displays the appropriate message for a given ID value.   This can
 *  only be called if StatStripMessageMap has already been called.
 *
 * Parameters:
 *  uID             UINT of the message to display.
 *
 * Return Value:
 *  None
 */

void CStatusLine::MessageDisplay(UINT uID)
    {
    StatStripMessageDisplay(m_hWnd, uID);
    return;
    }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
yourporn久久国产精品| 亚洲国产精品久久久久婷婷884| 欧美亚洲国产一区二区三区va| 精品在线一区二区| 日韩在线观看一区二区| 国产精品第一页第二页第三页| 久久久久久日产精品| 欧美一级一区二区| 91精品国产欧美一区二区成人| 欧美专区在线观看一区| 91福利资源站| 在线看国产一区| 欧美主播一区二区三区美女| 91麻豆swag| 色婷婷亚洲精品| 欧美中文字幕一区二区三区 | 久久综合网色—综合色88| 日韩欧美在线网站| 欧美xxxx老人做受| 2023国产精品自拍| 久久综合色8888| 中文字幕 久热精品 视频在线 | 亚洲一区二区欧美| 午夜在线成人av| 美女国产一区二区| 国产一区欧美二区| 成人免费看的视频| 欧美亚洲综合久久| 久久久精品天堂| 欧洲亚洲国产日韩| 日韩欧美在线一区二区三区| 日韩精品一区在线观看| 国产精品每日更新| 亚洲一区二区免费视频| 欧美电影一区二区| 久久色在线视频| 中文字幕日韩精品一区| 亚洲香肠在线观看| 激情深爱一区二区| 91丨porny丨国产| 欧美一区二区大片| 亚洲国产精品t66y| 亚洲123区在线观看| 国产一区欧美日韩| 91成人在线观看喷潮| 精品日韩在线一区| 亚洲六月丁香色婷婷综合久久| 视频一区在线视频| 懂色av噜噜一区二区三区av| 欧美日韩电影在线| 亚洲欧洲无码一区二区三区| 天堂影院一区二区| 91免费在线播放| 精品久久久久久久久久久久包黑料| 中文字幕亚洲视频| 韩国精品久久久| 欧美日韩国产综合一区二区三区| 久久婷婷国产综合国色天香| 亚洲国产成人91porn| www.日韩精品| 2020国产精品久久精品美国| 亚洲国产aⅴ天堂久久| 成人性生交大片免费| 欧美精品第1页| 亚洲国产精品一区二区尤物区| 国产一区二区美女| 精品国产制服丝袜高跟| 性做久久久久久| 欧美亚洲动漫精品| 亚洲美女屁股眼交3| 成人黄色免费短视频| 国产片一区二区三区| 韩国欧美国产一区| wwww国产精品欧美| 国产一区二区三区黄视频| 欧美v国产在线一区二区三区| 偷拍一区二区三区| 亚洲成在人线在线播放| 欧美三级在线播放| 亚洲va欧美va天堂v国产综合| 在线观看视频欧美| 一区二区三区欧美久久| 欧美专区在线观看一区| 亚洲一区二区在线免费看| 欧美日韩aaaaaa| 蜜桃一区二区三区在线观看| 欧美一区二区国产| 久久精品国产色蜜蜜麻豆| 亚洲精品一区二区在线观看| 粉嫩绯色av一区二区在线观看 | 一级女性全黄久久生活片免费| av亚洲精华国产精华| 一区二区三区精品视频| 色综合久久综合| 午夜久久久久久| 精品欧美一区二区三区精品久久| 国产精品99久久久久久久vr| 国产精品国产自产拍高清av王其 | 国产女主播一区| 在线观看视频一区| 日本aⅴ精品一区二区三区| 国产亚洲综合色| 欧美性猛交一区二区三区精品| 天天色天天爱天天射综合| 日韩欧美黄色影院| 不卡一二三区首页| 天天综合网天天综合色| 久久亚洲一级片| 91福利视频网站| 成人综合在线观看| 蜜桃一区二区三区四区| 精品日韩成人av| 成人高清免费观看| 日韩成人av影视| 亚洲丝袜美腿综合| 久久久影院官网| 欧美日韩在线三区| 国产精品中文欧美| 午夜精品久久久久久久久 | 北岛玲一区二区三区四区| 日韩精品久久久久久| 亚洲欧洲成人自拍| 亚洲精品一区二区三区精华液| 色婷婷精品久久二区二区蜜臂av| 久久99热狠狠色一区二区| 亚洲国产精品久久久久婷婷884| 中文在线免费一区三区高中清不卡| 欧美二区乱c少妇| 色就色 综合激情| 国产a精品视频| 老司机精品视频导航| 日韩av一级电影| 亚洲第一主播视频| 亚洲一区二区三区激情| 亚洲精品久久久久久国产精华液| 久久亚洲影视婷婷| 91香蕉视频污| 捆绑紧缚一区二区三区视频| 亚洲欧美日本韩国| 国产精品女主播av| 精品久久久久久综合日本欧美| 欧美日韩一区不卡| 色欧美乱欧美15图片| 91亚洲精品久久久蜜桃网站 | 国产精品久久久久久久久快鸭| 久久综合久久综合亚洲| 日韩一本二本av| 91精品国产丝袜白色高跟鞋| 日本久久电影网| 懂色av一区二区三区免费看| 国产中文字幕精品| 丝袜美腿一区二区三区| 丝袜美腿高跟呻吟高潮一区| 午夜精品久久一牛影视| 亚洲人成7777| 欧美福利视频导航| 色8久久精品久久久久久蜜| 97久久久精品综合88久久| 成人午夜激情在线| 成人激情视频网站| 丁香激情综合五月| 成人va在线观看| 一本大道久久a久久精二百| 91丨porny丨首页| 欧美在线观看禁18| 8v天堂国产在线一区二区| 日韩小视频在线观看专区| 日韩区在线观看| 日韩三级中文字幕| 久久久91精品国产一区二区三区| 国产欧美日韩另类视频免费观看| 中文在线一区二区| 国产精品国产三级国产aⅴ原创| 一区二区三区加勒比av| 日本女人一区二区三区| 国内精品自线一区二区三区视频| 国产精品一二三四| 色悠悠亚洲一区二区| 日韩欧美一区二区视频| 国产精品免费久久久久| 亚洲制服丝袜一区| 日韩二区在线观看| 日韩国产精品久久久久久亚洲| 亚洲品质自拍视频| 亚洲激情六月丁香| 亚洲欧洲日韩一区二区三区| 伊人夜夜躁av伊人久久| 蜜臀久久久久久久| av亚洲产国偷v产偷v自拍| 欧美人动与zoxxxx乱| 久久久久国色av免费看影院| 樱桃国产成人精品视频| 精品一区二区三区在线视频| 97国产精品videossex| 日韩欧美国产综合| 亚洲美女精品一区| 激情综合色综合久久综合| 欧美人狂配大交3d怪物一区| 国产精品久久看| 青青草国产精品97视觉盛宴|