Giter Site home page Giter Site logo

Comments (2)

nmgwddj avatar nmgwddj commented on July 16, 2024

@caop3ng 参考 ui_components 项目中的 WindowsManager 类,该类提供了窗口管理的一系列方法,与 duilib 完全分离,如果你有很多窗口需要管理,我相信这个一定能帮到你。
https://github.com/netease-im/NIM_Duilib_Framework/blob/master/tool_kits/ui_components/windows_manager/windows_manager.h#L87
它的使用方法参考云信 IM Demo,里面有各种各样的示例:https://github.com/netease-im/NIM_PC_Demo/blob/17a5f9b2323c16c48900efbc21d8cc25590b66f1/nim_win_demo/gui/login/login_form.cpp#L184

你也可以从云信官网下载 IM Demo 最新源码包查看我们常用的手段都有哪些:https://yx-web-nosdn.netease.im/package/1558689357/NIM_PC_Demo_x86_x64_v6.5.0.7z?download=NIM_PC_Demo_x86_x64_v6.5.0.7z

from nim_duilib_framework.

roc1 avatar roc1 commented on July 16, 2024

@caop3ng 参考 ui_components 项目中的 WindowsManager 类,该类提供了窗口管理的一系列方法,与 duilib 完全分离,如果你有很多窗口需要管理,我相信这个一定能帮到你。
https://github.com/netease-im/NIM_Duilib_Framework/blob/master/tool_kits/ui_components/windows_manager/windows_manager.h#L87
它的使用方法参考云信 IM Demo,里面有各种各样的示例:https://github.com/netease-im/NIM_PC_Demo/blob/17a5f9b2323c16c48900efbc21d8cc25590b66f1/nim_win_demo/gui/login/login_form.cpp#L184

你也可以从云信官网下载 IM Demo 最新源码包查看我们常用的手段都有哪些:https://yx-web-nosdn.netease.im/package/1558689357/NIM_PC_Demo_x86_x64_v6.5.0.7z?download=NIM_PC_Demo_x86_x64_v6.5.0.7z

谢谢。

from nim_duilib_framework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.