Advertisement

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

4_2005-2006 #159387
Auto Check/UnCheck TreeView

This basic procedure will handle all parent and child Checkboxes in a TreeView control. If you check a child node it will automatically check the parent(s) and vise versa.

4_2005-2006 #159511
Highlight Active Control with colour with out using GOT/LOST Focus

Highlight the active control in a different colour to draw attention. Does not require the gotfocus, lost focus for each control. VERY EFFICIENT CODE

4_2005-2006 #159525
Advanced Textbox

Lots of Features. Includes Currency Formatting, Numeric Validations. Functions as a text box or Number Box (Toggle a Switch). Forces All Upper Case, Auto Highlights, Follows Insert Mode, Tabs on Enter Key. Neatly Arranged Property pages (I suggest you strip them out to lighten the load if you dont want to lug them around). It works great for me..I hope someone out there finds this usefull (Comments, Enhancement Requests, and..unfortunately...bug reports, are all welcome) Enjoy!!

4_2005-2006 #159526
Advanced Message Box DLL - Fully Customizable - See Screen Shots

This is a fully customizable message box that is backwards compatible with the standard microsoft message box. It has 3 additional parameters that tell it whether to autosize and what size to be. Using my FormatRTF function..which is also posted seperately on PSCODE, you can include tags to format the text any way you would like (see screen shots). There are no limits to the uses of this box. It can be used as both a Regular or Bottomless Message Box and Includes the ability to set Default Button and the Help Button. It is a function and will return integer values that can be compared to vb constants (ie: vbok, vbretry) so you can determine what the user clicked. It is vaguely commented (if that) because I just decided to throw it up here. If you don't understand it, Now is a good time to Learn!! Hope someone finds this as usefull as I have...(Comments and Enhancement Requests Welcome) - ENJOY!!

4_2005-2006 #159572
Dir Monitor

ActiveX dll source code & test project which monitors a directory for changes. It will watch for files being added or deleted, and changes in attributes or size, and raise an event when a change occurs. I have not used any api calls for this, so there ARE more efficient ways to write this code. I needed to get it done, and was having too much trouble with the api calls working smoothly. I don't care if you vote, but would really appreciate constructive comments. Thx

4_2005-2006 #159622
Sweet Splash

This is just a "Splash Screen" with Progress Bar, Ontop and Center Form funtions too. It is only beginner code tho, I like doing beginner stuff :) Enjoy - Love Factor :-P

4_2005-2006 #159679
ActiveLine

A real time saver for those of us that like to make use of Microsoft's separator bar / line. See Screen Shot for full desciption and visual.

4_2005-2006 #159688
Dynamic SpecialFX Buttons For VB

Make eye catching GUI interfaces with this easy to use CommandButton replacement, and Make your project stand apart from the rest. With a host of new gradient color,icon and highlight effects, this control will no doubt enhance your App's UI !

4_2005-2006 #159690
Cool Title Bar Control

The Cool Title Bar control allows you to have custom title bars with spectacular gradient effects, image support and also a rich and interactive user interface. The simplicity of this control in terms of use and the power of it will enable even a novice programmer to create eye catching applications. NOTE:THIS CONTROL HAS NOT BEEN TESTED WITH VB 5/VB 4

4_2005-2006 #159736
Working with Winscok Control

This article will help you to understand the basic functionality of Microsoft Winsock Control. Also includes a sample Client-Server Application to transfer files from one computer to another using Winsock Control

4_2005-2006 #159764
IdleMonitor

This detects your idlestate if there is no input from your keyboard or mouse a triggers an event so if you want to make your screensavers this is jus what you need..

4_2005-2006 #159796
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.

4_2005-2006 #159841
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.

4_2005-2006 #159844
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.

4_2005-2006 #159856
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.

4_2005-2006 #159857
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.

4_2005-2006 #159862
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.

4_2005-2006 #159869
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.

4_2005-2006 #159885
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.

4_2005-2006 #159886
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.

Languages
Top Categories
Global Discovery