Advertisement

Results for "Category: Custom Controls/ Forms/ Menus"

3_2004-2005 #140129
Complete System Monitor Usercontrol

Having seen so many code snips that either only work with Windows9x or return incorrect values, I decided to write one that should work accross ALL version of Windows. I was able to find multiple pieces of code all over the place and assembled them into a neat little ActiveX control. This usercontrol can be be used visually, and optionally display the history of any if the following values; CPU Load %, Memory Load %, Free Pagefile %, Free Virtual Memory % and the HD Free space %. The control can also be hidden and used to manually retrieve the values below using the GetCurrentSystemLevels routine. This allows you to retrieve current system levels and isplay the information using your own layout/design; CPULoadPercent, MemoryLoadPercent, PhysicalMemoryTotal, PhysicalMemoryAvailable, PhysicalMemoryAvailablePercent, PageFileTotal, PageFileAvailable, PageFileAvailablePercent, VirtualMemoryTotal, VirtualMemoryAvailable, VirtualMemoryAvailablePercent, HDTotalBytes, HDTotalFreeBytes, HDAvailableFreeBytes, HDTotalBytesUsed, HDAvailablePercent The visual look of the control is fully customizable. All colors can be modified to fit the individual needs of developers.

3_2004-2005 #140131
_A mdi non activating reduceable toolbar (like photoshop or dreamweaver ) no ocx ! + subclass child

mdi non activating & reduce toolbar example (kind of like (photoshop or dreamweaver toolbars) This tutorial shows how to create non-activating toolbars in a mdi app. You can hide, reduce the toolbars, and they do not appear in the menu windowlist. There is no subclassing for the non activating toolbars, and no ocx are used, just a couple of API. There is also an example of subclassing all the child windows on the fly when creating them. That lets you specify a minimum size for all the child windows ! There is no subclassing, and no ocx are used, just a couple of (easy) API.

3_2004-2005 #140138
Copybox/Copylabel

This snippet creates an uneditable textbox/label whose contents can be copied to the clipboard. This is just like the textboxes in the File properties of Windows (open Windows Explorer, right-click on a file and select PROPERTIES, you'll see that several fields here can be copy/pasted although they cannot be modified). Straightforward and commented code.

3_2004-2005 #140148
Devilsoft Http Client (handles redirects and returns http errors)

this http client user control (ocx) makes the downloading of webpages, files, whatever, greatly simplified and demonstrates some very key internet programming concepts such as the use of the winsock control, protocol programming, as well as user control properties, property bags, and things like that. The control returns any http errors, messages, and also handles redirects. vote if you want, but i don't upload for rating, just to help. later.

3_2004-2005 #140149
Menu PopUP

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!!!

3_2004-2005 #140161
A Scroller OCX - Smoothly scrolls text in a picturebox (full OCX source+example)

This is an Active X control you can add to your apps and have nice, smoothly scrolling text which makes them look pretty good :) The ocx can scroll right->left or bottom->top and background+text colors are customisable. Text scrolls, optionally pauses at the edge for specified ms and then continues to scroll off It uses bitblt to do the drawing so its flickerless and goes pretty smoothly. Also, this code simulates an asynchronus function as i couldnt see a way to make/call an asynchronus function in vb. Please vote for it!

3_2004-2005 #140181
VertMenu - Outlook-Style Menu Bar (Honest version)

Recently a person calling himself Dustin Tinsley submitted source code for a UserControl to emulate the vertical graphical menu style popularised by MS Outlook. When I pointed out to him the amazing similarities between his code and one which had been written by one Robert L. Kubelka, and made available on other sites about three years ago - the similarities extended to such things as identically worded comments, spelling mistakes and even typos - he immediately removed my comments and any other subsequent postings. Ian Ippolito has since then deleted the code and I offered to upload the original. Should you feel this code is worthy of a vote, please do not vote for me - it is not my code (either!) - I'm sure the original author would appreciate a note of thanks. Thanks also to Ian Ippolito for keeping PSC honest.

3_2004-2005 #140196
Gradient Button v1.2.1

This button was created to be an enhanced replacement for Visual Basic's standard command button by adding 2 more Border appearance schemes, 2 more button styles, hover effects, 5 more caption styles, and state button 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 though the problem. Release 1.1.0: + New - 5 Caption Styles - State Button Capability (sort of like a checkbox) + Fixed - Bug in caption wrapping that would lose a character if a single "word" was longer than the caption width. + Improved - Slight speed increase from de-coupling the caption wrapping and drawing. Release 1.1.1: + Fixed - Bug that would not re-process the caption for display if the caption was changed in code at run time, unless a refresh was done. (Bug introduced in Release 1.1.0) Release 1.2.0: + New - Added Picture and Graphical Picture modes - Added Bevel Appearance Type - Added Bevel Width and Intensity properties (for customizing the bevel border) - Added UseClassicBorders property (to allow switching between blending and classic borders) - Added Option Button Compatibility and changed the structure of the State Button compatibility some + Improved - Borders have been revamped to allow blending with the gradient/picture on the button + Fixed - Fixed a minor issue with the ValueChanged event (event would not fire if changed via code) - Rewrote description text for properties / events / methods to be completely accurate Release 1.2.1: + Fixed - ToolTips are finally fixed and working. (I thought this important enough for another release just for this one issue)

3_2004-2005 #140207
Without Common Dialog Control

This code does every thing that the common dialog control can do. the module CDModule (CD = Common dialog) has function that replace the common dialog actions. You need to have the common dialog dll.

3_2004-2005 #140216
MacSHELL 1.90

MacSHELL is a macintosh look alike shell for windows. My main idea was to emulate the macintosh system as accurately as possible. It still doesn't look completely like the mac but I hope to add more mac features soon! I got lots of feedback from my first two versions and now I have updated it as best as I can. There is lots of room for improvement so please leave your comments.

3_2004-2005 #140227
Borderless resizable, skinnable form

This is an example on how to create borderless, resizable and skinned forms. It would be nice with some comments(and votes to;P)

3_2004-2005 #140235
Center a child form within a parent form

This function centers a child form within a parent form (not MDI), and can be used for custom messageboxes etc... Please try and leave a comment - Dan

3_2004-2005 #140236
jeffFrame (enhanced VB Frame control)

This user control is my own personal replacement for the VB frame control. It more closely emulates the "panels" found in many 3rd party control libraries. It is an excellent example of using the DrawEdge API function. The control exposes 3 properties to this affect: BorderWidth, BorderEdges, and BorderStyle. The sample app visually demonstrates how these properties affect the control. In all of my personal code, I maintain 2 base modules: 1 for declaring constants and API stuff, and the other for containing generic function. Thus, the sample project includes a subset of those 2 files, plus the UserControl... and a test harness screen that allows you to set the frame properties on the fly. For the current versions of this control, or other cool controls or code, hit my web page:                                                                                                          http://members.tripod.com/thefrogprince/                                                                                                          If you are not currently involved in the coding contest, I WOULD REALLY APPRECIATE YOU VOTING FOR MY CODE. Will only take a minute or two to make an account, and while it won't make me any money... =) it will encourage me to keep posting good quality code and controls like this one.

3_2004-2005 #140242
jeffMaskedEdit (enhanced vb masked edit control)

This control is my replacement for the standard VB masked edit control. It came about by my need to add a .Locked property to the masked edit control... and my utter disgust with the colors and performance of the masked edit controls available in the 3rd party libraries. For the most part, I was pleased with the performance of the MS masked edit control, but it needed some tweaking (in addition to the .Locked property). For starters, I needed an alignment property because I wanted to use the masked edit with numeric and money fields. Then, for the purpose of money fields, I wanted to be able to apply a .Format, and then programmatically block certain keystrokes (alpha characters, for instance). And referring to fields, yes, it had to be data bindable. I accomplished all of these things, while retaining the MS masked edit control at the heart of my user control. This preserved the flexibility that was generally lost in the 3rd party controls... and spared me from the much more difficult chore of trying (like other examples I have seen) to implement a masked edit control using a plain ol' text box. In my research, I came across several examples, and none had gone so far as to perfectly preserve the flexibility of the masked edit. Anyway, this user control adds the following properties to the standard masked edit control: .Alignment, .AutoSelectAll, .Locked, and .AllowedKeys (a clever and easy to enhance enum; check it out). For updates to this or other useful VB stuff, check my page:                                                                                                          http://members.tripod.com/thefrogprince/                                                                                                          If you are not currently involved in the coding contest, I WOULD REALLY APPRECIATE YOU VOTING FOR MY CODE. Will only take a minute or two to make an account, and while it won't make me any money... =) it will encourage me to keep posting good quality code and controls like this one.

3_2004-2005 #140252
Image Resizing

To automatically resize an image control in a frame control to view at an acceptable size. The full image is on screen even if the image is bigger than the screen.

3_2004-2005 #140273
a Credit Card Number validation

Ever need to see if a credit card number is valid? Well, here is your chance. I did NOT write this code, I found it on the web!! Also, this may tell you if a number is valid, not if it works

3_2004-2005 #140289
Editing - FlexGrid!!

A new FlexGrid whith editing ... very cool!

3_2004-2005 #140299
Flat ToolBar VB5

Flat toolbar with VB5? Now is possible

3_2004-2005 #140312
A Splitter Control

This is a splitter control with 2 panes. I found the initial code out on the web somewhere, but it had a few bugs and was missing a few features I wanted, so I added the ability to colorize the splitter bar and the code now fires an event when the splitter is resized to allow for controls within controls to handle a resize. I also cleaned up the code and fixed a few bugs. BTW : You can add splitters within splitters to create more than just 2 panes.

3_2004-2005 #140317
Side bar logo

Create a side bar with your logo! Very easy to use and very cool!

Languages
Top Categories
Global Discovery