Results for "Category: Custom Controls/ Forms/ Menus"
Ever wanted to create a form with a shape defined by a picture? If so, this is what you have been looking for! With this simple example, you will be able to use any standard image to define the shape of a form. Along with the example, there is an ReadMe HTML file that explains how to create your own Image Shaped Forms! This is a new, improved version of my previous upload, with come corrections for WinNT!
I worked again on this control and, as suggested, I combined several chart types. Also, I introduced the mean value to be displayed or not. I'm continuing in developing it, for example to allow series and Gantt style. Thank you again for your interest and vote.
UPDATE(2002-12-26): Version 1.3.2 Fixes incorrect painting and adds absolute positioning for tiled bitmaps. __________________________________________________ UPDATE(2002-11-12): Version 1.3.1 Fixes gradient fills under legacy OSes (NT 4.0 and Win 95). __________________________________________________ UPDATE(2002-11-05): Version 1.3 Label edit fully implemented! Brand new subclasser working ok in MS Office and VS.NET so this one should fix the problems. Out-of-focus mouse wheel support (Outlook style). OLE Drag&Drop of groups implemented. cButton.Key property synced with parent collection. New properties: LabelEdit, AllowGroupDrag, GroupHilightIdx. Additional background style: ucsGrdTileBitmap. Bugfixes (including cMemDC). Help file updated. __________________________________________________ UPDATE(2002-08-09): Version 1.2 Automatic OLE Drag&Drop fully implemented!!! New properties: UseSystemFont, FlatScrollArrows, WrapText. Additional background styles: ucsGrdAlphaBlend, ucsGrdStretchBitmap. Bugfixes and new samples. Help file updated. __________________________________________________ UPDATE(2002-07-24): Version 1.1 Help file included. Additional background options. cMemDC bugfixes. VB bugfixes: now icons can also be 256 colors and truecolor. __________________________________________________ This is a fairly complete emulation of outlook bar. This control is fully customizable and can emulate both outlook xp and 2000 button bar (see "more samples") and then goes beyond. Control customization is accessible through couple of property pages. Featured is a hierarchical model (much like CSS) for defining formats of control elements (including hover/pressed/selected formats on group/items) which can be persisted (an .obf file) and a polymorphic object model for representation of group and item buttons data. Multi-line captions, multi-line tooltips (API), large&small icon styles, single/double/fixed bordes, horizontal/vertical gradients. Help is to be done (generated:-)) shortly. OLEDrag&Drop is in its infancy but still workable. Also, here you have it: the *realtime* color picker re-submitted as part of the outlook bar property pages -- check it out it's fast! Also, check out the error handler (robust one) and the DebugMode object leak info system. Has been checked on win2k for GDI leaks (win9x to be done, anyone?). This is in response to recent submissions of "commercial quality" and "industrial strength" software to this site. Although not complete the project could easily become commercial one. Greetings go to: Ariad Software (now www.cyotek.com), vbAccelerator.com (great inspiration), and Carles P.V. (for his controls submissions:-)). Read readme.txt for the build procedure. Please report bugs and problems and leave your votes!
It creates menu's dynamically at runtime, from the menubar itself to menus, and submenus. This is all done via an activex dll, that can be added to any project. The code acts like the treeview control, as if the menu's are nodes for easy application. Full source code for dll included.
This 7 segment LED control has a simple code interface for displaying standard 7 segment characters. It's expandable to do anything you want. Just set the dim and bright colors, the character to display and you have it! Please vote, even if you don't like it.
Just a few fixes added to this one. I made it easier to select the colors. Now you just change the "Color" property to any of the enums that popup. It does the rest for you. The Demo will illustrate that as well as the screen shot. Don't worry, I'm working on scaling. :-) PLEASE vote!!
NEW UPDATE! I have now made it so you can use an 8 character string to effectively "turn on" certain segments in the display!! It includes ALL the functionality as the previous versions as well! CHECK IT OUT. Please vote.
Let's say, for example, that you have a database with all your clients. Now, you want to select just a few of them and get all the information stored on the database about them. The ideal interface to solve this problem would be to have a List Box with all your clients on one side and an empty List Box on the other side. You could, then, select the clients that you wanted just by double-clicking on their name. The selected clients would move to the empty List Box. When you finished with the selections, you would be able to access a Recordset with only the clients that you selected! ____________________________________________________ Sounds good? Well, this ActiveX Control does just that! ____________________________________________________ >> If you ever tried to create an interface using two List Boxes you will truly appreciate this Control. Here is a list of the main features: ____________________________________________________ * It will connect to a password protected Database. ____________________________________________________ * The users can navigate on the Control with their keyboard. ____________________________________________________ * It will list the records according to the specified field. ____________________________________________________ * The users can select multiple items. ____________________________________________________ * A Recordset will be generated with the selected clients! ____________________________________________________ >> I worked as hard on the user interface as I did on the programmer interface. The Property Pages are very useful! ____________________________________________________ * You will be able to browse to the folder were your Database is! ____________________________________________________ * As soon as you provide a database name, the Property Page will list all Tables on a Combo Box so you can easily select a Table! ____________________________________________________ * As soon as you select the Table, the Property Page will list all the Fields from this Table on Combo Boxes so you can easily pick one Field according to the situation! ____________________________________________________ >> What you can learn from this submission: ____________________________________________________ * How to connect to a Database, a Recordset, a Table or a Query Definition. ____________________________________________________ * How to create a temporary Query Definition. ____________________________________________________ * How to create a SQL statement. ____________________________________________________ * How to sort a Recordset. ____________________________________________________ * How to list all Tables found on a Database and all Fields found on a Table! ____________________________________________________ * How to find out if a Field is a Primary Key or if it is a numeric Field! ____________________________________________________ * How to sort an array on numeric order using the "bucket sort" algorithm. ____________________________________________________ * How to sort a "two dimensional" array on alphabetical order using the "Bubble" algorithm. ____________________________________________________ * How to find the width of a string in Twips or Pixels! ____________________________________________________ * How to add a horizontal Scroll Bar to a List Box and how to find out if a List Box needs a horizontal Scroll Bar! ____________________________________________________ * This ActiveX Control comes with a nice Common Dialog Box Module! ____________________________________________________ This ActiveX Control does a few tasks that, at first glance, look very simple. However, it took me almost a month to finish it. So, please, give me your vote and post some comments. There are literally dozens of reasons to download this ActiveX Control! Go ahead and do so!!
Lots of Features. Includes Currency Formatting, Numeric Validations. Functions as a text box or Number Box (Toggle a Switch). Forces All Upper Case, Auto Highlights, Follows Insert Mode, Tabs on Enter Key. Neatly Arranged Property pages (I suggest you strip them out to lighten the load if you dont want to lug them around). It works great for me..I hope someone out there finds this usefull (Comments, Enhancement Requests, and..unfortunately...bug reports, are all welcome) Enjoy!!
this took a little while to do, but the screenshot dosn't do it justice, i spent about 2 days on this and it is awsome, it will look exactly like an icq pop-up menu(if you right-click the description on the form you can see it), and it is also an easy way to add icons to menus, and to change the background and forecolor and highlight background/forecolors, this looks great and will be a part of my next app(GroupCode, which will be followed by AllCode - these two programs will have an opc client/server connection and i gaurantee you, they WILL change the way you program),i know that when a menu pops up it makes the parent form lose focus, if you have a way to fix this please help me and will post the updated code on psc and give you credit for the fix, please leave comments/bug reports/bug fixes/and votes
Provide's True LCD Display on a form
This is a multi-style command button to add to your applications. It can emulate seven different styles at a very accurate way!!! see the screenshot to belive... you will really be astonished. And the best of all: no external dll's or ocx's need to be used, an even the XP button is ownerdrawn!!! A must have for any coder. UPDATE!!! now it supports cool color changes!
This project was put together as a learning tool to better understand how to capture Windows Messages using subclassing within a OCX. Capuring Windows Messages in a executable is very straight forward - however within an OCX, it's a whole new dimension. This project demonstrates how to overcome the difficulties without using thrid-party products or external DLLs. Keep your eye on both the Immediate Window and the UserControl's ListBox in both Design-time and run-time whilst resizing, minimising, maximising, moving, clicking, etc to better understand how the UserControl and Windows Messages Work. I hope that you get the same benefit from using this code as I did coding it!
The program will easily register your .ocx, .dll, .tlb, etc components quickly. Simply double click on the component and it's registered! Also has a few other fancy stuff in but I guarantee it will be useful to you!
Very simple, but usful because the only thing hotbar haven't thought of yet is changing back to older hotbar pictures. This program enables you to do so. Please vote for my code.
This UserControl Generate a Message Box that you can customize every detail of it. This is a 3rd update! Increase customizing performance, so you can adjust its... Title Bar Color & Font, Message Text Color & Font, Title Caption, Message Text, 4 Buttons Text, Button Highlight & Lowlight Color, Close Button Color & Back Color, Icon Back Color, Border Color, Border Style, Message Box Back Picture, Text Area Picture, and Message Box Back Color. Button now automatically recieve focus if you move your mouse over them, and the highlight color will be set to that button. Button also invisible if you don't set any caption data into it. If you think the desing is ugly can download it and customize yourself. In this version you also can insert picture in Message Box, and also another one as a background at text area. The screen shot is uglier that its real picture because this's .gif image. License problem is fixed so you shouldn't have problem with Regsve32 anymore. Old ugly close button now replaced with a better one. Please VOTE for me and leave comments. Good, bad, are strongly appreciate. Anyone who want to develop this with me just send an e-mail to [email protected] . Note: if you know how to play windows sound (set by user) like when you click Start menu or Minimize program, please tell me so I can put it in this code. Anyway, in this version, if you launch a message box, it also generate "Beep" Sound. Console Panel now very cool and so colorful, but you won't see it in screenshot. Now have method "SetBtnFocus" so you can set highlight to any button. 3 screen picture are add as template picture to put it in message box. Every time button recieve focus it generate event seperately. Console now have status bar to inform when any event has been raised. All properties is run-time customizable. Was it buggy? well, not in this version (3.2 R17) anymore. The most important thing, don't forget to *V*O*T*E* for my code.
This is the zipped version and it contains all the forms and code necessary to compile the .OCX Also included is a pre-compiled FTPx.ocx ready to use. Thanks This custom control allows applications access to FTP sites without the need to re-invent the wheel. Just set the Hostname, Username, Password and port properties and execute the Connected method and you're connected. You can Get, Put, Rename, Kill and Execute custom commands. The very best thing is progressing. This controls provides download and upload progressing.
Here you have it the source code for adding a progress bar to a listview control, similar to Napster and iMesh. I have brought the problems down to one and that is the Horizontal Scrollbar so if anyone figures this one lemme know. The code now refreshes of of the WM_PAINT message so it's super effiecient. Happy Coding!
This is great! A 3D button with no OCX's or API's. Every thing 3D on your forms is just an illusion. Well, this one is a great illusion. Anyone can do it. Just look at the code and you will see how to use it. One button is fixed, the other one you can resize and move. Uses a regular command button and some lines. I hope you enjoy and can use this code. Please leave me some comments on what you think. Any way to make it better with out making it into an OCX. And if you already know how to do something like this, great! I don't need to hear from you with how badly it was done. Just let it go. Anyway, the rest of you, enjoy the code!
To keep Controls in proportion to a form