News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests
NB: Posting URL's See here: Posted URL Change

Main Menu

Overlay windows example (layered windows)

Started by qWord, April 06, 2013, 09:15:05 AM

Previous topic - Next topic

qWord

Hello,
the following example is a reply to this thread.

The example shows a ways to create an transparent overlay for a window using layered windows. The overlay will have the same size as the target window, which must be a top level window. Events are managed using SetWinEventHook() function. Even the example is not perfect, but it shows the way to go.
It should be work for Win2K+, but I've only test it for WinXp and Win7(x64).
Other solution (preferentially with an example) are welcome.

regards, qWord
MREAL macros - when you need floating point arithmetic while assembling!

dedndave

nice - never seen anything like it   :t

Magnum

I ran it and it opened Winzip to add a file.

Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org

jj2007


Gunther

You have to know the facts before you can distort them.

FORTRANS

Hi,

  Works with Windows 2000.  Very interesting.  However some
odd behavior when used on a CMD.EXE window.  Screen dump
attached.

Cheers,

Steve N.

qWord

Quote from: FORTRANS on April 06, 2013, 11:27:19 PMHowever some
odd behavior when used on a CMD.EXE window.
yep.
Probably it is that the console window is owned by an other process (conhost.exe on win7) than the actual application. Again an nice example that shows how special console windows are :biggrin:
MREAL macros - when you need floating point arithmetic while assembling!


dedndave

wow, Steve - i haven't seen Netscape for a long time   :P

FORTRANS

Hi Dave,

   Oh well.  Google, CenturyLink, NPR, YouTube, and others
are leaving some not so subtle hints that I should do something.
Not to mention about a third of the links posted here in the forum.
But it works with the forum more pleasently than newer ones.
(A tiny bit easier on the eyes due to a flatter, duller appearance.)

Cheers,

Steve N.

dedndave

i was a big Netscape fan about 15 years ago (browser wars)   :P

Magnum

I think when Netscape was popular, it was just them and I.E.

Hard to believe they have been gone for around 18 yrs.

Take care,
                   Andy

Ubuntu-mate-18.04-desktop-amd64

http://www.goodnewsnetwork.org