Search found 47 matches

by Satervalley
Sat Oct 23, 2010 1:00 am
Forum: C++ Development
Topic: Menu bar doesn't show when running outside of debugger
Replies: 5
Views: 1039

please read this:
http://docs.wxwidgets.org/stable/wx_xrc ... rcoverview
it's about compiling and using embeded xml resource file.
by Satervalley
Fri Oct 22, 2010 5:30 am
Forum: C++ Development
Topic: Menu bar doesn't show when running outside of debugger
Replies: 5
Views: 1039

I guess that your released app can not find the xrc file,either put the xrc file in the released app dir or compile xrc file as binary into your app.
by Satervalley
Wed Oct 20, 2010 12:28 pm
Forum: C++ Development
Topic: warning RC4005
Replies: 6
Views: 2022

just keep in mind how many rows and columns you set your grid sizer. you put controls in grid, do not leave blank cell, use placeholder called spacer if necessary.
by Satervalley
Wed Oct 20, 2010 3:53 am
Forum: C++ Development
Topic: warning RC4005
Replies: 6
Views: 2022

I believe that not the warnings caused the alert message.
Read the information, it's the gridsizer raise an assert fail.
by Satervalley
Wed Oct 20, 2010 2:00 am
Forum: C++ Development
Topic: wx 2.9.1 wxWindow layout bug under win7?
Replies: 0
Views: 651

wx 2.9.1 wxWindow layout bug under win7?

hello, friends! I hava a dialog, if i push a button, some hidden controls are made visiable, and i call the dialogs Fit() function, the dialog will expand to make sure the new showed controls on screen, i push the button again, i hide these controls and call Fit() to make the dialog shrunk. It's wor...
by Satervalley
Mon Oct 18, 2010 12:25 pm
Forum: wxWidgets Development (Chinese)
Topic: wxWidgetx怎样实现这样的控件容器呀?有现成的
Replies: 4
Views: 4149

有现成的,我用的 2.9.1 版的,请参见 smaples 下的 collpane 例子。
by Satervalley
Sun Oct 17, 2010 3:22 pm
Forum: wxWidgets Development (Chinese)
Topic: 使用Code::Blocks的中国人进来聚聚?
Replies: 27
Views: 23735

呵呵,感谢你的努力啊。
最近 cb 的 rss 上放出了 nightly build 的 cc 版,我就改用这个版了。
by Satervalley
Thu Oct 14, 2010 1:14 am
Forum: Component Writing
Topic: wxPopupTransientWindow with controls on it
Replies: 4
Views: 3282

Have a look at the wxWidgets samples, they contains a demo for using wxPopupTransientWindow with controls on it (samples/popup) Eran Thank you, Eran! I've already compiled and run the sample before I post this question. As a result, the button and spin control works normally, but the edit control c...
by Satervalley
Wed Oct 13, 2010 2:27 pm
Forum: Component Writing
Topic: wxPopupTransientWindow with controls on it
Replies: 4
Views: 3282

my wxWidgets version is 2.9.1, os is windows 7.
If it's imporssible to make listbox and textctrl work correctly on wxPopupTransientWindow, any hint for implements similar function from scratch is appreciated.
by Satervalley
Wed Oct 13, 2010 12:00 pm
Forum: Component Writing
Topic: wxPopupTransientWindow with controls on it
Replies: 4
Views: 3282

wxPopupTransientWindow with controls on it

Hi, friends. I have a listbox and a textctrl on a panel which is a child of a wxPopupTransientWindow. In a dialog, if a button clicked, the wxPopupTransientWindow popuped by calling it Popup function. I find that the listbox and textctrl both can not get focus and can not answer mouse and key events...
by Satervalley
Wed Oct 13, 2010 11:54 am
Forum: wxWidgets Development (Chinese)
Topic: 求助:自定义事件通信
Replies: 7
Views: 4989

可以查看下代码看看在 wxMSW 下,wxWidgets 的user messsage id 是怎么实现的,然后写一些平台相关代码了。用 message 跨进程通讯不是很效率和可靠,而且只能传递两个简单数据。win 下专门有个 message,跨进程通讯的,好像是什么 user data 消息,好像内部通过共享内存传递多些数据,tray icon 好像就和这个消息有关。
还是建议用内置的平台无关类。
by Satervalley
Tue Oct 12, 2010 1:38 am
Forum: wxWidgets Development (Chinese)
Topic: 请大家关注 codeblocks的开发,因为有中国人Load
Replies: 10
Views: 8748

感谢你们的工作,最近一段时间,nightly build 的发布忽然勤快了许多。 :D
by Satervalley
Tue Oct 12, 2010 1:34 am
Forum: wxWidgets Development (Chinese)
Topic: 求助:自定义事件通信
Replies: 7
Views: 4989

wxWidgets 定义了几个跨进程通讯类,请参阅 wxServer, wxClient, wxConnection等,是跨平台的。或使用 boost 里的 跨进程 库。
by Satervalley
Sun Sep 26, 2010 9:35 am
Forum: wxWidgets Development (Chinese)
Topic: 如何控制wxFlexGridSizer不要隐藏靠右侧的列
Replies: 1
Views: 2139

这个,你为什么要把窗口弄那么窄呢?
by Satervalley
Fri Nov 13, 2009 5:38 am
Forum: wxWidgets Development (Chinese)
Topic: 快速鍵的重覆進入的function,怎麼阻檔?
Replies: 2
Views: 1586

在 function 开头把快捷键禁了,离开前再启用不就行了。