Results for "Category: Custom Controls/ Forms/ Menus"
Some bugs are fixed This is a simple but compleet working calculator control with settings for colors etc. It returns the value in the Closing event and you can also copy the calculation value to the clipboard.
Fix some bugs, add some functions and for Items TextOnly property Change some Function names and the order of some parameters. Version 3.00 Add new features, and more. See screenshot For some little explain, look at ReadMe.txt in map Info Update, mousewheel problem called by zgj7712 fixed. Update, some bugs are fixed called by Brandon. And Alex the Award is also for you! This is a Windows ExplorerBar control. Based on the idea of Alex Flex's 'XP-Style ExplorerBar control'. It is completely redesigned with a lot of settings and functions.
A old one but redesigned so it can go for a while. I found on internet a MenuBar control from Robert L. Kubelka. But this is completely redesigned and i add a lot of functions and settings.
A good looking checkbox control.
A nice clock control with a lot of settings and functions.
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.
This is a simple peace of code to make a real sizable form with skin and the use of the form systemmenu.
A odometer usercontrol with settings as digitclors, bordercolor, speed, etc. Some bugs are fixed.
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.
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.
This is a textbox. It does not use regular typefaces but bitmaps.
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
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
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).
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).
'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....
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.
Dynamic controls made easy for everyone.
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
Final Version of My MM CheckBox 2009 (now, with beautiful Caption if you want)+Code Optimization. (see the screen capture)