Giter VIP home page Giter VIP logo

Comments (5)

zhizhi-dev avatar zhizhi-dev commented on July 19, 2024
return WindowImplBase::Create(
	nullptr,
	TITLE_NAME,
	UI_WNDSTYLE_FRAME &~WS_MAXIMIZEBOX &~WS_VISIBLE,
	WS_EX_WINDOWEDGE | WS_EX_TOOLWINDOW,
	0, 0, 0, 0);

from duilib_ultimate.

zhizhi-dev avatar zhizhi-dev commented on July 19, 2024
::SetWindowPos(
	m_hWnd, 
	NULL, 
	point.x, 
	point.y, 
	-1, 
	-1, 
	SWP_NOSIZE | SWP_NOZORDER | SWP_SHOWWINDOW);

窗口显示的代码,没有使用 Showwindow来做

from duilib_ultimate.

zhizhi-dev avatar zhizhi-dev commented on July 19, 2024

使用Showwindow正常,我想找个bug是阴影窗口在处理 窗口显示的消息时只处理 WM_SHOWWINDOW 没有处理 WM_WINDOWPOSCHANGED 消息中附带 显示窗口的情况

from duilib_ultimate.

zhizhi-dev avatar zhizhi-dev commented on July 19, 2024

代码 UIShadow.cpp 126 行在处理WM_WINDOWPOSCHANGED消息时应该加入判断 WINDOWPOS 的flags代码,如果flags标志中有 SWP_SHOWWINDOW或者SWP_HIDEWIDNOW时设置自己的m_status

from duilib_ultimate.

qdtroy avatar qdtroy commented on July 19, 2024

已经修复

from duilib_ultimate.

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.