Results for "top"
Simply and easily resize all the controls on any form by use of a reusable class. Set the different modes for the Left, Top, Width and Height properties of controls by entering 4 numbers into their Tag property (a number for Left, a number for Top, a number for Width and a number for Height). There are 4 different modes: Do nothing: the resize code wont touch properties with this mode. Proportional: control property will be resized according to the forms change. Static change: the control property will move with the form. Limited static change: if the form is made too small then the control wont go off the screen (still in testing stage). For example; a label with a tag of '0011' will not change its left or top property, and the width and height will change proportionally. The next release will be even more improved with the Limited Static Change fully tested and an add-in to easily configure tag properties. Please vote and leave constructive critisism.
This code example will append a separator and a new MenuItem 'Always on Top' to the system menu of any form. The menu is affected weather left clicked from the control box on the form or right clicked from the taskbar. Subclassing is used to trap when the 'Always on Top' item is clicked. The custom message handler uses the SetWindowPos function to keep window on top or reset it to normal. Also on a lark I traped out the close menu item to prompt before closing. If you say yes then the close message it passed otherwise the close message is traped out and the form stays open.
Easy CPU meter is a resizable, always on top CPU meter that monitors the processors cylces. It allows the user to view the percentage of the proccesors power that is being consumed. In addition, it demonstrates manipulating the window state(ie. borderless) and always on top. The always on top module alone is usefull! Please give me feedback on my first post! ***Update: Now includes clsontop and pdh.dll***
This button was created to be an enhanced replacement for Visual Basic's standard command button by adding more options, visual effects, and compatibility. I cannot guarantee that this code is bug free although I have made every attempt to make it such. If you have any problems with this code please contact me and I'll do what I can to help you through the problem. Release 1.3.0: + New: - Added Picture Alignment (Thanks Edwin Vermeer) - Added Elliptical and Box Gradients - Added Caption and Picture Alignment Cushions (Almost like margins) - Added BackGround/Control Autosizing (Picture Modes) - Added HSL Gradient Blending (Thanks Ulli & Edwin Vermeer) - Added Gradient Repetitions (Thanks Edwin Vermeer) - Added Hover options which allow Full Hover Effects / Border Only Hover / All Hover Effects except Border - Added Mouse Pointer/Icon handling for Disabled, Down, and Hover states. + Fixed: - Bug in Enabled Property (Design Mode, Control would appear enabled even though control was disabled after a form with control on it was closed then re-opened, Bug has present since Release 1.0.0) (Thanks for reporting problem, Edwin Vermeer) - Bug in scaling that would cause the button to crash when placed on a parent that did not have ScaleMode available (PictureBox on an MDI form, etc...). Now if Parent.ScaleMode is not available button will scale co-ordinates to Twips (Thanks for reporting problem, costamar) - Bug in ToolTips that would cause button to crash when used in environments without the extender object (Access VBA, etc...) (Thanks for reporting problem, Edwin Vermeer) + Improved: - Caption Alignment has been improved to allow for positioning in any of 9 different positions [Changed existing enumeration which will cause some problems when upgrading] (Left Top / Left Middle / Left Bottom / Center Top Center Middle / Center Bottom / Right Top / Right Middle / Right Bottom) - Enabled/Disabled coding to allow more control over the Disabled state of the control. Now prevents event processing instead of disabling the user control. - ToolTips to allow using ToolTips in environments that don't support the Extender.
This is a simple class module that wraps the Always On Top function to make your forms on top of others.
Top Sites script, let your visitors add there sites and then get there visitors to come to your site to vote for there website website, for it to be the best, the top site :) Ive basicaly created this script for my sites online website compertision which is opening soon. The script donst use cookies because if it did those who have them turned off wouldnt be able to join in. It includes everything you need to get started, and is well commented.
This ONE LINE of code will make a form stay on top of your application. This is good to use for toolbars, search forms, and so on. This WILL NOT make the form stay on top of all running applictions, only yours.
The purpose of this extremely small code is to take a form within your application and keep it on top of all the forms within your application. (Modal Forms) Note however that when you use this code, it will make all other forms in your application inaccessible until that form is closed. This is great for times when you have a form like starting a new game, or a form that tells about your program that you want to stay on top and "stop" your program until it is closed.
Keeps Your Form On Top This Is Really Kewl Because You Can Just Use A false attribuite to set it as not on top instead of using 2 functions
This code will make your form stay on top of any other windows running, just like winamp stays on top.
This simple API call with less than 10 lines allows your users to resize your controls just like in the design mode. The sample code provided here demonstrates left and right resizing on a control. You can further enhance it to allow top bottom, top-right, top-left resizing, and etc. This code was originally from Fran Pregernik, Zagreb, Croatia. This is pretty cool!
This code example will append a separator and a new MenuItem 'Always on Top' to the system menu of any form. The menu is affected weather left clicked from the control box on the form or right clicked from the taskbar. Subclassing is used to trap when the 'Always on Top' item is clicked. The custom message handler uses the SetWindowPos function to keep window on top or reset it to normal. Also on a lark I traped out the close menu item to prompt before closing. If you say yes then the close message it passed otherwise the close message is traped out and the form stays open.
This is a simple class module that wraps the Always On Top function to make your forms on top of others.
This button was created to be an enhanced replacement for Visual Basic's standard command button by adding more options, visual effects, and compatibility. I cannot guarantee that this code is bug free although I have made every attempt to make it such. If you have any problems with this code please contact me and I'll do what I can to help you through the problem. Release 1.3.0: + New: - Added Picture Alignment (Thanks Edwin Vermeer) - Added Elliptical and Box Gradients - Added Caption and Picture Alignment Cushions (Almost like margins) - Added BackGround/Control Autosizing (Picture Modes) - Added HSL Gradient Blending (Thanks Ulli & Edwin Vermeer) - Added Gradient Repetitions (Thanks Edwin Vermeer) - Added Hover options which allow Full Hover Effects / Border Only Hover / All Hover Effects except Border - Added Mouse Pointer/Icon handling for Disabled, Down, and Hover states. + Fixed: - Bug in Enabled Property (Design Mode, Control would appear enabled even though control was disabled after a form with control on it was closed then re-opened, Bug has present since Release 1.0.0) (Thanks for reporting problem, Edwin Vermeer) - Bug in scaling that would cause the button to crash when placed on a parent that did not have ScaleMode available (PictureBox on an MDI form, etc...). Now if Parent.ScaleMode is not available button will scale co-ordinates to Twips (Thanks for reporting problem, costamar) - Bug in ToolTips that would cause button to crash when used in environments without the extender object (Access VBA, etc...) (Thanks for reporting problem, Edwin Vermeer) + Improved: - Caption Alignment has been improved to allow for positioning in any of 9 different positions [Changed existing enumeration which will cause some problems when upgrading] (Left Top / Left Middle / Left Bottom / Center Top Center Middle / Center Bottom / Right Top / Right Middle / Right Bottom) - Enabled/Disabled coding to allow more control over the Disabled state of the control. Now prevents event processing instead of disabling the user control. - ToolTips to allow using ToolTips in environments that don't support the Extender.
This code makes your form on Always on top. Its not like some other codes i saw recently. One only let your form be on top within your program. Another didn't work at all. This one does! DONT FORGET TO VOTE.
Update: Thanks to neal who added the support for the maximize like button which makes the docked window maximize along with titlebar appearing on the side on top/bottom windows. TabDock is designed to provide Docking support similiar to that seen in Visual Basic itself, VC++, and a number of other programs available on the market today. It was originally written by Marclei V Silva and though an excellent control it was somewhat on the buggy side and was missing a number of features. This version has many of the desired features and all the known bugs have been worked out of it. It also directly incorperates the ssubtmr.dll from vbaccelerator so it is no longer a seperate requirement. New titlebar drawing methods are offered as well to give you options on how titlebars are drawn, and bottom/top docking is done side by side instead of on top of eachother. Also a persistant option is included which allows the tabdock control to automaticly load it's saved state up for you. It saves it even if the persistant state is off but will only read it and use it if the persistant state is on. It uses the registry. Comments are welcome, and appreciated. You may modify and repost this code. The original author gave myself and Neal permission and the same permission is extended from us to you. This code is fairly advanced, and uses a lot of subclassing to achieve it's effect. Please note it is not recomended you close the IDE while running this through the IDE, it will likely crash if you do. Anyway enjoy :)
This ONE LINE of code will make a form stay on top of your application. This is good to use for toolbars, search forms, and so on. This WILL NOT make the form stay on top of all running applictions, only yours.
The purpose of this extremely small code is to take a form within your application and keep it on top of all the forms within your application. (Modal Forms) Note however that when you use this code, it will make all other forms in your application inaccessible until that form is closed. This is great for times when you have a form like starting a new game, or a form that tells about your program that you want to stay on top and "stop" your program until it is closed.
Keeps Your Form On Top This Is Really Kewl Because You Can Just Use A false attribuite to set it as not on top instead of using 2 functions
This code will make your form stay on top of any other windows running, just like winamp stays on top.