Results for "Category: Custom Controls/ Forms/ Menus"
Cool list ..., see screen shot.
ActiveX control like on WinXP open dialog.
2 controls that vastly extend the cababilities of Visual basic. *** VBEventWindow - provides a simple subclassing control. Events: - ActiveApplicationChanged, fired when your app gains or loses user focus - LostCapture, fired when your app gains or loses the capture - KeyPressed, fired when any of the keys are pressed - LowMemory, fired when the system is running low on memory - Move, fired when the form is moved - VerticalScroll, HorizontalScroll, fired when the form scrollbars are set - WindowsSettingsChanged, WindowsINIChanged , fired when the windows environment settings are changed - NonClientMouseMove,NonClientMouseDown,NonClientMouseUp,NonClientDblClick, fired when a mouse event occurs in the non-client part of your form - MinMaxSize, fired when the OS wants to know what size to make your form either in response to a minimise/maximise command or when the user is dragging the resize box. - MouseOverMenu, fired when the mouse is over a top level menu - WindowMessageFired fired for all the other windows messages Methods: - InvalidateRect, Sets part of the form invalid to indicate that it needs to be repainted Properties: - ClassName, returns the windows class name fo the form - DeviceContext, returns the device contect of the form (for graphical operations) - HorizontalScrollbar, VerticalScrollbar, sets or unsets scrollbars on the form - TopMost sets the form to float over the top of other forms - Transparent, makes the formclient area invisible Use: In the form load... Private Sub Form_Load() Me.VBEventWindow.ParentForm = Me.hWnd End Sub *** VBSysTrayCtl - Provides a simple control to allow your application to use the SysTray Events: - MouseMove, Fired when the mouse moves over the tray icon - MouseDown, Fired when a mouse down event occurs over the tray icon - MouseUp, Fired when a mouse up event occurs over the tray icon - MouseDblClick, Fired when the user double clicks the Tray Icon Methods: - ShowIcon, displays the icon in the system tray area - Hideicon, removes the icon from the system tray area - Refresh, updates the icon displayed in the system tray area Properties: - Tooltip, the tip that is displayed if the user hovers the mouse over your systray icon Use: In the form load.... Private Sub Form_Load() Me.VBSysTrayCtl1.Tooltip = "Merrion Computing" Me.VBSysTrayCtl1.ShowIcon End Sub Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer) Me.VBSysTrayCtl1.Hideicon End Sub
Installs a system wide hotkey which triggers the HotkeyPressed event whenever the chosen hotkey combination is pressed - regardless of whether your application has the focus or not. Release 1.0.5 allows the hotkey to be changed at runtime and also to be enabled/disabled.
This Code Lets The User Design A skin Very Easily for one of your programs, It is Very easily customisable and the user can do a quick preview, The code is set up for the 3 test programs i have included, These also teach you basic functions of visual basic so if your a newbie and wanna get started download this, To Know the style of this project you really have to download, If nothing else its just interesting P.S You Dont have to supply the skin maker with yout Project you can just Use it to make cool skins for ur prog.You need microsoft form 2.0 object library to use the demo projects and priveiw screen. THIS CODE IS SO EFFECTIVE YET SUPER SIOMPLE U'LL LAUGH! It can teach everyobody something about something! IF YOU LIKE IT PLEASE VOTE, I NEARLY GIVE UP VB LAST TIME CUZ NO ONE VOTED!!!
This is a rich-text-box with a built-in line-number panel on the left. Typical use would be for a script editor language IDE. I Couldn't find a decent one on here that did this, so I spent some time doing it myself, and passing it on for you to use (and improve on, of course). It is a pretty basic control, but I did make into a control so you can just pop it onto a form and go (of course, source code for control is included). You can control the Line Number panel width, backcolor and forecolor, along with all textbox stuff (uses RTF in case you want to use my syntax code colorizer submission). The Line number panel automatically adjusts its font to be the same name/size/etc., as the text box so that they line up properly. Hope you find it helpful - if so, votes are always appreciated (kind of makes me feel like it was time well spent).
I have been tinkering with the Windows API AnimateWindow function, and have wrapped it into a user control, which you can drop onto any top-level window. You simply call the controls CloseAnimation method from the form_unload event, and your window will roll or slide up, down, left, or right, or fade or zoom to nothing. This easy to use control has 2 main properties - the "AnimationEffect", and the "EffectDelay". The included example project here shows how easy it is to use. It seems that this API Function exists in Windows 98, ME, 2000, and XP (I was unable to get this to work with Windows 95 or Windows NT). I got varying levels of effectiveness depending on the OS. Keeping the EffectDelay to a minimum (500 or less) usually produces great results. This project has the default delay at 1000 to exagerate the effect, but you should set to 400 or 500 in your projects. Use the "Project1.vbp" to see the example, or include the CoolAnimate.ctl in your project to just use the user control. Hope this is helpful to some of you.
Place this control on a form along with two other controls (text boxes, etc). In the forms Load method, place the following code (this example is for two text boxes... if you can't figure this out, un-install VB from your computer) WESplitter1.LeftChild Text1.hwnd, Text1 WESplitter1.RightChild Text2.hwnd, Text2
Esta es la versión en español de mi control ISCombo. Esta versión tiene toda la funcionalidad de la versión en Ingles (y mas?) y está mejor comentada. Apoyemos la presencia de la comunidad de habla hispana en Planet-source-code ;). si tienen dudas o sugerencias o quejas por favor escribanme y por favor . . .Voten! si quieren pueden votar aquí mismo, pero si pueden, les pido que lo hagan en la versión en Ingles, la dirección está en el programa de demostración (Ir a la página de PSC), podría poner la dirección aquí, pero eliminarían esta submisión :( por favor dejen comentarios. Fred.cpp
This update inclides also, Customization for all colors and Autocomplete. And these Graphic styles * Normal. * MSOffice 2000 * MSOffice XP * Windows XP. If You liked previous Version You Will Love this one !! Please Leave Comments And Vote ! If you have more suggestions please mailme !
This is a Flat ImageCombo, I made It, because I was bored with the "normal" Combo from VB. And I could'n detect when user selectted an Item on the list. So I decided make one better. It's very userful ( I hope ) please Check It out and vote. Comments are also very apreciated.
Name: prjPanelTest Description: this control is very useful for those who need more space on their forms, you can extend you form space using this control, see example form how to use: 1.- Insert a ISPanel Control in your form 2.- Insert controls in a picture Box 3.- In the Form Load Event call the Attach Function and pass the picturebox as parameter. 4.- In the Query Unload event call the detach Function Notes: the Control Captures the events of the Picturebox, so if you resize the picturebox, the control adjust the scrollbars. Also, if you resize the ISPanel control, it adjust his properties Feedback and Votes are GREATLY appreciated ;)
This is the last Version of the ISPannel Control, A control that allows programmers to extend the aviable space in their forms, adding the posibility of show scrollbars, and now, also select a borderstyle. please leave comments.
Just See the Screenshot!. Have You ever wanted to use in your apps a control like the left bar in the explorer? there are some controls like that on the net, but they have too many dependences. isExplorerBar is a SINGLE FILE CONTROL and has almost NO DEPENDENCES (actually runs without extra dependences in a new VB Project) And uses THE REAL theme apareance or emulates it when no theme data aviable, everything is done in Runtime, using UxTheme.dll (included in WinXP). no extra dll's or subclasing cls modules, a single file control that has everything you need to make your apps look better. I've put a lot of work on this. please donwnload and tellme what you think. I've created a webpage for this control. includes some help, comments and extra info about It. please comments, sugestions and of course, votes are wellcome. ************************************************* Lot Of Updates, Current version: 1.91 Feedback comments, are wellcome. Visit the page for versions history. Best Regards to everyone. Fred.cpp
Lot of controls have Imited XP controls with images or code drawing, This is a small template that will show you how to give your usercontrols XP look, Using the real theme data. Heavily commented and easy to understand, this example only draws a command Button With 2 states: Normal and pressed, that's to make the code easy, but you can easily extend this functionality to more states like hover, defaulted, etc. includes names and ID's for all classes, parts and states for the windows controls. Comments, votes, suggestions, requests are wellcome. Regards. - Fred.cpp
Do you want to change the style of your boring command buttons? try this cuztomizable button, drawn by code, baloon tooltips, 10 Visual Styles( winXP, Office XP, Mac OSX and more!), customizable caption and icon align and more! See screenshot. Also Includes a very creative way to show a about box Without add a extra form (using some api calls). The button is a single file control, without more dependences than VB Itself. uses Paul Caton Self subclasser: ' http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=54117&lngWId=1 Feedback Is highly apreciated. I'm working on the MacOSX style, since I need a faster way to draw It. Please coment. also, votes are wellcome. I've made a page for the control: http://www.geocities.com/isbutton3/ Update Includes lot of fixes and Checkbox behavior and Value property. If you want a Multy style ComboBox try SComboBox ( http://www.planet-source-code.com/vb/scripts/ShowCode.asp?lngWId=1&txtCodeId=56157 ) Regards and Have fun
isButton is an award winner button; is a single file usercontrol with various visual styles and with custom properties like text align, icon align, custom tooltips, and customizable colors. This (hopefully) final update fixes the annoying bugs the version 3.0 had. Uses Paul Caton's self subclassing method. Grayscaled Icons when Disabled were added (thanks to Dennis (dvrdsr)) I Implemented also this feature for BMP Images used as icons, UseMaskColor and Mask color. Comments (and why not? votes) are wellcome. There is a ocx version on my home page ( http://mx.geocities.com/fred_cpp ) at the programming section. ************************************************************** Version 3.4.1 - Changes: Fixed Black BMP's when align <> Right; Removed picturebox pMask for temporal drawing(By teee_eeee); Support for custom Shapes By theme (Thanks to Dana Seaman) ************************************************************** Version 3.4.2 - Changes: Code Clean Up and Now Working Default and Cancel properties, Error Handling in all routines, fixed Keyboard events (All Done by Aldo Vargas) ************************************************************** Version 3.5.0 - Changes: Added Multiline Support For caption,Corrected Java Rects Added Custom Offset for text and Icons for each Style ************************************************************** 2005-7-20 / Version 3.5.1 Added RightToLeft property (Still testing) ************************************************************** 2005-7-28 / Version 3.6.0 Fixed CaptionAlign, Added Space Bar Support (Thanks to Jiri Novotny) Now hover button doesn't bring to front the parent form :) ************************************************************** 2005-7-29 / Version 3.6.1 Code Clean up! RightToLeft fixed? Last Update: 2005-7-39 ************************************************************** 2005-7-29 / Version 3.6.2 A Fast Click detection bug Fixed. Last Update: 2005-9-16
Just a snippet i wrote to show fancy form closing effect.
Updated: 20-Feb-2005. Now Include Example Showing Its Uses (Add To SysTray Code) This code allows you to add any command button (or any control with hwnd) to the VB forms's title bar. Take a look at my other PSC submission ID: 58620
I needed to use windows xp (32-bit alpha icons) icons in my vb app, but vb does not supports them. one day I found a example on vbaccelerator, the vbaccelerator example was fully working but I found one problem with it. the example shown at vbaccelerator needed we should make a Resource Script, in other words the resource file should be manually made. this article shows how you can use xp style icon for the follwing conditions: 1. without using resource at all or without breaking you existing resource file. Plese Vote If You Found this Usefull.