5,696,038 members and growing! (17,052 online)
Email Password   helpLost your password?
General Programming » DLLs & Assemblies » Hooks     Intermediate

Makes any windows "Always On Top"

By Ramanan.T

This is a simple tool which places PushPin button on all windows through system wide hook.
VC6, C++Windows, Win2KVS6, Visual Studio, Dev

Posted: 11 Dec 2004
Updated: 11 Dec 2004
Views: 46,306
Bookmarked: 37 times
Announcements
Loading...



Search    
Advanced Search
Sitemap
20 votes for this Article.
Popularity: 5.18 Rating: 3.98 out of 5
1 vote, 5.0%
1
0 votes, 0.0%
2
1 vote, 5.0%
3
6 votes, 30.0%
4
12 votes, 60.0%
5

Sample Image - WinPin.jpg

Introduction

This is the mixed version tool of "CPushPinButton v1.13 - A Push Pin Implementation", the article by P.J. Naughter and "Iconizer", the article by Bart Gysens. This tool has very much simpler code. I have eliminated most of the complicated stuffs.

This tool places a PushPin like button on any windows through system wide hook. The clicked window will be on top of all windows. This is very useful when you have some thing from one window to see and type to another huge window.

Source

Source ZIP file includes two projects.

  • WinPinApp - Executable to start the hook.
  • WinPinDll - System wide hooking DLL.

Additional Note

On the WinPinDll project if you define FRAME_CONTROL, this DLL will draw a blank button using DrawFramControl API on all window caption. If you undefine FRAME_CONTROL, DLL will draw PushPin like bitmap button on all window captions (see the above figure).

Execute

Place the WinPinApp.Exe and WinPinDll.Dll in to one folder and execute the exe. Immediately you can PushPin button on all your windows.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

Ramanan.T



Occupation: Software Developer (Senior)
Location: Australia Australia

Other popular DLLs & Assemblies articles:

Article Top
Sign Up to vote for this article
You must Sign In to use this message board.
FAQ FAQ Noise ToleranceSearch Search Messages 
 Layout  Per page   
 Msgs 1 to 12 of 12 (Total in Forum: 12) (Refresh)FirstPrevNext
GeneralphpDesigner 2007 Professional Crashmemberriffo4:36 12 Oct '07  
Generalcould you make it work on DOS based programs?memberpongup13:22 9 May '06  
GeneralRe: could you make it work on DOS based programs?memberSa6ry14:27 24 Nov '07  
GeneralGood but has issuesmemberpalantir7:52 25 Jan '06  
QuestionHow to uninstall winpin? Just in case...memberncacar2:27 2 Dec '05  
AnswerRe: How to uninstall winpin? Just in case...memberThatsAlok22:09 9 Feb '06  
GeneralIE Crashing!memberBadger372:20 2 Jan '05  
GeneralRe: IE Crashing!memberdatakprosto1:08 16 May '07  
GeneralStrange behaviour with 2 screensmemberTradiator3:42 16 Dec '04  
GeneralYou beat me to it!memberPaul S. Vickery23:13 14 Dec '04  
GeneralExcEllent JobsmemberThatsAlok20:54 12 Dec '04  
GeneralRe: ExcEllent JobsmemberChiew Heng Wah23:10 14 Dec '04  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 11 Dec 2004
Editor: Sumalatha K.R.
Copyright 2004 by Ramanan.T
Everything else Copyright © CodeProject, 1999-2008
FileMail | Advertise on the Code Project