Git Product home page Git Product logo

node-dwmapi's Introduction

nodejs DWM(Desktop Window Manager) wrapper

nodejs DWM wrapper library.

Install

>>> npm install node-dwmapi

Implemented features

DWMAPI

DwmSetWindowAttribute( HWND hwnd, DWORD dwAttribute, In_reads_bytes(cbAttribute) LPCVOID pvAttribute, DWORD cbAttribute );

Wrapper Usages

simple test

const {dwmapi} = require("node-dwmapi")

console.log(dwmapi.dwAttribute)
console.log(dwmapi.DwmSetWindowAttribute(10, dwmapi.dwAttribute.DWMWA_EXCLUDED_FROM_PEEK ,true))


// result
>> 
{
  DWMWA_NCRENDERING_ENABLED: 1,
  DWMWA_NCRENDERING_POLICY: 2,
  DWMWA_TRANSITIONS_FORCEDISABLED: 3,
  DWMWA_ALLOW_NCPAINT: 4,
  DWMWA_CAPTION_BUTTON_BOUNDS: 5,
  DWMWA_NONCLIENT_RTL_LAYOUT: 6,
  DWMWA_FORCE_ICONIC_REPRESENTATION: 7,
  DWMWA_FLIP3D_POLICY: 8,
  DWMWA_EXTENDED_FRAME_BOUNDS: 9,
  DWMWA_HAS_ICONIC_BITMAP: 10,
  DWMWA_DISALLOW_PEEK: 11,
  DWMWA_EXCLUDED_FROM_PEEK: 12,
  DWMWA_CLOAK: 13,
  DWMWA_CLOAKED: 14,
  DWMWA_FREEZE_REPRESENTATION: 15,
  DWMWA_PASSIVE_UPDATE_MODE: 16,
  DWMWA_USE_HOSTBACKDROPBRUSH: 17,
  DWMWA_USE_IMMERSIVE_DARK_MODE: 20,
  DWMWA_WINDOW_CORNER_PREFERENCE: 33,
  DWMWA_BORDER_COLOR: 34,
  DWMWA_CAPTION_COLOR: 35,
  DWMWA_TEXT_COLOR: 36,
  DWMWA_VISIBLE_FRAME_BORDER_THICKNESS: 37,
  DWMWA_SYSTEMBACKDROP_TYPE: 38,
  DWMWA_LAST: 40
}
true

node-dwmapi's People

Contributors

fabyday avatar

Watchers

 avatar

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.