Advertisement

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

5_2007-2008 #187998
CheckBox

A good looking checkbox control.

5_2007-2008 #187999
Clock control

A nice clock control with a lot of settings and functions.

5_2007-2008 #188001
Calendar control

A calendar control, based on Stefaan Casier's 'Owner Drawn Calendar'. Add a lot of features and settings. Read the ReadMe.txt file for more details and the header in the calendar control for the credits.

5_2007-2008 #188002
A resizable form with skin

This is a simple peace of code to make a real sizable form with skin and the use of the form systemmenu.

5_2007-2008 #188003
Odometer

A odometer usercontrol with settings as digitclors, bordercolor, speed, etc. Some bugs are fixed.

5_2007-2008 #188009
MouseOver/MouseOut

After a long search.. and trying, finally this is the code for detecting mouseover and mouseout events. Comes in handy when you have a sidebar by example. This is the first time i upload something, this because i expect other programmers searched (and did not find) anything like this. It's not the most clean code, but it gives you the idea.

5_2007-2008 #188020
Menu Bar - only API

Original project was written in c++ and today I translate it to vb. Its menu with coolbar and toolbar integrated to give a professional look. No OCX, CTL, no DLL...Picture is worth more than thousand words. Please leave comments. Enjoy.

5_2007-2008 #188071
Still Another Textbox

This is a textbox. It does not use regular typefaces but bitmaps.

5_2007-2008 #188075
An extended TrayIcon OCX with balloon tool tip even displaying on win 9x systems.

Displays Tray Icon and two types of balloons. The first one is the system provided by Shell_NotifyIcon function balloon. The second one is actually a customisable Tool Tip control provided by "tooltips_class32" class. This balloon can be displayied on any Windows system since win 95 in opposite of "Shell_NotifyIcon" balloon. In addition it is possible to display several ballons in the same time for each application while the system balloon will not appears when any other application is already displaying its own balloon. Also the TrayIcon control provides information about Tray Icon position on the screen. Credits: Nayan S. Patel: http://www.codeproject.com/Purgatory/Balloon-Tooltip.asp Steve McMahon: http://www.vbaccelerator.com/home/VB/Code/Libraries/Subclassing/SSubTimer/article.asp Arkadiy Olovyannikov: http://www.freevbcode.com/ShowCode.Asp?ID=3291 . On some Win9x or NT systems you may need updated "MS Common Controls DLL". Download it from http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=6F94D31A-D1E0-4658-A566-93AF0D8D4A1E

5_2007-2008 #188076
An extended TrayIcon DLL with balloon tool tip even displaying on win 9x systems.

Displays Tray Icon and two types of balloons. The first one is the system provided by Shell_NotifyIcon function balloon. The second one is actually a customisable Tool Tip control provided by "tooltips_class32" class. This balloon can be displayied on any Windows system since win 95 in opposite of "Shell_NotifyIcon" balloon. In addition it is possible to display several ballons in the same time for each application while the system balloon will not appears when any other application is already displaying its own balloon. Also the cTrayIcon class provides information about Tray Icon position on the screen. Credits: Nayan S. Patel: http://www.codeproject.com/Purgatory/Balloon-Tooltip.asp Steve McMahon: http://www.vbaccelerator.com/home/VB/Code/Libraries/Subclassing/SSubTimer/article.asp Arkadiy Olovyannikov: http://www.freevbcode.com/ShowCode.Asp?ID=3291 . On some Win9x or NT systems you may need updated "MS Common Controls DLL". Download it from http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=6F94D31A-D1E0-4658-A566-93AF0D8D4A1E

5_2007-2008 #188095
ListBoxHScroll class (update)

A utility class for adding/hiding the horizontal scroll bar in the ListBox control dynamically taking into account its font (using the IFont interface). The code uses the SendMessage API function to add a horizontal scroll bar dynamically to a list box using the LB_SETHORIZONTALEXTENT message. To precisely calculate the width of a new item, our class uses the DrawText API function with the DT_CALCRECT flag. Draw attention at the fact that our class works properly if you change the font of the listbox as you want. We use the IFont interface and its hFont property to retrieve the handle of the font used in the listbox. Our class can also calculate the minimum width of the list box when the horizontal scroll bar disappears (it takes into account the visibility of the vertical scroll bar in the listbox; it determines whether this scroll bar is present by retrieving the listbox style flags and testing these set of flags for WS_VSCROLL).

5_2007-2008 #188116
Adding multiline balloon tooltips to ListView items

The attached code demonstrates a technique you can use to create multiline balloon tooltips for ListView items. The code is based on the following simple idea. In the MouseMove event you need to check the index of the item under the mouse pointer, and if this item is changed, you simply redefine the text of the tooltip attached to the ListView control. Notice that you should destroy the tooltip if there is no any item under the mouse pointer. To determine the index of the list-view item under the mouse pointer, we send the LVM_HITTEST message to the ListView control. The SendMessage function you should use to send this message returns the index of the item at the specified position, if any, or -1 otherwise. Before you send the message, populate the pt field of an instance of the LVHITTESTINFO structure with the coordinates of the mouse pointer (you pass the reference to this structure as the value of the lParam parameter in SendMessage). You can use for this purpose the X and Y parameters of the MouseMove event of the control, but draw attention at the fact that these parameters can be measured in twips and you need to convert them in pixels. This simple idea can be used to create such tooltips for ListBox items, any grid control items and so on. For instance, we use this technique in extra samples for iGrid ActiveX Control we produce (this is an editable replacement for ListView and FlexGrid – visit www.10Tec.com for more info).

5_2007-2008 #188124
Add a custom control of Form, with a precoded response to your applications from an OCX and/or DLL

'I took most of this codes from PSC so credit to whomever wrote them 'The purpose of this aplication is to explain how you can custumize controls 'with their own code inside an OCX and the call them from a Dll into your 'application 'See if you can find a use for it, I already got mine... 'HINT: To be able to "Configure" personalized applications from a mother 'application, so you 'don't have to code things all over again every tyme you want to write 'a new program... 'if I didn't Explain myself, I believe you can figure it out....

5_2007-2008 #188163
A ComboBox Procedure to save its contents.

A simple procedure you can use it works like the Internet Explorer Address Bar. It will save what is typed into the Combo Box and it does not allow duplicate entries to be entered. Please vote if you like it. Sendmessage API can be used also for speed. This is a little simpler because there no declarations.

5_2007-2008 #188191
Learn how to make dynamic controls in just 5 minutes.

Dynamic controls made easy for everyone.

5_2007-2008 #188204
MM Very Very simple Progressbar

Very simple Progressbar, a picturebox, an imagebox, a label and some line of codes and that's it:) no OCX and no API you can change the look of the progressbar if you want, juste change the image in picture1 (representing the backGround of the progressbar) and the image in in image1 (representing the status and value of the progressbar) and that's it Excuse my bad english

5_2007-2008 #188205
MM CheckBox 2009 V3 Final

Final Version of My MM CheckBox 2009 (now, with beautiful Caption if you want)+Code Optimization. (see the screen capture)

5_2007-2008 #188207
Update width Antialising (Very beautiful now) for my MM CheckBox 2009

Version 2.1 of my very simple and beautiful CheckBox (MM CheckBox 2009 v2.0). Now with beautiful Antialising (perfect circle) (thanks to "Dana Seaman" for this technique) Check the Screen Capture my blog, http://mmvb2008.unblog.fr/ (some sympathetic utility makes in vb6)

5_2007-2008 #188219
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)

5_2007-2008 #188224
Advanced Text Box

This is an ActiveX control with enhanced features of normal TextBox allowing u to write VB Applications with more ease.

Languages
Top Categories
Global Discovery