Advertisement

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

2_2002-2004 #125307
Dynamic Resizable Skins Demo v1.2

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.

2_2002-2004 #125337
PopUp Menu Tutorial

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.

2_2002-2004 #125339
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 !

2_2002-2004 #125340
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.

2_2002-2004 #125343
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!

2_2002-2004 #125344
Ginger Software Taskbar Power toy

You can move the task bar around

2_2002-2004 #125347
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

2_2002-2004 #125401
HzxY Controls English Version

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

2_2002-2004 #125410
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.

2_2002-2004 #125419
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.

2_2002-2004 #125431
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.

2_2002-2004 #125434
A graphical form

A graphical form

2_2002-2004 #125438
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)

2_2002-2004 #125442
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.

2_2002-2004 #125443
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.

2_2002-2004 #125455
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.

2_2002-2004 #125460
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

2_2002-2004 #125479
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

2_2002-2004 #125508
EBSlider

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

2_2002-2004 #125523
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.

Languages
Top Categories
Global Discovery