Advertisement

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

7_2009-2012 #227350
HyperLink Control

Add HyperLinks to your VB programs easily! Control Itself manages to open the target - any Program, Document, Web Address, Email Address.....are fully supported. Looks like a real web Hyperlink, uses appropriate mouse pointers, underlines or changes the font color on mouse hover. Provides like MouseHOVER, MouseLEAVE and RightClick. New programmers can learn many things....(1) How to open any document or URL in its default associated program....(2) How to give mouse hover events in VB controls, and many more. A very useful and handy control, please vote or comment it.

7_2009-2012 #227395
System DSN ODBC Selections

Reusable form. Offers selection of trusted ODBC connections (system DSNs only) that are configured on a workstation. Results are ODBC DSN name and type of connection. Short & sweet. Looking for something your customer only has to click on, this is it -- no manual entry required.

7_2009-2012 #227398
LaVolpe Buttons (Updated)

No longer updating this old project; just maintaining it. Latest patch (01Jun06) to fix bug in ReadProperties routine. Original description follows ===================== Updated: Added checkbox/option button modes to include the diagonal buttons (Mode/Value Properties). Also included a custom shaped button that takes shape from its picture property. Some notes to mention: 1) checkbox face color intentionally made to look lighter than normal button face when Value is True. XP, Java, & Mac are best guess as to what it would look like. 2) Option button selections toggle other option buttons, but do not synchronize with VB's option buttons. 3) No change to round buttons; short of using anti-aliasing, could not figure a way for smoother look--experimenting with GDI+. 4) If compiled in app, adds 110k. 5) If compiled as OCX, < 100k using P-Code & minimal app size increase; not bad considering the common dialog is 138k. 6) No timer control used. 7) Reorganized to help follow code easier. 8) Comments welcomed, votes are up to you. Project inspired by Gonchuki's Chameleon Buttons v1.x. Last Update Uploaded: 30 Oct 2004/1405 EST to fix font problem. Last update 23 Oct 2005 to include a separate OCX project.

7_2009-2012 #227410
FYI: Alt+Tab Icon Updating

How do you change the icon that appears in the Alt+Tab window? This is nothing new can be found on MSDN. The notes I added here are of interest. More info for skinning forms. Changing a form's icon doesn't affect the Alt+Tab window; you need to change the icon in an upper level, hidden window. Code below shows how. Notes to keep in mind.... The icon does NOT have to be one assigned to a form! If not, the only thing to remember is to cache that icon handle and don't destroy it until your application closes or you reassign using the same code below. Should you not cache the icon, and it is destroyed, the Alt+Tab will show a "blank/invisible" icon instead.

7_2009-2012 #227411
LaVolpe Custom Windows: Part I

Part 1. Prequel to a full-blown skinning application. This part does not skin but attempts to completely control the window non-client area. Provided in hopes you will help identify any bugs on different O/Ss. Works well on 98/2K. The other parts of this project will be submitted after bugs fixed in this part and feedback has been addressed. Part 2 will be skinned version compatible with MDIs, Part 3 will include routines for custom-drawn menus. Heavily subclassed and heavily commented; but still a work in progress. Feedback is definitely requested especially pertaining to bugs and suggestions.

7_2009-2012 #227416
LaVolpe Color Chooser

Single class module, plug & play. Maybe the last color selector you will ever use? Lots of options & will list most of them here: 1) 3 palettes to choose from, 2) palette tabs can be disabled, 3) grab color from anywhere on screen, 4) fail-safe mode will display std color dialog if routines fail, 5) mouse wheel support, 6) prevent non-palette selections, 7) auto-convert negative sys colors to positive values, 8)add custom colors & personal colors to the default palette or replace completely, 9) easy window placement, 10) even more options. Heavily documented, jump to end of the module for a detailed description of options & their settings. 22Feb06 - Converted to a stand-alone, single class. 26Feb06: Keybd navigation. Now movable. 30Mar06: Reworked to make Win9x-safe & make more MDI-friendly. 31Mar06: Changed memory APIs used to help prevent XP DEP warnings & addressed the error messages being reported that are not errors rather a result of VB IDE settings. 4 Apr. Prev repost broke ability to select listbox items; fixed. 10 Nov 06: listboxes didn't scroll down w/mousewheel, played with XP Manifests to replicate reported issues w/some luck. 11Nov06: running out of bugs... patch minor keybd navigation issues, add layered window support, patch MDI parent losing active titlebar when common color dialog closes. See change history in module if interested.

7_2009-2012 #227423
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.

7_2009-2012 #227439
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.

7_2009-2012 #227440
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.

7_2009-2012 #227446
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.

7_2009-2012 #227451
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.

7_2009-2012 #227487
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!

7_2009-2012 #227513
Alternate ShrinkFormUnload

Shrink Window on Unload

7_2009-2012 #227526
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.

7_2009-2012 #227549
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!

7_2009-2012 #227581
Change background/foreground color of Progressbar

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

7_2009-2012 #227640
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.

7_2009-2012 #227656
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 *

7_2009-2012 #227659
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.

7_2009-2012 #227688
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.

Languages
Top Categories
Global Discovery