Advertisement

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

5_2007-2008 #182387
FYI: Transparent PictureBox?

Not really transparent, but a "fun" project using a transparent usercontrol (UC) that acts as a proxy for a picturebox. The UC prevents need for subclassing. It gets paint events from the Form and the UC then updates the picturebox. In short, a niffty little hack to make a picturebox appear transparent. Think some of you might like this & it is quite simple too. Feel free to expand on the idea.

5_2007-2008 #182403
LaVolpe Custom Button Template [20 Feb 09]

Updated. Want a custom button usercontrol shell? I am re-thinking a custom button & this time thought I'd write a shell that I can reuse over & over again. The attached contains a primitive example of using the shell and also contains the shell in another subfolder you can copy to your VB template's folder so it shows up when you select to "Add a Custom Control" to your project. Just thought I'd share it. I will post fixes for any bugs, but will not customize it to a point where it is no longer generic. See top of usercontrol for change history. Recent changes 20 Feb 09: Added Value property, support for Default button property, changed order of rendering/events in UpdateState routine, minor tweaks of some other stuff.

5_2007-2008 #182404
FYI: UserControls Accessing RES Files (Follow Up)

The intent is to show a way usercontrols (compiled or not) can access their host's RES files, compiled or not. This project contains the main class which reads from compiled & uncompiled project's RES files. The usercontrol has a property page that displays RES file images during design time -- kinda niffty. Please don't ask for updates to the usercontrol, it is only a test project for the cResReader class. For you UC lovers, take this and run -- if you need some advice on this technique, ask away, I'm already about 2 months ahead of you I think.

5_2007-2008 #182410
LaVolpe ImageList II (8Jan08)

Updated, faster renderings. Based on of my c32bppDIB suite, supports pngs, xp/vista icons, and other common graphics. One control that supports multiple imagelists (same/different sizes). THIS IS NOT TRULY DESIGNED to be added uncompiled to a project, rather it is designed to be a stand-alone OCX. The property page is optional if you just need a runtime-only imagelist. 15Nov07:: Added optional image compression if GDI+/zLib not on O/S, added optional image key/tag compression, added multi-select browse, multi-file drag&drop, multi-file Copy&Paste abilities, added image re-ordering via dragging, added importing from VB imagelists, and fixed some minor bugs. 23Nov07: Masks were not kept with multi-selected files, added several more properties/methods, more examples. 3Dec07: Overhauled class structure, fixed minor errors with property page, added more to the RTF file. Barring bugs, moving on to something new. 8Jan08: Significantly faster rendering from the imagelist. GDI+ would process entire DIB at times to render one image. When imagelist is massive size, slow down noticable. Using a rendering-only DIB can improve drawing multiple images over 30x faster for large lists. Open with Group1.vbg. See Usage_ImageList.RTF file for overview.

5_2007-2008 #182415
LaVolpe ImageList

Another project using my c32bppDIB classes. This is a custom image list that supports alpha images and has one neat property that haven't seen before. This custom image list control can be made part of your custom usercontrol so you don't have to ship 2 different controls. Two sample projects are included in zip, so unzip with "Use Folders" checked. Some highlights: supports alpha images, mulitple image sizes, allows scaling when adding to imagelists, and many more. I am planning on using this for multiple custom controls in the near future. Still have some things that I want this to do or be compatible with. I am not completely done with this project but offer it to you for your suggestions and comments.

5_2007-2008 #182451
Office XP-style Toolbar

A custom control that allows you to use an Office XP-style toolbar with your applications. Combine with the vbAccelerator Icon Menu Control (www.vbaccelerator.com) and you can make your apps look almost completely like Office XP!

5_2007-2008 #182477
Alternate ShrinkFormUnload

Shrink Window on Unload

5_2007-2008 #182490
Progress Window (Resubmit)

Note:This is a resubmit of my previous entry under the same name because the other one does not work. Sorry to all the people that clicked on it and got stuck. This code displays an all purpose progress window that is contained in an ActiveX dll. You can customize the window BackColor and ForeColor, along with the progress bar BackColor, ForeColor, and Edge. The big feature of this project is the smoothing of the bar. The dll implements an interpolation method which smooths out long operations or operations that have a low maximum. For example, the screenshot demonstrates the bar running an operation with a maximum of 3, but it fills as if it had a maximum of 3000. It can interpolate either direction, and you can set the number of pixels it draws in per interpolation frame, plus the delay between frames. This implements some other things from the other post, such as exposing the Font property and others. It has a big limitation, unfortunately, that it is not free threaded. I am working on implementing some threading code for the interpolation, because for now it takes time to draw it that it holds away from your operation. That's about all the limitations. I welcome constructive criticism, bug reports, and any comments you have about it. Once again, I am sorry that the first post did not go through.

5_2007-2008 #182513
Using Multi-Column Combo and Transparent TextBox

You can use FM20.dll library from Microsoft forms 2.0 for create easily Multi-Column Combo and Transparent Text Box. It is too easy a cool!. Identical to appearence Microsoft Access forms. Rate mi code, please! See you later!

5_2007-2008 #182545
Change background/foreground color of Progressbar

Change background/foreground color of Progressbar. using SENDMESSAGE/win32API

5_2007-2008 #182604
SplitBar

This control makes it very easy to add a horizontal split bar to your application. Eventually this control will include vertical splitbars as well. To use this control: 1. Place the control on a form. 2. Place controls above and below the splitbar control. This control needs at least one control above it and one control below it to function. The idea is that instead of using code to set the maximum and minimum scrolling positions controls are used instead. This makes it easy to visualize the range of motion for the control. Also, you can reposition the controls in response to form resize events, and the splitbar will use the new positions. Controls that are used only for setting splitbar ranges can be hidden at run time. In the future I will probaly change this so that the splitbar uses its current position for the maximum top or maximum bottom position if no controls are added to the top or bottom. 3. In the form load event add references to the controls to the splitbar using the AddControlTop and AddControlBottom events. i.e. splitbar1.AddControlTop Text1 splitbar1.AddControlBottom Text2 splitbar1.Update Calling splitbar.Update will align the bottom of all TopControls controls with the top of the splitbar and the tops of the BottomControls to the bottom of the splitbar. Known bugs. 1. Currently the splitbar control brings itself to the top when a user moves it. This was intended to make using the control easier, but it will hide any labels contained in the control. I think thats it, if you find more please let me know. Also, please send me any ideas you may have to make this control better.

5_2007-2008 #182620
Accept only numbers in a text box control with one line of code * MUST SEE*

first, my apologies for my bad english, hehe. this example demonstrates how to accept only numbers in a textbox control with ONE LINE OF CODE AND FAST CODE. * MUST SEE *

5_2007-2008 #182623
Custom VB6 Treeview control

A UserControl made with a VB6 Treeview control (MSCOMCTL.OCX - 6.00.8862) with customized Background (Color, GradientRectHor, GradientRectHor GradientTri, tiled Picture), Backcolor, Forecolor, Buttons, Tooltips etc.

5_2007-2008 #182652
FormShadow 1.1

Drop in OCX control adds an alpha-blended shadow to the bottom and right borders of the containing form. No properties to set or code to add! Just drop and go. Fixed in 1.1 - Shadow artifacts are no longer left on forms brought to the foreground and the shadows are now correctly repainting when bringing the containing form to the foreground.

5_2007-2008 #182681
Amazing Spiral Effect

This is an amazing spiral creator. So simple yet so complicated! Look what you can do with a simple PictureBox! Look for yourelf in my screenshot! Please also vote and add comments =)

5_2007-2008 #182683
Cool Rotating Text

Ever wanted to rotate your text this is the code for you. Its pretty cool!!! Plz vote & comments =)

5_2007-2008 #182684
Form On-Top

Whant to make your form on-top of of all other applications, well this is the code for you!

5_2007-2008 #182685
Advanced MIDI Programming / Utility

INTRODUCTION: I searched a lot For articles about VB & Midi, found some, but mostly they only handled short messages, the easy part. Here I needed To go further To solve a problem I had. The project turned out To be a bit sizy, but it embeds a lot of knowledge that was hard To find. So it could mean a great deal To someone starting With programming midi. The main objective was To automate convertions of Roland SC-55 System Exclusive Bulk Dumps into a shorter alternative, using as much short messages As possible, so other modules can receive the messages too. Other features are mixing the SC settings, generate fade In/outs, Read & write midi, more Or less wysiwyg printing of the dump values, midi piano, midi thru, etc. PURPOSE: Analyse SC-55 System Exclusive bulk dumps Generate alternatives for this huge bulkdump in case a high percentage are default data Edit the Sound Canvas settings ENVIRONMENT: This is a VB5 project. Since the WebBrowser control is used (provided with Windows 95) it can be run under Windows 95, but Windows NT doesn't install this control (~ SHDOCVW.DLL) automatically, so there you should find a way to install it yourself. No other (than basic VB) controls are used.

5_2007-2008 #182688
GET RGB

Get the RGB value of a color under your mouse pointer! Really usefull for image editing programs! Enjoy :)

5_2007-2008 #182754
Pixel Manipulation

Ever wanted to make a cool shaped form....well....this code is for you. Just look at the screenshot. Oh and, don't feel obligated to vote!Thanx yall!(inspired by previous PSC entries.)

Languages
Top Categories
Global Discovery