签到

06月21日
尚未签到

共有回帖数 0

    忘记过去

    等级:
    RT,VC对这个函提供数的参数信息好像和实际使用的参数信息是不一样的,
    VC的是这样的:
    HWND CreateWindow(LPCTSTR lpClassName,LPCTSTR lpWindowName,DWORD dwStyle,int x,int y,int nWidth,HWND hWndParent,HMENU hMenu,HANDLE hInstance,LPVOID lpParam);
    好像少了个代表窗口高度的参数,
    困扰已久,求真相。。。
    CreateWindow Function

    --------------------------------------------------------------------------------


    The CreateWindow function creates an overlapped, pop-up, or child window. It specifies the window class, window title, window style, and (optionally) the initial position and size of the window. The function also specifies the window's parent or owner, if any, and the window's menu.

    To use extended window styles in addition to the styles supported by CreateWindow, use the CreateWindowEx function.


    Syntax

    HWND CreateWindow(           LPCTSTR lpClassName,
        LPCTSTR lpWindowName,
        DWORD dwStyle,
        int x,
        int y,
        int nWidth,
        int nHeight,
        HWND hWndParent,
        HMENU hMenu,
        HINSTANCE hInstance,
        LPVOID lpParam
    );

    楼主 2015-12-18 13:01 回复

共有回帖数 0
  • 回 帖
  • 表情 图片 视频
  • 发表

登录直线网账号

Copyright © 2010~2015 直线网 版权所有,All Rights Reserved.沪ICP备10039589号 意见反馈 | 关于直线 | 版权声明 | 会员须知