有空研究一下OwnerDraw和三种Windows风格CS_OWNDC和CS_PARENTDC和CS_CLASSDC
就在StdCtrls.pas, ExtCtrls.pas和Buttons.pas三个类里研究就够了,这是初步的搜索结果:
---------- 在打开的文档中查找 ----------
"G:\StdCtrls.pas"(,): TOwnerDrawState = Windows.TOwnerDrawState;
"G:\StdCtrls.pas"(,): {$NODEFINE TOwnerDrawState}
"G:\StdCtrls.pas"(,): Rect: TRect; State: TOwnerDrawState) of object;
"G:\StdCtrls.pas"(,): TComboBoxStyle = (csDropDown, csSimple, csDropDownList, csOwnerDrawFixed,
"G:\StdCtrls.pas"(,): csOwnerDrawVariable);
"G:\StdCtrls.pas"(,): State: TOwnerDrawState); virtual;
"G:\StdCtrls.pas"(,): TListBoxStyle = (lbStandard, lbOwnerDrawFixed, lbOwnerDrawVariable,
"G:\StdCtrls.pas"(,): lbVirtual, lbVirtualOwnerDraw);
"G:\StdCtrls.pas"(,): State: TOwnerDrawState); virtual;
"G:\StdCtrls.pas"(,): State: TOwnerDrawState);
"G:\StdCtrls.pas"(,): if FStyle in [csOwnerDrawFixed, csOwnerDrawVariable] then
"G:\StdCtrls.pas"(,): CBS_DROPDOWNLIST or CBS_OWNERDRAWFIXED,
"G:\StdCtrls.pas"(,): CBS_DROPDOWNLIST or CBS_OWNERDRAWVARIABLE);
"G:\StdCtrls.pas"(,): State: TOwnerDrawState;
"G:\StdCtrls.pas"(,): State := TOwnerDrawState(LongRec(itemState).Lo);
"G:\StdCtrls.pas"(,): if FStyle = csOwnerDrawVariable then
"G:\StdCtrls.pas"(,): if ListBox.Style in [lbVirtual, lbVirtualOwnerDraw] then
"G:\StdCtrls.pas"(,): if ListBox.Style in [lbVirtual, lbVirtualOwnerDraw] then
"G:\StdCtrls.pas"(,): if (Index <> -) and not (ListBox.Style in [lbVirtual, lbVirtualOwnerDraw]) then
"G:\StdCtrls.pas"(,): if ListBox.Style in [lbVirtual, lbVirtualOwnerDraw] then exit;
"G:\StdCtrls.pas"(,): if ListBox.Style in [lbVirtual, lbVirtualOwnerDraw] then exit;
"G:\StdCtrls.pas"(,): if ListBox.Style in [lbVirtual, lbVirtualOwnerDraw] then exit;
"G:\StdCtrls.pas"(,): if ListBox.Style in [lbVirtual, lbVirtualOwnerDraw] then
"G:\StdCtrls.pas"(,): if ListBox.Style in [lbVirtual, lbVirtualOwnerDraw] then exit;
"G:\StdCtrls.pas"(,): if Style in [lbVirtual, lbVirtualOwnerDraw] then exit;
"G:\StdCtrls.pas"(,): if Style in [lbVirtual, lbVirtualOwnerDraw] then
"G:\StdCtrls.pas"(,): if Style in [lbVirtual, lbVirtualOwnerDraw] then exit;
"G:\StdCtrls.pas"(,): if Value in [lbVirtual, lbVirtualOwnerDraw] then
"G:\StdCtrls.pas"(,): if Style in [lbVirtual, lbVirtualOwnerDraw] then
"G:\StdCtrls.pas"(,): if Style in [lbVirtual, lbVirtualOwnerDraw] then
"G:\StdCtrls.pas"(,): if Style in [lbVirtual, lbVirtualOwnerDraw] then
"G:\StdCtrls.pas"(,): lbVirtualOwnerDraw: Style := lbOwnerDrawFixed;
"G:\StdCtrls.pas"(,): (, LBS_OWNERDRAWFIXED, LBS_OWNERDRAWVARIABLE, LBS_OWNERDRAWFIXED,
"G:\StdCtrls.pas"(,): LBS_OWNERDRAWFIXED);
"G:\StdCtrls.pas"(,): Data[Self.Style in [lbVirtual, lbVirtualOwnerDraw]] or
"G:\StdCtrls.pas"(,): if (Style in [lbVirtual, lbVirtualOwnerDraw]) then
"G:\StdCtrls.pas"(,): if (Style in [lbVirtual, lbVirtualOwnerDraw]) then
"G:\StdCtrls.pas"(,): State: TOwnerDrawState);
"G:\StdCtrls.pas"(,): if (Style in [lbVirtual, lbVirtualOwnerDraw]) then
"G:\StdCtrls.pas"(,): State: TOwnerDrawState;
"G:\StdCtrls.pas"(,): State := TOwnerDrawState(LongRec(itemState).Lo);
"G:\StdCtrls.pas"(,): if FStyle = lbOwnerDrawVariable then
"G:\StdCtrls.pas"(,): if Style in [lbVirtual, lbVirtualOwnerDraw] then
"G:\StdCtrls.pas"(,): if Style in [lbVirtual, lbVirtualOwnerDraw] then
"G:\ExtCtrls.pas"(,): procedure DrawItem(Index: Integer; Rect: TRect; State: TOwnerDrawState); override;
"G:\ExtCtrls.pas"(,): inherited Style := csOwnerDrawFixed;
"G:\ExtCtrls.pas"(,): State: TOwnerDrawState);
"G:\Buttons.pas"(,): with Params do Style := Style or BS_OWNERDRAW;
共找到 处。
输出完成 (耗时: 秒)
有空研究一下OwnerDraw和三种Windows风格CS_OWNDC和CS_PARENTDC和CS_CLASSDC的更多相关文章
- 一个Java应用,三种字体风格(Java, Windows, Mac),真是蛋疼
大家看看下面这张图,红色圈起来的是Java难看至极的字体渲染,黄色圈起来的是正常的Windows渲染,绿色是Mac风格的渲染. 其实我感觉正常风格就挺好的,就是看那个Java的Swing菜单,非常不顺 ...
- Aurora 8B/10B、PCIe 2.0、SRIO 2.0三种协议比较
在高性能雷达信号处理机研制中,高速串行总线正逐步取代并行总线.业界广泛使用的Xilinx公司Virtex-6系列FPGA支持多种高速串行通信协议,本文针对其中较为常用的Aurora 8B/10B和PC ...
- Spring IOC 中三种注入方式
项目错误知识点记录 正文 最近在项目的时候,用到Spring框架,Spring框架提供了一种IOC的自动注入功能,可以很轻松的帮助我们创建一个Bean,这样就省的我们四处写new Object()这样 ...
- Java开发学习(四)----bean的三种实例化方式
一.环境准备 准备开发环境 创建一个Maven项目 pom.xml添加依赖 resources下添加spring的配置文件applicationContext.xml 最终项目的结构如下: 二. ...
- Windows 记事本的 ANSI、Unicode、UTF-8 这三种编码模式有什么区别?
[梁海的回答(99票)]: 简答.一些细节暂无精力查证,如果说错了还请指出. 一句话建议:涉及兼容性考量时,不要用记事本,用专业的文本编辑器保存为不带 BOM 的UTF-8. * * * 如果是为了跨 ...
- Java程序员的现代RPC指南(Windows版预编译好的Protoc支持C++,Java,Python三种最常用的语言,Thrift则支持几乎主流的各种语言)
Java程序员的现代RPC指南 1.前言 1.1 RPC框架简介 最早接触RPC还是初学Java时,直接用Socket API传东西好麻烦.于是发现了JDK直接支持的RMI,然后就用得不亦乐乎,各种大 ...
- Kendall’s tau-b,pearson、spearman三种相关性的区别(有空整理信息检索评价指标)
同样可参考: http://blog.csdn.net/wsywl/article/details/5889419 http://wenku.baidu.com/link?url=pEBtVQFzTx ...
- [Linux]三种方案在Windows系统下安装ubuntu双系统(转)
在学习linux的过程中,ubuntu无疑是初学者的最佳选择. 下面来列举给Windows系统安装ubuntu双系统的三种方法. 一.虚拟机安装(不推荐) 使用工具:Vmware 如果不是因为迫不得已 ...
- Qt在Windows下的三种编程环境搭建
尊重作者,支持原创,如需转载,请附上原地址:http://blog.csdn.net/libaineu2004/article/details/17363165 从QT官网可以得知其支持的平台.编译器 ...
随机推荐
- Android模拟器启动异常
设置系统环境变量的 ANDROID_SDK_HOME为任意一个目录,我的目录:C:\android_avd, 关闭eclipse,然后重新启动eclipse, 删除之前创建的AVD, 然后重新创建,即 ...
- CentOS 6.5上安装MySQL-Cluster
参考博文: CentOS 6.2下MySQL Cluster 7.2 配置数据库集群 CentOS 6.5上安装MySQL-Cluster 7.3.4过程笔记--下一步学习 MySQL Cluster ...
- mul8_unsigned multipliter
李亚民老师更注重硬件设计思想的训练.他给出的硬件设计方法更贴近底层硬件,下面看看他的设计思想: ...
- VM添加e1000e驱动网卡
关闭虚拟机 打开VMware 虚拟机配置 (.vmx),如
- BZOJ 1025: [SCOI2009]游戏( 背包dp )
显然题目要求长度为n的置换中各个循环长度的lcm有多少种情况. 判断一个数m是否是满足题意的lcm. m = ∏ piai, 当∑piai ≤ n时是满足题意的. 最简单我们令循环长度分别为piai, ...
- Python 第八篇:异常处理、Socket语法、SocketServer实现多并发、进程和线程、线程锁、GIL、Event、信号量、进程间通讯
本节内容: 异常处理.Socket语法.SocketServer实现多并发.进程和线程.线程锁.GIL.Event.信号量.进程间通讯.生产者消费者模型.队列Queue.multiprocess实例 ...
- 如何判断是否安装了VC RUNTIME
先得说下GUID,它是Globally Unique Identifier的简称,中文翻译为“全球唯一标示符”,在Windows系统中也称之为Class ID,缩写为CLSID.对于不同的应用程序,文 ...
- CF 319C(Kalila and Dimna in the Logging Industry-斜率DP,注意叉积LL溢出)
C. Kalila and Dimna in the Logging Industry time limit per test 2 seconds memory limit per test 256 ...
- telerik 控件 SCRIPT5007: 无法获取未定义或 null 引用的属性“documentElement” (IE 文档模式)
IE对盒模型的渲染在 Standards Mode和Quirks Mode是有很大差别的,在Standards Mode下对于盒模型的解释和其他的标准浏览器是一样,但在Quirks Mode模式下则有 ...
- Properties文件及与之相关的System.getProperties操作(转)
如何使用Java读写系统属性? 读: 简述properties文件的结构和基本用法结构:扩展名为properties的文件,内容为key.value的映射,例如"a=2" 示例用到 ...