Search found 53 matches

by liuyug
Thu Oct 13, 2011 1:50 am
Forum: C++ Development
Topic: wxBitmap with transparent icon
Replies: 0
Views: 625

wxBitmap with transparent icon

HI all, I have searched many thread to find the solution about wxBitmap with transparent icon. The advice is converting icon to png file, but my icon that is directly extracted from windows file, shell32.dll, can't be converted to png file. It have alpha channel issue in wxMenu, wxToolbar, wxBitmapC...
by liuyug
Tue Jul 05, 2011 8:30 am
Forum: wxWidgets Development (Chinese)
Topic: 大家好,发现一个很牛的sample
Replies: 4
Views: 3740

Re: 大家好,发现一个很牛的sample

其他全是插件一样的cpp? 什么意思

CPP文件也可以include
by liuyug
Wed Sep 15, 2010 7:11 am
Forum: wxWidgets Development (Chinese)
Topic: 2.9.1怎么这么巨大
Replies: 20
Views: 11584

2.9.1怎么这么巨大

用GCC4.5.1静态编译2.9.1 196,030 libwxexpat.a 345,704 libwxexpatd.a 144,366 libwxjpeg.a 831,390 libwxjpegd.a 39,287,644 libwxmsw29u.a 204,313,824 libwxmsw29ud.a 881,842 libwxmsw29ud_gl.a 208,452 libwxmsw29u_gl.a 164,978 libwxpng.a 536,164 libwxpngd.a 80,420 libwxregexu.a 168,058 libwxregexud.a 1,412,970 l...
by liuyug
Fri Jun 25, 2010 1:52 am
Forum: wxWidgets Development (Chinese)
Topic: code:blocks+wxWidgets+mingw平台搭建
Replies: 10
Views: 4352

不要用2.9.0,这是开发版,没有正式release,装2.8的

Development Snapshot: 2.9.0
by liuyug
Fri Jun 25, 2010 1:45 am
Forum: wxWidgets Development (Chinese)
Topic: codeblocks 10.05 正式版发布
Replies: 8
Views: 4391

好像我等只使用nightly版的
by liuyug
Fri Jun 25, 2010 1:43 am
Forum: wxWidgets Development (Chinese)
Topic: wxSocket怎么传送文件呢?
Replies: 4
Views: 4002

象socket一样,那么传送
by liuyug
Fri Feb 26, 2010 1:55 am
Forum: Platform Related Issues
Topic: GetData on OnDragOver in MSW
Replies: 0
Views: 353

GetData on OnDragOver in MSW

The function, GetData only be used in OnData that come from offical document. But in MSW, I hack the droptarget source, so GetData also be used in OnEnter and OnDragOver Please refer the RED text in code src/msw/ole/droptgt.cpp STDMETHODIMP wxIDropTarget::DragEnter(IDataObject *pIDataSource, DWORD g...
by liuyug
Wed Jan 13, 2010 3:27 am
Forum: Platform Related Issues
Topic: LVIF_STATE of wxListCtrl in MSW
Replies: 0
Views: 634

LVIF_STATE of wxListCtrl in MSW

Hi, I would like request to implement LVIF_STATE section. wxMSW-2.8.10\src\msw\listctrl.cpp: case LVN_GETDISPINFO: if ( IsVirtual() ) { LV_DISPINFO *info = (LV_DISPINFO *)lParam; LV_ITEM& lvi = info->item; long item = lvi.iItem; if ( lvi.mask & LVIF_TEXT ) { wxString text = OnGetItemText(item, lvi.i...
by liuyug
Fri Dec 04, 2009 8:03 am
Forum: C++ Development
Topic: line style
Replies: 1
Views: 409

line style

How do I draw the sample line below? I have try all line style, but no result.
by liuyug
Thu Dec 03, 2009 5:25 am
Forum: C++ Development
Topic: set width of wxTreeCtrl in wxTreeBook
Replies: 1
Views: 357

I find the solution by myself.

override GetControllerSize function and return your expected size.

wxSize wxBookCtrlBase::GetControllerSize() const
by liuyug
Wed Dec 02, 2009 12:07 pm
Forum: C++ Development
Topic: set width of wxTreeCtrl in wxTreeBook
Replies: 1
Views: 357

set width of wxTreeCtrl in wxTreeBook

Hi,

Anyone tell me how to set the width of wxTreeCtrl in wxTreeBook.

I have find the old topic , http://forums.wxwidgets.org/viewtopic.p ... wxtreebook , but no solution.

Thanks.
by liuyug
Fri Nov 06, 2009 1:09 pm
Forum: wxWidgets Development (Chinese)
Topic: 发个牢骚,wxWidget的文档烂到家了!
Replies: 1
Views: 1354

发个牢骚,wxWidget的文档烂到家了!

文档里有:
wxWindow::SetFont
void SetFont(const wxFont& font)


但我看头文件
virtual bool SetFont(const wxFont& font)
by liuyug
Tue Nov 03, 2009 3:07 am
Forum: wxWidgets Development (Chinese)
Topic: wxWindow的inherit特性如何用?
Replies: 1
Views: 1244

需要继承控件,实现自己的一个函数

virtual wxVisualAttributes GetDefaultAttributes() const;

这个
by liuyug
Tue Nov 03, 2009 3:01 am
Forum: wxWidgets Development (Chinese)
Topic: Helloworld 错误,高手看看,搞了个一个下午了
Replies: 8
Views: 2850

如果用GCC 加 -v 参数,可显示编译命令
by liuyug
Mon Nov 02, 2009 7:29 am
Forum: wxWidgets Development (Chinese)
Topic: wxWidgets中wxcombobox与wxlistctrl属性咨询!
Replies: 1
Views: 1958

看帮助去。