ICode9

精准搜索请尝试: 精确搜索
  • Delphi WinAPI SetLayeredWindowAttributes-设置分层窗口的不透明度和透明度颜色关键点2022-04-18 17:03:27

    Delphi WinAPI SetLayeredWindowAttributes-设置分层窗口的不透明度和透明度颜色关键点 头文件:winuser.h 原型: BOOL SetLayeredWindowAttributes( [in] HWND hwnd, //分层窗口的句柄。通过在使用CreateWindowEx函数创建窗口时指定WS_EX_layered,或在创建窗口后很久通过SetW

  • C++第02课 类与对象 (二)2021-09-04 02:31:15

    1.类与对象小案例(封装按钮) #include <graphics.h> #include <iostream> #include <string> using namespace std; class Button { public: Button() = default; Button(int x, int y, int width, int height, COLORREF inColor, COLORREF outColor, strin

  • EasyX 简易绘图工具接口整理2020-06-26 20:55:34

         EasyX Library for C++ (Ver:20190415(beta)) http://www.easyx.cn EasyX.h 1 #pragma once 2 3 #ifndef WINVER 4 #define WINVER 0x0400 // Specifies that the minimum required platform is Windows 95 and Windows NT 4.0. 5 #endif 6

  • 关于COLORREF的定义及用法2020-05-04 23:04:52

    转载自http://blog.sina.com.cn/s/blog_65cab32d010136cl.html 一、什么是COLORREF?   COLORREF类型用来描绘一个RGB颜色。其定义如下:    typedef DWORD COLORREF; typedef DWORD *LPCOLORREF;       COLORREF类型变量值描绘一个颜色时对应于下面16进制的格式:   0x00b

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有