Results for "Category: Custom Controls/ Forms/ Menus"
This control creates a splitter bar with 2 resizable panels. The panels are adjustable by a specifying the size of the Child1 panel through the PanelSize property. It also includes minimum and maxmimum size parameters. It is well commented and also provides a demo application to explain all the options. I would also like to thank Mark Joyal for his great SplitterControl on which this is based. His control provides a way to resize based by a percentage, while mine provides a way to resize based on a size value. Since this is my first Active-X control, I would really appreciate your votes and any feedback you can provide.
First off, This is my *FIRST* OCX file.. So don't laugh too much.. You can have a back image, change fore/back color Bar can go: Up>Down, Down>Up, Left>Right, right>Left You can set a caption: ie Loading.. (51%) instead of 51% You can show or hide the % (ie standard Percent bar or most install's percentage bar)
New version at http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=24869&lngWId=1 With this control you can flicker free animate multiple text lines. You can animate position, rotation, size and color. During the animation every text line is clickable.
Ever wanted to display graphical information about CPU, memory or any kind of variables? Check the screenshot and you'll know what I'm talking about. This PURE VISUAL BASIC made control adds graphical diagrams to your Visual Basic application very easily!! Just under 10 lines of code, and you have very cool graphical diagram monitoring your variables! All colors can be set easily. Also includes many other options to fit your app. Is you find this useful, please vote me or give me feedback.
This demonstrates how to use the windows api to dynamically (and quickly) reshape a form without hogging resources. It Doesn't Even Blink! PLEASE VOTE!
Background coloring tool for shading forms and fading a color from top to bottom. Colors are chosen using a color slider.
Sample Menu Program to show 3 different ways to highlight buttons when mouse moves over them
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.
Professional High Quality Code. Looks, works and behaves like the Windows Task/Icon bar on your screen (only better, with more properties). It actually forces the screen size to a slightly smaller size to fit the toolbar in place, thus the user still has full view of other software programs running at the same time. This is the genuine untouched code "...based on the J.Richter's CAppBar...", (FREEWARE)! Use it for many projects. No need to buy or use a TOOLBAR OCX. A few lines of code is all you need, when you add the prewritten BAS and CLS files. Creat your own BANNER style form, like the ones seen with FREE INTERNET servers. This code is genius!
If any of you saw my submission awhile ago that converted RTF to HTML. This has the original code from that post, but also has a function that converts HTML to RTF.
Generate very detailed random terrain. Uses a random seed generator so that if you enter the same number with the same parameters it will generate the same map for you. It includes many options like detail, smoothness and water level. After building it allows you to rotate it three-dimensionally.
Disable the shortcut ALT+F4 in a Form
This killer code demonstrates the fastest and most efficient way to combine pictures transparently. Designed to be used in a paint program or game, this picture will combine 2 pictures at any percent transparency. I haven't seen code of this nature anywhere else on the site, so be sure to check this out. This code could also be used to fade pictures into eachother (like they do in MYST with transitions mode on), if you're interested. Includes picture loading and saving code as well.
I have seen some e-mail stuff on this site, but all are so freakin complicated. This is simple and VERY easy to use!
What? Another marquee? Yep. Put into 1 class and 1 usercontrol file. Can contain separate text "blocks" each with it own forecolor. Use the mouse to drag the display from left to right (or right to left) during the scrolling (just in case you missed out something that scrolled away). Continuous scrolling (does NOT wait if the last block is out of view, then start the first block, BUT glues the first block to the last one, so you see no break). Can place separator between blocks. It looks like the BBC News ticker. Click event on each text "block", scroll speed, colours, font, etc. Just download and see for yourself. Need more convincing? Someone quoted this is the best marquee on PSC yet....
Capture desktop color and picture from mouse cursor position and save picture
This is a class module that allows a "Rebar", or an Internet Explorer style toolbar to be made. It subclasses the Rebar and can trigger events when the rebar is moved, resized, clicked, mouse moved, and a lot more. The rebar can hold any VB control, even UserControls. THIS IS NOT MY CODE! I am simply passing Ramon's code, which can be found at www.zonecorp.com His code made this sample possible! You can e-mail Ramon at [email protected]
Have you ever wanted to make your form's shape odd? Ok, there are several samples and programs around that can make your forms like a shape(circle, rounded box or something a little bit more complicated). But here is the example to make your form's shape to be ANY TEXT, in ANY FONT, in ANY SIZE and also any two colour's gradient. It's a really good example. Imagine you can shape the form not to be just plain text, but the shape of special fonts(such as Windings and Webdings). Just change the GetTextRgn function's variables(Font, Size, Text) and the variable Color1 and Color2. Easy. And the result is outstanding! You can also use the Chr$ function to add a text(this is useful for spec. chars).
This code takes account for the taskbar and the office toolbar when centering the form.
This code allows you to display an animated gif file in your project