简体   繁体   English

wxListCtrl中的自定义行

[英]Custom row in wxListCtrl

Is it possible to use/create a custom row for wxListCtrl? 是否可以为wxListCtrl使用/创建自定义行? I need to show a dinamic list composed by more elements (text, progressbar, buttons). 我需要显示一个由更多元素(文本,进度栏,按钮)组成的动态列表。 Something like this: 像这样:

1 - text - progress-bar - button1, button2, button3, button 4 1-文本-进度栏-button1,button2,button3,button 4

2 - text - progress-bar - button1, button2, button3, button 4 2-文本-进度栏-button1,button2,button3,button 4

... ...

The documentation only explains how to create a text-based wxListCtrl. 该文档仅说明了如何创建基于文本的wxListCtrl。 Anyone knows how to create it? 有人知道如何创建它吗?

您将不得不使用wxDataViewCtrl来处理除简单文本之外的所有内容(第一列中可能带有图标)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM