在运行时更新窗口扩展样式? [英] Update Window Extended Styles on Runtime?

查看:69
本文介绍了在运行时更新窗口扩展样式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的窗口中添加 窗口扩展样式&运行时更新窗口?



sssa

Add  Window Extended Styles  to my window and update window on Runtime?


sssa

推荐答案

可以使用 SetWindowLongPtr 函数[ https://msdn.microsoft.com/en-us/library/windows/desktop/ms644898(v = vs.85)的.aspx ]。
为了保留以前的样式,新值应该与
GetWindowLongPtr 返回的样式结合使用。

The supported extended styles can be set using SetWindowLongPtr function [https://msdn.microsoft.com/en-us/library/windows/desktop/ms644898(v=vs.85).aspx]. In order to preserve the previous styles, the new value should be combined with the styles returned by GetWindowLongPtr.

实施取决于您的计划的详细信息。


这篇关于在运行时更新窗口扩展样式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆