Results for "Category: Custom Controls/ Forms/ Menus"
You might need this sometimes.Some menu features like Icons in menu, Rolling over the menu with popup pictures,Position of the cursor,Streaming text across teh form , Playing *.WAV files in application , and some graphic options of the form.
Selects a color
Provides Intellisense imitation for your projects. This example lets you load tags from a file to the listbox. You can also choose whether to use upper and lower case tags. Now has new features like: filling the list with drives and fonts, and an updated drawing routine that speeds it up. It now works if the screen resolution changes.
Add Rows to a MSFlexGrid With Alternating Colors. Option to Change Color Of Alternating Row. Option to Toggle Grid Lines On and Off. Please Vote For Me!! This is my First Posting on PlanetSourceCode. *** MAJOR UPDATE Coming Very Soon ***
One of the most common types of a focus-only popup window is the menu. A drop-down list is another example. Both disappear when they lose focus. Here's a demonstration of how to do that. It doesn't rely on the LostFocus event, which only works within that form's scope. Switch to a different application and your popup would still be visible. Instead, it uses a timer and an API call to check to see if the popup still has global focus. If not, it self-unloads. While it does act essentially like menu-style popup windows, it's not exactly the same. To do that, I think it's necessary to use an API call to hook into some Windows event that detects a change in overall focus. This technique relies on constantly polling the OS. It also means the form that uses the popup will technically lose focus (big deal). It's generally a little klunky. Still, it works very well. Thanks go out to MrGTI (www.Pharfruminsain.com) for advice on the basic technique. I encourage anyone who knows the "right" way of doing this to let me know. Please vote for this code if you like it.
Want anyone with a common web browser to be able to upload files to your ASP application? Here's a great little component to help you do it. This component builds on the standard mechanism web browsers provide for uploading files. Since IIS doesn't provide any simple built-in way to deal with this, this component fills the void. Here's how simple your ASP code can be: Set Upload = Server.CreateObject("Carnicelli.FileUpload") Upload.Save "C:\Temp" Response.Write "<LI>" & Upload.Form("Email") Response.Write "<LI>" & Upload.File(1).FileName I crammed a number of useful features for manipulating the resulting files, generating unique file names, and more. This code teaches many programming lessons. It demonstrates MIME processing, array and string manipulation (includes powerful array and string manipulation libraries), generating unique file names, real-time stream processing, interfacing with IIS' built-in objects (e.g., "Request" and "Session") without help from the ASP code, binary file manipulation, processing with a finite-state-machine model, MTX (Transaction Server) components, and more. Please comment on this code and vote for my hard work if you like this code. -------------------------------------------------- Now there's a commercial version of this product available. It's been rebuilt from the ground up, correcting all the issues you've reported here and including new features. And it comes complete with extensive documentation and good service. Check it out!
Data entry control for U.S. postal addresses in a single text box with automatic parsing and assembly. If your application has to allow users to enter and view snail-mail U.S. postal addresses, your usual choices are separate text boxes for the parts of the address or one big text box for the whole thing. Usually, which it is depends on how you store it. This control gives your users the ease of having a single text box and your program the power to pick out the two street address lines, city, state, zip code, and 4-digit zip code extension as separate parts. Does format validation, state abbreviation validation, state name conversion to abbreviations, data parsing and assembly to and from the same plain-text representation seen by users. Provides simple explanations for why a given address is invalid, if so. Also provides many of the most commonly-used properties and events of a typical text box. As easy to use in your project as an ordinary text box. Extensive documentation provided in the code. Also includes an extensive HTML help file and demo project. Recent Updates: 5/18/2000: Added .Populate() method 5/22/2000: Vastly improved parser to accommodate odd an incomplete addresses and added public array of error codes / messages. Please vote for this code if you like it.
This is a simple way to move the form, without the use of a staus bar! Just click and drag anywhere on the form. I also threw in an option to make a menu popup without the use of the menu editor! Shows how to view a menu, made by the menu editor, by clicking a command button! You can also apply this to almost any control.
Re uploading my xp side menu the BEST on psc was in 6th pos before some %*°_£% hakker hacked the system
THIS IS MY OCX FOR STARDOCKS DESKTOP OBJECTS SEE SCREEN SHOT PS VOTE FOR ME THNAKS
I have updated once again Working scrollbars,resizable at runtime,animated Roll affect on panels user can change speed,gradient background,one panel show property(when panel is clicked the other panels close except if panel state is set to Fixed) check out my xp form skin control known as jsskin 1.4 at : http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=34875&lngWId=1
Due to my xpmenu i thought i would reupload my skin control known as jsskin 1.4
An update to my demo - how to combine transparency AND resizability. Check it out. Skin loading is now 50% faster thanks to using a cache file for storing region (transparency) data. For a complete app that's based on this code, go to: http://kewlpad.deviantart.net Home of kewlpAd - The skinnable notepad.
This code restrict the window size using a subclassing dll (Created by people from www.vbaccelerator.com). It consumes the WM_GETMINMAXINFO message. You can restrict the minimum and maximum tracking width and height. Also, you can restrict the maximized window left, top, height, width. I've wrote the code in a class for reuse.
This is an update to my previous version of the Circular Progressbar. Improvements include "Rainbow style progress" and different directions of which the progressbar can progress. The jpg has bad colors and makes the rainbow look bad, download it, it looks better than what it shows. Try it, and don't forget to vote!
Allows events when a mouse enters and leaves a client area of a control, so you don't have to use a timer to constantly check the position of the mouse (inefficient, and bad coding), useful for creating hyperlinks, hotspots, etc... Utilizes a class for ease of use and strict API for maximum efficiency and speed
Creates a system tray icon for your application with a popup menu and other functionality.
Complete ListBox tutorial all on one form! I included the following features of the ListBox control: Loading from file/Saving to file Delete Item Add Item Find Item Multi Selection Stuff: Remove selected items Copy selected items Select all items De-select all items Note: The file that is used for the file loading procedure is included in the .zip file. It is called Names.txt . Try adding lines to this file or even changing the code to open C:\WINDOWS\WIN.INI
Adds a control to your form at run-time. Does not use control arrays or the Load statement. Control does not even need to be referenced. NO API.
Ok I didnt CREATE this but I did OPTIMIZE it and make it into a COMPLETE control, the gentelmen that made it slips my mind but it was like yesterday i think, anways using the VB accelerator ssubtmr.dll and this control allows you to LIMIT the form size of as MANY forms as you want in a single project. Its quite nice, give it a try! PLEASE VOTE! :O) UPDATED....... No Need for SSubTmr6.DLL I decided it would be ALOT easier for Newer guys to use this if they didnt have to worry about distributing a DLL so... I just sorta built the DLL Code into the Control.... ENJOY!!