Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. Problem with LayeredWindow on Windows XP

Problem with LayeredWindow on Windows XP

Scheduled Pinned Locked Moved .NET (Core and Framework)
helpquestionworkspace
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Ky Nam
    wrote on last edited by
    #1

    Hello On Windows XP ( maybe 2000/2003 also ) , if a layered window setup with SetLayeredWindowAttributes , when its size changes , the GetLayeredWindowAttributes doesn't work , the function returns false What should i do to get window's alpha in that case ? Thanks Declare Function GetLayeredWindowAttributes Lib "user32.dll" (ByVal hwnd As IntPtr, ByRef crKey As Integer, ByRef bAlpha As Byte, ByRef dwFlags As LWA) As Boolean Dim a As Byte Dim Flags As LWA If GetLayeredWindowAttributes(hWnd, 0, a, Flags) Then If Flags And LWA.Alpha Then Return a End If

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups