mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-04-28 14:14:17 +08:00
update
This commit is contained in:
parent
9f652a7c76
commit
46f7299362
@ -33,7 +33,7 @@ static inline bool isCompositionEnabled(){
|
|||||||
|
|
||||||
static inline void showShadow(HWND hwnd){
|
static inline void showShadow(HWND hwnd){
|
||||||
if(isCompositionEnabled()){
|
if(isCompositionEnabled()){
|
||||||
const MARGINS shadow = { 1, 1, 1, 1 };
|
const MARGINS shadow = { 1, 0, 0, 0 };
|
||||||
typedef HRESULT (WINAPI* DwmExtendFrameIntoClientAreaPtr)(HWND hWnd, const MARGINS *pMarInset);
|
typedef HRESULT (WINAPI* DwmExtendFrameIntoClientAreaPtr)(HWND hWnd, const MARGINS *pMarInset);
|
||||||
HMODULE module = LoadLibraryW(L"dwmapi.dll");
|
HMODULE module = LoadLibraryW(L"dwmapi.dll");
|
||||||
if (module)
|
if (module)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user