例如
abcdef|efgsad|asdfa|asefas|asdfasd
以 | 为标识,分为5个串出来
Search found 103 matches
- Wed Jun 25, 2008 1:13 am
- Forum: wxWidgets Development (Chinese)
- Topic: wxString有没有直接提供分割字符串的方法?
- Replies: 5
- Views: 4656
- Tue Jun 24, 2008 1:38 pm
- Forum: wxWidgets Development (Chinese)
- Topic: wxString有没有直接提供分割字符串的方法?
- Replies: 5
- Views: 4656
wxString有没有直接提供分割字符串的方法?
我看了一下文档,好像没有找到。如果没有就得自己写了
- Tue Jun 24, 2008 1:29 pm
- Forum: wxWidgets Development (Chinese)
- Topic: 寻找高性能的内核定时器
- Replies: 11
- Views: 6611
- Tue Jun 24, 2008 1:04 am
- Forum: wxWidgets Development (Chinese)
- Topic: wxBitmap这样写会释放前面的图像吗?
- Replies: 4
- Views: 3587
最近随着对wxWidgets的理解更近了一步,发现wxWidgets是采用引用计数机制来处理的。如果你用过COM,就会很熟悉。 请参考wxWidgets文档中对引用计数机制的描述: Reference counting Why you shouldn't care about it Object comparison Object destruction List of reference-counted wxWidgets classes Make your own reference-counted class ---------------------------------------...
- Mon Jun 23, 2008 12:57 am
- Forum: wxWidgets Development (Chinese)
- Topic: 获得一个exe文件的版本号?
- Replies: 2
- Views: 2695
- Sun Jun 22, 2008 1:21 pm
- Forum: wxWidgets Development (Chinese)
- Topic: 获得一个exe文件的版本号?
- Replies: 2
- Views: 2695
获得一个exe文件的版本号?
调API,发现编译有错误:
[Linker Error] undefined reference to `GetFileVersionInfoSizeA@8'
[Linker Error] undefined reference to `GetFileVersionInfoA@16'
[Linker Error] undefined reference to `VerQueryValueA@16'
wxWidgets中有没有提供获取exe版本号的功能?
[Linker Error] undefined reference to `GetFileVersionInfoSizeA@8'
[Linker Error] undefined reference to `GetFileVersionInfoA@16'
[Linker Error] undefined reference to `VerQueryValueA@16'
wxWidgets中有没有提供获取exe版本号的功能?
- Sat Jun 14, 2008 1:12 pm
- Forum: wxWidgets Development (Chinese)
- Topic: 寻找高性能的内核定时器
- Replies: 11
- Views: 6611
- Fri Jun 13, 2008 5:05 am
- Forum: wxWidgets Development (Chinese)
- Topic: 放大镜有人做过吗?
- Replies: 1
- Views: 2001
- Thu Jun 12, 2008 7:04 am
- Forum: wxWidgets Development (Chinese)
- Topic: [翻译进行中]wxWidgets C++ Users Forum FAQ
- Replies: 12
- Views: 48343
常规FAQ 三、 有技术支持吗? 没有官方的技术支持, 但是邮件列表可以给你很大帮助,很多人都说wxWidgets 的技术支持比很多商业软件都好.很明显,虽然没有任何担保,但wxWidgets 的开发者们都是非常热心的以最快的速度修复Bug。 四、谁使用wxwidgets ? 许多组织-世界各地的商业机构,政府和学府。因为可以有很多不同的途径来获得wxwidgets,我们不能监测分布状况,所以无法估计真正的用户数量。 参见 用户页 ,列出了一些用户和他们写的应用程序,还有 反馈页面 ,有一些评论。 我们的资历最高的用户,是业界资深的、Lotus公司的创建人Mitch Kapor和他的 Ope...
- Sat Jun 07, 2008 8:31 am
- Forum: wxWidgets Development (Chinese)
- Topic: 寻找高性能的内核定时器
- Replies: 11
- Views: 6611
- Sat Jun 07, 2008 8:25 am
- Forum: wxWidgets Development (Chinese)
- Topic: 连接第三方静态库德问题?
- Replies: 6
- Views: 4996
- Tue May 27, 2008 12:17 am
- Forum: wxWidgets Development (Chinese)
- Topic: 写多线程程序,线程之间共用的变量是不是要
- Replies: 4
- Views: 4893
- Mon May 26, 2008 8:27 am
- Forum: wxWidgets Development (Chinese)
- Topic: 高手帮我看看这个刷新图标缓存的程序
- Replies: 2
- Views: 3061
终于找到答案了
呵呵,经过苦苦的寻觅,终于在 http://www.codeproject.com/KB/winsdk/nsetfoldericons.aspx 找到答案了。 不过那个代码是VC++的,我给小小的改造了一下,把CString 改为 wxString,现在用wxDev-C++可以编译了,而且能够成功的刷新图标缓存,呵呵。把代码共享出来吧: ------------------------------------------------ void RefreshIcons() { wxString val; HKEY hKey; LONG result = ::RegOpenKeyEx(HKEY_...
- Mon May 26, 2008 6:13 am
- Forum: wxWidgets Development (Chinese)
- Topic: 大家好,请问编译后不要mingwm10.dll的方式?
- Replies: 10
- Views: 6075
- Mon May 26, 2008 6:09 am
- Forum: wxWidgets Development (Chinese)
- Topic: 高手帮我看看这个刷新图标缓存的程序
- Replies: 2
- Views: 3061
高手帮我看看这个刷新图标缓存的程序
因为自己的程序关联自定义的文件类型,想开发可选自定义图标功能,程序中需要用到一个刷新图标缓存的功能,就像是Windows优化大师一样的【重建图标缓存】。我在网上找到一段代码并且改了改,发现执行这段代码之后,各个窗口都刷新了,但是图标并没有变(我改变了我自定义文件类型的关联图标)。而我用Windows优化大师就可以达到目的。请问这是为何? 代码也贴出来,该代码兼容Windows下大部分编译器,VC++ ,GCC都可以。 ------------------------------------------------------------- void refico() { int Iconw=:...