如何获得ccombobox静态handlc [英] How to get ccombobox static handlc

查看:99
本文介绍了如何获得ccombobox静态handlc的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想实现一个所有者绘制的CComboBox控件,当其样式为CBS_DROPDOWNLIST时,如何获取静态句柄?

I want to implement a owner-drawn CComboBox control, when it''s style is CBS_DROPDOWNLIST, how to get static handle?

thanks.

推荐答案

在msdn中,当组合框的样式设置为下拉列表时,它由一个组合有静态控件的列表框组成,所以我想获得所有者绘制的静态控件的句柄.
In msdn, when a combo box ''s style is set to be drop-down list, it consists of a list box combied with a static control, so I want to get the handle of a static control for owner-drawn.


这篇关于如何获得ccombobox静态handlc的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆