Jump to content

Search the Community

Showing results for tags 'winapi borderless window'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. So this is a part of my code: _WinAPI_SetWindowLong($wh, $GWL_STYLE, 0x94000000) _WinAPI_SetWindowLong($wh, $GWL_EXSTYLE, 0x00040000) _WinAPI_UpdateWindow($wh) Now, my problem with some windows like games using 3D as content, I think it's because I directly overwrite any other flags that these windows have by totally replacing the values at the STYLE and EXSTYLE indexes, with these. It does the trick of removing the title, border and making the window appear on top of the taskbar when covering the whole screen, but how can I instead apply the flag for removal of title and border + the ontop flag, rather than completely overwriting the current flags? Just an example; if the flags for style are 2, 4, 8, e.g. where 8 is title and border, the windows may have values of 12, 14, e.g. so then I'd like to remove 8 so we get 4 and 2 respectively; instead of doing like I currently do, totally resetting the value. I am not quite sure how I should use _WinAPI_GetWindowLong($wh, $GWL_STYLE) then how do I remove the flag for title and border? Hmm... *Edit* The reason for this thread is because with my current code windows act weird, the 3D content acts like there is a title and border, so the mouse cursor has an offset, i.e. I have to click below a button in the game to actually click it, since with the title offset the game then interprets the mouse being over the button, while without the title the height shifts so there is a loss of visual sync between 3D and mouse pointer. Also, do I really need _WinAPI_UpdateWindow at all? Just curious, not sure what it does exactly.
×
×
  • Create New...