Search found 10 matches

by shiweifu
Fri May 01, 2009 2:03 am
Forum: wxWidgets Development (Chinese)
Topic: wxWidgets中有没有动态链接库的概念?
Replies: 3
Views: 2342

wxWidgets中有没有动态链接库的概念?

RT。。
最近在做个小东西,打算实现个插件机制
需要用到动态链接库
不想用DLL
我记得wxWidgets中好像是有的
请教大大们
by shiweifu
Sat Apr 11, 2009 12:20 pm
Forum: wxWidgets Development (Chinese)
Topic: wxSocket有没有封装UDP协议?
Replies: 2
Views: 2068

问题已解决 :D
by shiweifu
Fri Apr 10, 2009 5:51 am
Forum: wxWidgets Development (Chinese)
Topic: 一个wxWidgets群
Replies: 4
Views: 3848

一个wxWidgets群

群号:69217297
wxWidgets学习、交流,争取共同进步

欢迎老手前来指点,也欢迎新手共同学习、分享
by shiweifu
Tue Apr 07, 2009 2:28 pm
Forum: wxWidgets Development (Chinese)
Topic: wxSocket有没有封装UDP协议?
Replies: 2
Views: 2068

wxSocket有没有封装UDP协议?

是用《wxWidgets跨平台开发》
这本书来学习wxWidgets的,现在学习到了网络部分
想试着做个聊天室(一直没做成)
可能要用到UDP广播
书里面说wxWidgets没有封装UDP,不知道现在有没有加进去
(因为是06年的书)
:D

另:发现论坛的人气越来越高了
高兴
by shiweifu
Tue Apr 07, 2009 2:23 pm
Forum: wxWidgets Development (Chinese)
Topic: Tuxitty MSN 0.3.0 released
Replies: 8
Views: 2923

很好用,赞一个~
by shiweifu
Mon Jan 19, 2009 6:40 am
Forum: wxWidgets Development (Chinese)
Topic: 在Frame中如何操作Panel上的控件?
Replies: 6
Views: 4052

感谢版主的热情回答与kingkamg的批评

我一直都以为wxFrame会提供类似的方法。。

没想去“自力更生”,呵呵~

最后解决的方法:
在wxFrame中增加一个wxGrid型的全局变量
把Panel中的wxGrid弄成全局
在构造函数中把grid指向Panel中的m_grid
接着再操作

就是版主说的办法
(把过程说出来,希望能帮到以后来的小白。。)
:D
by shiweifu
Thu Jan 15, 2009 3:01 pm
Forum: wxWidgets Development (Chinese)
Topic: 在Frame中如何操作Panel上的控件?
Replies: 6
Views: 4052

在Frame中如何操作Panel上的控件?

Code: Select all

void MainFrame::On_MenuItem_Open( wxCommandEvent& event )
{
		wxGrid* grid = NULL;
		grid = (wxGrid*)(this->FindWindowByName(wxT("MainPanel")))->FindWindowByName(wxT("m_grid"));
		grid->Enable(true);
}
wxMenu在wxFrame中,所要操作的wxGrid在wxPanel上
他俩在两个类里,我不知道怎么操作了
该如何通过wxFrame访问wxGrid?

另,寻一wxWidgets QQ群
by shiweifu
Thu Jan 15, 2009 6:21 am
Forum: C++ Development
Topic: About wxFrame and wxPanel
Replies: 4
Views: 1198

I'm not sure I understand the question... when you create the Panel, just keep a pointer to it. Then you can just use that pointer. Another way is to use wxWindow::FindWindowBy*() http://docs.wxwidgets.org/stable/wx_wxwindow.html#wxwindowfindwindowbyid I want to operate a control in a MenuItem.. wx...
by shiweifu
Wed Jan 14, 2009 3:00 pm
Forum: C++ Development
Topic: About wxFrame and wxPanel
Replies: 4
Views: 1198

About wxFrame and wxPanel

I used to have a small problem wxWidgets. .
A control in wxPanel, but my menu in wxFrame, I would like to operate through the menu on the wxPanel control, I tried to find wxFrame similar GetPanel function. . but I not find

Thanks..
by shiweifu
Thu Oct 30, 2008 12:21 am
Forum: wxWidgets Development (Chinese)
Topic: 如何让ListCtrl的标题不能改变大小
Replies: 1
Views: 1601

如何让ListCtrl的标题不能改变大小

如何让ListCtrl的标题不能改变大小
恩。。我添加了几个标题,但是用户用鼠标可以随意拖动大小。
这个该怎么设置

谢谢!