Advertisement

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

Java_Volume1 #98192
Date Time Picker and Month Calendar OCX

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 !

Java_Volume1 #98193
Demo: Popup Window (like menu or drop-down windows) (No hooks)

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.

Java_Volume1 #98196
How to make an individual Form - ActiveX Control

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!

Java_Volume1 #98197
Ginger Software Taskbar Power toy

You can move the task bar around

Java_Volume1 #98200
TrackMouse class

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

Java_Volume1 #98254
HzxY Controls English Version

I was asked to put all my controls to a single ocx file. Enjoy it.

Java_Volume1 #98263
HTML Control 1.2 (HTML color syntax highlighter)

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.

Java_Volume1 #98272
BitBlt 2

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.

Java_Volume1 #98284
Resize - That Works with (SSTAB) and Font Resize - Easy to understand

This code actually resizes your forms contents for you. Contents include SSTAB and does adjust the font size.

Java_Volume1 #98287
A graphical form

A graphical form

Java_Volume1 #98291
Multi-Monitor Compatible Window/Screen/Desktop Snap/Stick/Dock

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)

Java_Volume1 #98295
True XP Controls, with 1 API

Objective: To create and use a manifest file for displaying common controls WinXP style on a machine running WinXP with the XP theme enabled. Function: This code will only provide WinXP controls on a machine running WinXP. The XP theme must be enabled (Not the classic theme) for this code to work properly. Also, this only works when the program is compiled as an executable, and will not work in the IDE environment. Once the InitXP sub is called, all forms and controls (the main controls and any controls in the "Microsoft Windows Common Controls 5.0 (SP2)" ocx) on all forms will be display in winXP style, so you only have to call the sub once. Also, MsgBox's and InputBox's will have the xP theme. What's cool about this code is if the xP theme is enabled, but a different color scheme is used (other than the default blue), the manifest automatically acounts for that. The truely great thing about this is that no new activex controls are introduced, and therefor you do not need to account for different OS. If you want XP controls on machines other than XP, there are hundreds of controls on the net. This code reduces deployment costs, is small, and is self-contained. I have not tested the code on any machine other than winxp, but this should not generate any errors. If it does, a simple call to "GetVersionEx" could show which OS is running, and in the Sub InitXP, add the code: If WinXP = True Then all current code End If Known Problems: Command Buttons, Option Buttons, and Frames do not display properly when placed inside of another Frame. Currently working on this problem. One last note: The exe will not display XP controls the first time it is run, and I have not found a way around that yet . . . Maybe creating a program that first creates the manifest, then shell's the main program before ending . . . Or maybe the install program could solve it somehow Credit: I got the idea from this code from another source, I believe on planet source code, but the code did not work, and was not well organized/commented. I have no idea who the genious was that came up with this code, but all the credit in the world goes to that person.

Java_Volume1 #98296
CInfoTip

CInfoTip is a great replacement tooltip class that can be heavily customized (colors,font,dropshadow etc). Developed for use by in my ActiveX projects.

Java_Volume1 #98308
IntelliSense Type Drop Down ( Position from Character )

This is a quick and dirty example of how to add IntelliSense (like the VB IDE) type functionality to your apps.

Java_Volume1 #98313
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

Java_Volume1 #98332
Invisible Form

This code will simply allow you to create a form which is clear, meaning you can only see the controls on the form, and everything else will appear as whatever ur form is covering up. The best thing about this code is that if you click on an area of the form which has no controls, and is transparent, then it will take you to that window. MAKE SURE YOUR FORM SCALEMODE IS PIXELS

Java_Volume1 #98361
EBSlider

The EBSlider control is a self-contained, horizontal/vertical slider control written entirely in VB6.

Java_Volume1 #98376
EBSplitter

EBSplitter is an easy to use splitter control. Animation is smooth, and the control comes complete with a demo text file browser to show off some of its features.

Java_Volume1 #98382
SysTray With Popup Menu And OnTop

Put an icon in the system tray with popup menus without any ocx or dll. Updated to include the option of having your program be on top of all others, very simple to use. I'm not really worried about votes, but if this code helps someone new to Visual Basic I would like to hear a comment if it's not too much trouble.

Java_Volume1 #98389
DartBoard Control

A while ago I was developing a dart statistics program, unfortunualy sometime later I stopped developing. But I already made an control to handle the dartboard. It's not completly finished, I still have to add a dart throw animation in it. But still I think it's ready for use. Some features: - Board is resizable - all colors are adjustable - all ring sizes are adjustable. Throw dart: - by mouse clicking on the board - by entering the darts x,y location - by entering the darts value. I found it a waste of good programming to leave it on my computer without any use. I hope some of you can use it in your own applications. If someone can send me a good animation of a dart in flight, I would appreciate it and I would put it in the control as well.

Languages
Top Categories
Global Discovery