Results for "Category: Custom Controls/ Forms/ Menus"
Farsi DatePicker
HellOoo everyone this is a cool Xp porgress bar .. without OCX'x or anything else .. just few lines of codes that's all get rid of your old prgress bar,put the new generation of GUI elements in your software....visit http://www.teeanna.tk
Windows XP Style Controls, You need windows XP, and you must compile the project, work only in the .exe, not in VB
A simple date entry control with drop down calendar - now with automatic support for internationalisation
This code provides a relative easy way of displaying a step through wizard for gathering information. This wizard sample looks like the Microsoft Word 97 resume wizard. This code is very easy so I didn't include many comments.
This turned out to be more difficult to work out than the drawing of a button on the titlebar. Of course once I'd got it it was simple. Once again this code uses subclassing so always use the forms close button or the menus exit to stop the project, or you will crash.
UPDATED 25-JUNE-2001 -1- Lightweight Windows Blinds Toolbar. Use as is or see VbAccelerator toolbar project below. Button control by J. Pearson (Aug 2000 PSC). Custom message box with Windows Blinds style buttons, optional timer to autoclose box, sounds and icons obtained from system using API. -2- Full implementation of Windows Blinds style buttons in a professional VbAccelerator Toolbar. Complete with Rebar, Pager, Imagelist class, Dropdown Icon Menu, and SubClass from www.vbaccelerator.com with full source code. Pager control hosts toolbar to allow scrolling when toolbar width exceeds pager width. Menus have Icons, background and customizable gradient highlight. Included in Demo is code to swap languages (currently 6) on the fly using resource file, 16 control panel applets selectable from menu, analog progress meter which can double as a Thumbnail viewer. -3- Imagestrip builder for making Normal, HOT, and Disabled picture strips to use in VbAccelerator Toolbar project. Put skins in first button, pictures in buttons, run program, save to clipboard, paste to MsPaint, crop, and save image. Strips attach to imagelist class for a low overhead toolbar. NOTE: Some VbAccelerator code has been modified to fix minor bugs discovered during 8 months of testing. Several new properties and code enhancements added. Uses subclassing so don't use IDE to stop program!
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.
Ever wonder how to make those cool popup menu's? Well This tutorial will tell you how to make them, how to detect which mouse button has been pressed, and how to make them popup on different mouse button clicks.
This small OCX (80 K) contains a implementation of the Date Time Picker (called DTPicker in VB6) and Month Calendar (called MonthView in VB6) controls of the Windows ComCtl32.dll in VB. It's especially useful for VB5 users or VB6 users not wanting to ship the whole MSComCtl2.ocx just because of the DTPicker or MonthView control. The interface is a little different from the one offered by MS. Now with an ready to use VB6 version !
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.
This Code shows how to make an ActiveX-Control that gives a Form the shape of a bitmap or the shape of any text. Includes Demo Projects. Very Cool Effect! Must see!
You can move the task bar around
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
I was asked to put all my controls to a single ocx file. Enjoy it.
The reason why I created this is as follows: Most of the HTML color syntax highlighters that I have found here are either to big complicated, slow or has other disadvantages. Many of them allso required selveral .cls/.bas files, witch makes them harder to implement in existing projects. So therefore I started on this with some requirements in mind. 1. It had to one single .ctl file that could easilly be dropped in the project explorer. 2. It should be simple to use with the fewest amount of arguments as possible 3. I wanted it to have alle the basic functions like: Undo, Cut, Copy, Paste, Delete Select All because theese are really boring to write over and over again. Thanks to RegX for his "FastHTML/XML Highlight" I had the foundation of the highliting. You can see his project here: http://makeashorterlink.com/?J16C426F2 So here you have it. 1. Set a refference to "Microsoft VBScript Regular Expressions 5.5" in Project > Refferences 2. Copy "txtHTML.ct" and "txtHTML.ctx"to your projects´s folder 3. Drop the txtHTML.ctl in your Project Explorer 4. Ready! Oh yeh! Remember that Votes = Good :o) Update 06,Jan,2003 Fixed: crash when typing a comment at first. Fixed: Not coloring correctly when typing tags inside a comment.
Hi this is a little sample project I made that will show you how to add a strip of bitmaps to aimagelist control then add the new images to a toolbar. anyway not sure if this has been done before but I never seen it anyware. anyway I did this affter I noticed that many applications do the same thing but never figured how it worked so I desided to use bitblt that seem to work. anyway I hope that this code may be usfull for some one please vote if you like it.
This code actually resizes your forms contents for you. Contents include SSTAB and does adjust the font size.
A graphical form
This module allows any form to snap to the edges of the work area. (Kinda like winamp) It is multi-monitor compatible. (not kinda like winamp)