Results for "Category: Custom Controls/ Forms/ Menus"
Chevrons are buttons that display a popup menu when there are more items on a toolbar than room to display them. All items that overflow the width of the toolbar are dynamically added to a popup menu to display them. Special thanks to Night Wolf for use of the Gold Button control which can be found here on Planet Source Code. Please vote if you like it, and drop me a line if you have any questions.
I have been able to find many Splitters that would split two areas on a single form, but what I needed was a Splitter in the way of being able to resize a control that was Right Aligned to an MDI Form - in this case, a PictureBox. This can easily be adapted to the Left, Top and Bottom. Check it out, it is worth trying. I am working towards making this into an ActiveX control once I have the logic nailed down. I'd appreciate any votes that you might feel like giving.
Now you can add resizable panels to any MDI Form. This control allows you to place a resizable panel on a side of the form and looks just like the resizable windows in the VB IDE. This is still a work in progress, as I plan to add some more exciting new features. I would appreciate feedback and comments.
This sample is a great starting point for a custom control. What this source code shows is how to use various shape controls and pictureboxes to create a custom frame container that has the ability to use rounded corners. This code is well commented. Most of this code can be easily migrated to an ActiveX control. See the screenshot for an example of its appearance. Feel free to leave me feedback, and I will try to respond. Don't forget to vote if you like it!
VBLayers is an ActiveX Control that will create a Layers Window, similar to that in Adobe Photoshop (see Screenshot). Features dragable layers, automatic scrolling, drag tracking and more. Very well commented and clean code. I welcome any feedback towards making this a better product, and appreciate any votes. (Note: Archive corrected to contain image references for project.)
SuperPicture is a modified PictureBox that supports scrolling and zooming. (Updated to include Panning support and fixes outstanding bugs. Added Picture property.) Based on original code submission by "amirnezhad", entitled "Simple Scrollable Image Viewer". Now is available as a UserControl. QuickBar for integrated zooming. Fixed scrollbar coloration. Well documented. I appreciate any feedback and/or votes. Enjoy!
Completely rewritten. Add an Adobe Photoshop styled layers dialog to your application. Please refer the the screenshot to see this control in action. Supports realtime layer dragging, visibility and editability toggles, full thumnail support and much more. Any feedback and/or votes would be most appreciated.
Cool Progress Bar is a regular progress bar, but with some cool effects (ok, maybe I'm exaggerating a bit, but this was the first name that I came up with!). It was specially made for games (where a nice progress bar when loading the game always looks good, impresses the users and distracts them), but you can use it anywhere else. For now, all it supports is a gradation effect between two colors you choose (you can also choose the background color). But I plan to add a lot more effects, from custom graphics to transition effects and masks. If the progress bar looks awful in the screenshot, you probably have a color depth of 256 or 16 colors. 16 bits is the minimum for a cool effect. It's not my fault (you can always mess with the system's palette to make it use the progress bar's in 256 colors), sorry. Feel free to give me your own suggestions, and please vote, I worked very hard on this!
Includes demonstration of how to make labels appear as hyperlinks, open the users default web browser, and uses a hand cursor when hovering over the icon. The hand.cur file is loaded seperately so that you may incorporate it into your other applications.
An about/splash box that has a flicker-free Credit scroll. Uses only the form and one Picturebox; bitblt's the pb image into the client area of the form and uses InvalidateRect to force a redraw of only the area affected. Has methods to read data in from a .RES or a text file. Vote for me if you like what I've done with this, but take a look at Mark's original and let him know he did a great job too! This code uses the basic idea of Mark Robert Strange's 'Flicker Free Gradient Credits' and applies a great deal of modifications to use less resources and have more features.
Create a look like one used in windows2000 Great for wizards dialogs... Demostration of Drawedge API and DrawText API. if you like it, vote!
Forget about the PopUPMenu function in vb that restrict you just to use existing menus to use like popupmenus, with this class you will create dynamic popup menus with submenus and columns if you want.. if you like and don't want to vote. just send a comment... ( The dll code is inside zip, u just need the dll to binary compatibility ) now the dll is inside.. Don't forget to vote now!!!
This is a simple program that can make you print what you type. But you can improve it to make it more beautiful. You can make it like an order form. Try it first. And you know then.
OK! i will change the code comment. I don't wanna win the code contest. You must not look at the horrible graphics, but the code. How do create or clone a control? By creating a control array? By the method explained by venky dude? (good tutorial venky) This is simple a new way to create a control than can expand our knowledge of visual basic. You can create control, assign a name and code to the events in the way yo want. You can also remove the controls by it's own name (form1.controls.remove "goofy"). Try to do this in a control array!!! unload commandbutton(11). You still have 20 command button with control number 11 removed (more complicated).
This ActiveX DLL shows a screentip like the ones shown i Windows 2000. Use it almost the same way as the well know MsgBox. I hope that it will be usefull..
This a MsgBox replacement using Flash. While the flash movie is very simple, it does give a good example into using flash with VB. Read the REadme for information before using. The zip contains the dll, dll source, and source for a sample project using the dll. Also included the flash source so you can look at it and change it if you like.
Did you know that VB 5/6 applications will not render their controls with the new visual themes under Windows XP? Obviously, this is not good. This is the solution to this problem. This creates a REAL themed button under Windows XP by calling the Theme APIs, all wrapped up into an easy to use control. All you have to do is drop this control in your forms in place of the regular command button. Plus, as an added bonus, this control is completely backwards compatible! If the OS that your program is running on does not support Themes (or if they are disabled), this control simply displays the standard command button, without any extra work by you. This will give your applications a truely professional touch!
creates containers for objects
Move any form without a title bar! You can use a label, command button, picturebox, anything to move the form.
This code is a template for a scrolling form. This is great to use if you would like to create applications that work in all resolutions. I reccomend placing this form in your C:\Program Files\Microsoft Visual Studio\VB98\Template\Forms folder so that it is available as a form template.