Results for "Category: Custom Controls/ Forms/ Menus"
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 is an FTP OCX control. What it does is provide easy to use FTP access to applications. Applications can choose weather to download the file to a location using this control or to strictly store it in a string and make it accessible to the application. This way you could use it to say download a text file from an FTP site in your text editor. I know this control will work in vb6, and I'm almost positive it will also work in VB 4 and 5 because it just uses API to achieve it's goal. Leave comments and suggestions. Thanks :)
The movie Scroller component is something I did to use in my about box for a program I'm working on. But I figured I might as well make it public so anyone else who wishes to can use it. The movie scroller component is better than the one's I saw available though I suppose there may be ones I missed which do beat it out. Here's some of the things it can do that most can't: - It uses double buffering so no flickering. - It utilizes a simple per line script that lets you define how each line of text looks. This allows you to set font, font style, and font color. - It allows you to display a shadow and control the offset and color of the shadow.
An alternate to using Sliders, Scrollbars and UpDown controls. Not just an enhanced version of an existing type of control, but a new type of control altogether. Scrolls values up and down with the use of Visual thumb wheel, includes the ability to "Spin Over" to Minimum value when Maximum value has been attained and visa-versa.
Three self-drawn bevelled controls, no bitmaps used to create the full 3D effect. BUTTON control usable as command, option or check button. NUMERIC DISPLAY control with built-in interchangeable Base display, Display format, Angle Units and others, suitable for use as a calculator display. WHEEL control, this is a vast update of an ealier submission, may be used in place of scrollers, sliders, up-down control and progress-bar. This a beta version only, Property Pages have not yet been constructed and documentation needs to be expanded. Whether you like, dislike or hate this, please VOTE and reply with CONSTRUCTIVE comments.
Three self-drawn bevelled controls, no bitmaps used to create the full 3D effect. BUTTON control usable as command, option or check button. NUMERIC DISPLAY control with built-in interchangeable Base display, Display format, Angle Units and others, suitable for use as a calculator display. WHEEL control, this is a vast update of an ealier submission, may be used in place of scrollers, sliders, up-down control and progress-bar. This a beta version only, Property Pages have not yet been constructed and documentation needs to be expanded. Whether you like, dislike or hate this, please VOTE and reply with CONSTRUCTIVE comments.
Use FLAT BUTTON IN TOOLBAR like Office 97 without OCX... Just an API function. Very simple and optimizing code size.
This module allow you to explodes or implodes a form.
This program registers OCX Threed32.ocx since many users don't possess the licensa for this OCX. Please Vote to Me.
This ActiveX control makes it extremely easy to create server applications. It uses an array of Winsock controls to handle multiple connections. Start the server with one line of code! I included a sample project and a detailed explanation of all the events, properties, and methods, so you can see exactly how it is used (readme.rtf). Since PSC removes the OCX file from my zip, you can get it here: http://www.bouncefilterware.com/drew/ServerControl.ocx -- Your comments/questions/suggestions are welcome. UPDATE: I added a broadcast function. Although it's not the proper way to broadcast data, it works.
I got irked at the way the standard CommonDialog control responds to multiple file selection so I wrote my own. This one mimics the standard CDialog but has some extra features. Properties: Cancelled = true after showopen if user cancels DialogCaption = Caption of the dialog DialogX & DialogY = position of dialog DirectoriesOnly = browse for directories FileCount = Number of files returned after Showopen FileNameArray = Array of filenames returned Filter = filter as used in normal common dialog e.g. "All Files|*.*|Text Files|*.txt|Executables|*.exe" FilterIndex = Which of the above to start with e.g. 0 would refer to All Files, 1 to Text Files, etc InitDir = specifies initial directory to start, must exist ShowOpen (method) call the dialog You can customize this anyway you see fit. One thought would be to skin the Dialog form or add properties for fonts, fore & back colors, etc. I included a test project but you must first compile the ocx to use it. The ocx is in the zip but PSC may remove it. Enjoy.
Allows user to resize a control at runtime. Put the UserControl on a form and use the Attach method to size a particular control. There is an API way to do this, using CreateWindowEx, but I wanted to do it with a UserControl & here's the result. Enjoy.
Ever wanted your VB6 apps to fit in with Windows XP? Now you can do just that. There are other samples on this site that accomplish this, but they use user controls or images - which means that the controls are slow and may not be resizable - and they're large. Want a better solution? This is it. Real Windows XP controls on Windows XP that match the user's visual style (i.e. theme), without user controls or images, with only one API call. You can even use the standard Visual Basic controls (buttons, scrollbars, checkboxes, etc.) and it will work - all with the speed of a native application. Because it is a native application, using Windows to draw the controls.
Numeric textbox with complete control, including number of decimal places, negative number acceptance, number and position of the negative sign and the decimal separator, automatic replacement of the decimal separator according to the users PC international settings.
This source is an example of how you can take any picture, declare a 'transparent' color and make a shaped form (skin) from it. It's simple, complete, and it WORKS!
I've seen a lot of progress bar code on this site, but I haven't seen any that show you how to set up the caption so it will change color as the bar moves over it. This is a very basic example of how to do that. The trick is setting the DrawMode to "Not Xor Pen"; you can also use "Merge Pen Not". This example is only to get you started. You'll have to play around with the BackColor, ForeColor and RGB color used for the bar to get the color effect you want. Have fun.
Yet another update. I have fixed the scrollbar display under WindowsXP. Here's an update to my Combobox control. I fixed the App activation issue, and added support for MDI & MDI child forms. Thanks for the support! Due to the lack in VB for a Multi-Column Combobox and the licensing issues with the Forms2.0 control, I've created my own. This control uses only the standard VB controls so there are no extra dependencies like many of the other Multi-Column comboboxes out there. It's simple to use and setup. It supports column widths, a finditem method that searches items by column, and hot-tracking. It also has the common ComboEdit & ComboList style. You can adjust the drop-down list height and width. The list will also display outside of the form border. The code for the control is not commented very well, but the demo does a pretty good job explaining how to use it. Many of the API & Subclassing base techniques used in the control are from vbAccelerator, & mvps.org/vbnet. Also, if you know of any ways to improve it, please let me know. I've tested MANY other Multi-Column comboboxes (free and the not so free) and I feel this control is a very good cross between graphical representation and useability providing the programer an easy interface and the end user a control that behaves like you would expect. If you feel that this control is worth the time & effort put into it, then please vote for it! If not, any suggestions on how I can make it better are greatly appreciated. Thanks
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.
NOT just another Scrollbar : This control will allow you to use graphics for the background, thumb and the buttons. Works in either Horizontal or verticle orientation, will automatically determine the orientation when you create the control on the form. Uses Longs for the Min / Max / Value properties, no more 65535 limitation. Can AutoSize to the dimensions of the background picture. The buttons on the ends can be hidden so only the BackGround and the Thumb are shown. Great for use with Skins and other unique grpahical applications. No flicker. Smooth scrolling. [ Updated ]
I have enhanced Elad Rosenheim's "Dynamic" Resizable Skin Demo to better support KewlPad skins as well as added several functionality changes to bring it closer to a complete skinnable solution. Changes: - All the code was removed from the form's codebase and put into a Class Module to make it reusable and easily compiled into an ActiveX DLL. - Allow for A Minimum Client Area size - Allow for Maximum Form Size - Ability to make the form non-movable, non-resizeable, and/or Always OnTop. - Removed the need to have a second "Hidden form" for correct Minimize events. - Built in routine will reconfigure form using API calls and remove the titlebar and 3D effects, so you don't have to change the form's BorderStyle in the IDE. - Added several events triggered when the form skinning is complete, The Minimum button was clicked, the Close button was clicked, ClientArea and Form MouseEvents, and of course on Form Resize. - New Skin properties: FontColor, FontBold, BackColor. Over 50 KewlPad skins are available at http://www.deviantart.com/browse/?section=kewlpad *Please ask the original Skin author for permission before distributing there skins with your app.