Results for "Category: Custom Controls/ Forms/ Menus"
FormSkinner UserControl lets you create and load-in your own graphics to skin your form with custom Titlebar and borders. There are surtain rules for the graphics, but you'll get a good idea if you check the included pics. (I know this will increase the size of the download, but it's helpful. At least for beginners. In that matter... use "folder names" when extracting) You can also put your Company Logo up along with the caption and icon. Link to web is also included... Added for the "Online Update" purpose. There is more useful properties that can make your form(s) innovative. Thanks!
A basic listview manipulation, wherein you can use manual edit on every column and row by double clicking the specified cell. You can edit and delete the text on a cell, set alternate background to every row. I am just sharing... For some instance that i have similar codes to you that doesn't mean that I copied your code. I have coded this on my own and I already give comments to some author. If you like this code please vote...
This is a ocx I started to allow a user to use the winsock control with a socks4 or socks5 proxy, as well as without. It basically functions like the winsock control but with added socks4 and 5 support. It's a work in progress. If you like it please vote.
This API_ProgressBar control emulates most of the properties of Microsoft's ogirinal ProgressBar control. I wrote this control because I have an obsession with not including OCX files in my applications... because I prefer to create single-file programs without dependencies. Included is support for visual styles, if used, and properties specific to XP and Vista, such as Marquee and State. See included readme file for further details.
FAEL is a template to buil a sales manager and inventary system
Pre-Requirements : Pak Urdu Installer Or East Asian Language Support (XP) http://www.mbilalm.com/download/ Introducing first time on the whole world of internet, there are all Urdu Programming Controls in VB6. You will not be able to find anywhere else. When I've started to fight for Urdu Language's Programming, i realized that there are no Urdu Programming Controls (UPC) available anywhere, that programmer can use for there Urdu Language programming. So, it is a effort by me to solve this problem. These are only the 'Simple' controls to show only that how these controls can be made and used in VB6 applications. I hope, all beginners & professionals will like it. I 'll feel glade to get feedback from all buddies. Please give me your feedback on my email address ([email protected]) about this code, Also must rate & vote for this code on PlanetSourceCode. Thank You. Join Urdu Programming at Facebook http://www.facebook.com/pages/Urdu-Programming-VB6/263338567072301
This an update to the award winning code of Goober MPC wich you can find on http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=68342&lngWId=1. I amnot trying to take credit for his creation. Just added some extra functionality that is very usefull for me. I got tired of trying to figure out ways how to fit controlls in my forms in such a way you can expand of collapse the controll, so you could have more space for what you are doing at the moment and you can push other controlls witch are taking a lot of screenspace aside. I also figured that with resizing and collapsing controlls on the fly it would handy if you don't need to write code to resize inner controlls any time, so I made a small function for it. I have been getting a lot of great code and ideas from this website for years so I tought it would be fair to add something myself. =========================================== UPDATE TO PREVIOUS VERSION IS OUT 11-06-2010 =========================================== Fixed a view bugs and added some interesting new functionality - The frames can collapse jointly from left to right, from right to left, from top to down or from down to up, depending on how you set it - The borderstyle in the frames can be set to FLAT or SUNKEN or whatever FOR ALL CONTROLLS contained in the frame with one line of code. JUST DRAG IT ON yOUR FORM, EDIT SOME SETTINGS AND YOU ARE READY TO ROLL, so you can concentrate on what your app should do and not on those silly lines regarding resizing and organizing controlls on your form. The only interesting feature I would like to add is the ability to load forms in the frame, because then you could easily make dockable apps that don't act unpredictable and come with shiploads of code.
This is the fastest thumbnail view control with mouse wheel support ever seen before, even in PSC please vote me if you like this code.
2º UPDATE: Fixed crash when more than 30 controls added. Add control array sopourt UPDATED: Fixed a Focus bug UserControl to replace SSTabDialog OCX. Works like te SSTab, you can add controls wich can only be seen in the active tab. Includes a PropertyPage to edit Tabs and change the active Tab. Please do not insert controls without the hWnd property or the control will fail
Picasa ListBox. Custom ListBox like Google Picasa ListBox Control. It's support almost all google listbox function. You can custom each header, item. It's support separator style for item too :D. See the screenshots. Hope you like it :D Please vote :D
Snapping a form to the edge of the screen is easy enough in VB... that is, if you don't mind subclassing. If you'd rather not have to worry about subclassing and the pitfalls involved then these solutions may work for you. The implementation issue with VB is that it provides no mechanism for determining when you've clicked on the caption bar. The two examples presented in this article show how you can overcome this limitation in a couple of ways without resorting to subclassing. The first example, "Snap with Caption using Timer", shows how you can use a standard VB Timer control to determine when the mouse is requesting a form to move. The form's Moveable property is set to False at design-time and all movements are handled by our code. This allows us to take full control over positioning and snapping behavior. The second example, "Custom Snap Areas", demonstrates how snapping can be done without a Timer, so long as you don't mind having a captionless form. This example also demonstrates setting up custom snap areas independent of the screen size. Thanks for reading and I hope you find my code useful.
To center all of your forms nicely on the screen, use this as the first line in the Form_Load event--resolution independent. 'note:call this function like this: Center_Form Me
When you need to display the history of a changing value, there is a bit of work that must be done. This UserControl does that work for you in all sorts of colors and styles. Don't forget to vote!
Show how to make a text box not beep but do something else when I hit the Enter key. This code example makes nothing happen, for an extended period of time:
This code is reusable and small enough to paste into whatever you're doing and instantly have a form that has no need for a title bar.
You can achieve some cool form wipes with judicious use of the Move method. For example, to draw a curtain from right to left use this routine. It is also possible to wipe a form from bottom to top, and from both sides to the middle, using similar routines
The primary focus here is to allow you to display forms that are larger than the screen can show. Need an 8½" x 11" Form? NO Problem!The size used in this example is 8½" x 11", but it could just as easily be landscape, envelope, or any needed size.
Although using the API is a nice way to create multi-colored forms, there might be a reason why you would wish to create one without using the API.
The Switchboard:A method for handling subclassing in ActiveX controls f you develop ActiveX controls and intend to subclass or hook a window, you'll very quickly discover a problem when you attempt to site multiple instances of your control. The subclassing, which worked fine with a single instance of your control, now no longer works and is, in fact, most likely is causing a GPF. Why is this happening? The AddressOf operator requires you to place the callback routine in a module. This module is shared between all instances of your control and the variables and subroutines that the module provide are not unique to each instance. The easiest way to visualize the problem is to imagine a shared phoneline (or a partyline as we hicks call it) where multiple parties are trying to dial a number, talk, and hangup, all at the same time. What's needed is an operator, a routine that controls the dialing (hooking), the talking (the callback routine), and who routes information to the instance of the control that requested it. The Switchboard subroutine (see below) and it's supporting code provides a method for subclassing from multiple instances of your ActiveX control. It is not memory intensive, nor is it slow. It's biggest weakness is that it is hardcoded to intercept particular messages (in this case, WM_SIZE, to trap resize events) and will require some minor modification on your part to use.
These events are usually ignored or inconsistent amongst programs. For the users benefit, highlighting the current textbox, or tab control will aid in their navigation of your forms. But how to keep all these events consistent? Here is the answer. (Well our answer anyhow... until full-inheritance in VB 5.0)