Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • September 01, 2015, 05:10:58 AM
  • Proudly celebrating 10 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA: always-on-top transparent picture viewer  (Read 14678 times)

sesammases

  • Participant
  • Joined in 2008
  • *
  • Posts: 2
    • View Profile
    • Donate to Member
IDEA: always-on-top transparent picture viewer
« on: September 12, 2008, 05:08:48 PM »
I want to place a logotype in one corner of the screen. A bit like TV-stations often show their logotype in the top right corner.

This one is quite close: http://www.htmlapp.c...goto=transparent_ups
Even if I buy their shareware, I doubt I could get rid of the frame that appears when aiming on top of the logo. And I need transparency through the picture, since it's probably going to cover some important parts of any maximised window :).

I also looked through http://www.nonags.com/nonags/grview.html and read about BS Player http://www.hardforum...ead.php?p=1032947291

But I don't find any util that does:
At startup
1. lets me choose a picture (GIF or PNG)
2. shows the picture, without any frame (like a splash screen) in the top right corner, and must stay always on top.
3. Then the picture becomes visually and functionally transparent. If I have a maximised window, I should see through and be able to click minimise/restore/close as usual.

This is the "logotype watermark, as seen on TV!" :-). I don't know if I _need_ any more features.

Some more ideas, most important to me first:
Bonus 1.
It would be cool if animated GIFs could work. Or AVI, but then without control buttons, just the picture. (With each file format, adjusting the window and media box control sizes might be the biggest task.)

Bonus 2.
Be able to change the transparency percentage/level. (I think there exists freeware/shareware that can adjust transparency of the whole window, which should do the trick. It could be handy to not have to run an extra program though.)

Bonus 3.
Be able to position the picture. This could be done at startup, maybe by moving the mouse and clicking to confirm the position. (That same transparency-program I seem to remember could also adjust positioning and other things by editing numbers.)

I'd like to not have this toy/tool showing anything in the task bar, to make it a bit trickier to close by mistake. Tray icon not neededclosing via Task Manager is good enough :). But I think this place has a standard of adding some links to the website, which would fit in on the tray icon then.

In Windows 95 times I did some Visual Basic program that almost managed the basic functionality, using source from searches on "splash screen" and "tray icon". Or if I got it from a programming intro book :0. There were some nasty win32 api calls in it. So if someone has a programming environment ready, I could support the programming process by looking up some source code examples!

VideoInPicture

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 467
    • View Profile
    • Circle Dock
    • Donate to Member
Re: IDEA: always-on-top transparent picture viewer
« Reply #1 on: September 12, 2008, 05:19:34 PM »
What would this program be used for?
Author of Circle Dock: http://circledock.wikidot.com
Author of Video In Picture: http://videoinpicture.wikidot.com
Author of Webcam Signature: http://webcamsignature.wikidot.com
Author of Easy Unicode Paster: http://easyunicodepaster.wikidot.com

sesammases

  • Participant
  • Joined in 2008
  • *
  • Posts: 2
    • View Profile
    • Donate to Member
Re: IDEA: always-on-top transparent picture viewer
« Reply #2 on: September 12, 2008, 05:48:14 PM »
I would run it when I'm working with a client, or maybe when preparing an installation, to expose the company logotype.

Ah, now I remember another bonus idea.
Bonus 4.
Be able to work as a Screensaver. (In the old days, this meant renaming the .exe to .scr and making sure it could accept some command-line parameters, making some calls to remind Windows if the screensaver is running or not, and detecting mouse/keyboard events that should tell windows the screensaver is shutting down, and then shut down :)

belkira

  • Member
  • Joined in 2006
  • **
  • Posts: 52
    • View Profile
    • Donate to Member
Re: IDEA: always-on-top transparent picture viewer
« Reply #3 on: September 12, 2008, 06:02:50 PM »
While not perfect, and Im sure someone else will come up with something better here is something that should work.
You will need to set the x value and possibly the y value in the gui show line to place the image where you want it.
The level for the transparancy is 0 to 255. 0 makes the window invisible while 255 makes it opaque.

Code: [Select]
fileselectfile, pic,,,Select the picture to use
gui,add,picture,w200 h-1, %pic%
gui, -sysmenu +toolwindow -caption +alwaysontop
gui, show, x1080 y0, Watermark
Winset, Transparent,150,Watermark
WinSet, ExStyle, +0x00000020, Watermark
return


guiclose:
exitapp
« Last Edit: September 13, 2008, 12:47:24 AM by belkira »

VideoInPicture

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 467
    • View Profile
    • Circle Dock
    • Donate to Member
Re: IDEA: always-on-top transparent picture viewer
« Reply #4 on: September 21, 2008, 07:34:12 PM »
http://customdesktoplogo.wikidot.com

CDL_Excel_Coca_Cola.jpgIDEA: always-on-top transparent picture viewer1
CDL_Word_Coca_Cola.jpgIDEA: always-on-top transparent picture viewer2
CDL_PowerpointFull_Coca_Cola.jpgIDEA: always-on-top transparent picture viewer3
CDL_Google_DonationCoder.jpgIDEA: always-on-top transparent picture viewer4
CDL_SelectImages.jpgIDEA: always-on-top transparent picture viewer5
CDL_Location.jpgIDEA: always-on-top transparent picture viewer6
CDL_AnimationGraphics.jpgIDEA: always-on-top transparent picture viewer7
CDL_Size.jpgIDEA: always-on-top transparent picture viewer8
CDL_Language.jpgIDEA: always-on-top transparent picture viewer9
CDL_Folder_Coca_Cola.jpgIDEA: always-on-top transparent picture viewer10

http://customdesktoplogo.wikidot.com

I've coded Custom Desktop Logo that I think will suit your needs. I've tried searching for other desktop logo programs out on the net but didn't find anything that actually did a good job of rendering the graphics, particularly with PNG images. I think Custom Desktop Logo can be considered one of the best desktop logo programs out there based on what I've tested.

For a desktop logo program, you will only want to use PNG images because:
PNG images have alpha channel data as part of the image format and Custom Desktop Logo uses this data to create smooth, professional looking graphics. Most other popular image formats, such as GIF, JPEG, and BMP, do not have alpha channel data and if rendered to a desktop setting, look unprofessional. It is possible to render other image formats to the desktop but during coding, I chose not to allow it because of the poor results that would occur otherwise

I think Custom Desktop Logo is quite useful in it's current state and is very stable so you can use it in presentations. I think many professionals will find this to be a useful tool to help brand their company.

Note: .Net Framework 2.0 or later is required to run Custom Desktop Logo.

Features of Custom Desktop Logo
  • Create static or animated desktop logos using PNG images. Use it for presentations and fair booths to help brand your company or product.
  • Renders professional looking logos that can either stay on top of everything or stay on the desktop.
  • Multi-monitor support - create logos across all your monitors.
  • Many display location options for the placement of the logo on your screen.
  • Control the logo opacity, size, animation speed, and delays between animations.
  • Multi-language compatible. Simply translate the English.ini file in the Languages folder to a language of your choice.
  • Your mouse movements and clicks pass right through the logos so it doesn't interfere with your work.

What Sets Custom Desktop Logo Apart From Other Desktop Logo Programs
  • It is a high quality program that is open source and free to use. Donate to the project development if you like the program.
  • It correctly renders professional looking graphics from PNG images using alpha blending. This means that the logo appears to be part of your screen instead of having borders that appear all pixelated and off color.
  • Stable and easy to use. Run it all day long without problems.

Author of Circle Dock: http://circledock.wikidot.com
Author of Video In Picture: http://videoinpicture.wikidot.com
Author of Webcam Signature: http://webcamsignature.wikidot.com
Author of Easy Unicode Paster: http://easyunicodepaster.wikidot.com
« Last Edit: September 21, 2008, 07:52:47 PM by VideoInPicture »

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 34,968
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Donate to Member
Re: IDEA: always-on-top transparent picture viewer
« Reply #5 on: September 21, 2008, 07:43:08 PM »
Eric, you continue to amaze.

I hope i don't have to remind people that if you appreciate what Eric has been creating on the forum, that you send him a few donationcredits and a word of encouragement!  We are extremely lucky to have coders like Eric roaming the forum and implementing requests and we need to let him know how much it's appreciated.

-mouser

perlguy

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 30
    • View Profile
    • Donate to Member
Re: IDEA: always-on-top transparent picture viewer
« Reply #6 on: October 08, 2008, 11:35:20 PM »
This might fit the bill... http://www.noping.net/kent/osiva/

drag the image you want onto the drop spot, size how you want, hit "T" to make transparent... Or, set the transparency level if you want translucency. then minimize the toolbar.

Drakh

  • Participant
  • Joined in 2010
  • *
  • Posts: 2
    • View Profile
    • Donate to Member
Re: IDEA: always-on-top transparent picture viewer
« Reply #7 on: June 08, 2010, 04:39:27 PM »
Great piece of software, simple to the point, I was also looking for a way to show a topmost transparent image on secondary monitor and found other little program that can't do transparency but have another nice feature, persistent topmost, it means that if another topmost window covers the image, then it will jump again to be the topmost window (looks like it does it with a 2secs timer), now with that, the program would be complete  :).

I will try to add that feature, but my programming skills are highly limited  :(.

Great job!.

P.S.: No Success, someone can helpme add a timer to reset focus to mainwindow?
« Last Edit: June 08, 2010, 06:35:09 PM by Drakh »

Drakh

  • Participant
  • Joined in 2010
  • *
  • Posts: 2
    • View Profile
    • Donate to Member
Re: IDEA: always-on-top transparent picture viewer
« Reply #8 on: August 23, 2010, 07:18:47 PM »
Noone who can add a timer to re-set focus to this viewer each 'n' secons? I'm using it but there are certain situations where the viewer is sent to back when another window with always-on-top is opened.

Thanks in advance.

SleepingWolf

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 107
    • View Profile
    • Donate to Member
Re: IDEA: always-on-top transparent picture viewer
« Reply #9 on: August 31, 2010, 08:49:00 AM »
Drakh : If you're asking for programming help you'd best give the programming language you're using or you'll get no help.

Eric : Nine days for a feature-rich program... You may be the tenth wonder of the world.
-------------------------------------------

Choose life -or at least respect it.
« Last Edit: August 31, 2010, 08:50:37 AM by SleepingWolf »