Results for "Category: Custom Controls/ Forms/ Menus"
This is a grid control that is based on VB's ListView control. It includes methods to get and set individual cell data, row counts, column sorting, and column widths. I got the code that is used for the multi-line tooltips from somebody else's PSC submission.
An XP frame control, check it out. Screenshot doesn't do it justice. Based off of Flex dit Tannos frame control. Tons of options and features. *UPDATED April 29, 2005*
This is a class that allows you to easily..without any api knowledge, create rect regions and fill/paint them in a variety of cool ways..and if you vote make sure you vote for Kerry
Change the Old Appearance of the SSTab Control With Some new Cool Options. Ok some of the PSC coders ask me to fix some of the bugs on this code, instead I change the Subclass Code … the SStab Control is now more safe , without any vb Crash, and also easy to call the SStab Function.
I used the idea of Michael Hammond, Dot Matrix clock, and made a control out of it. Right now, you have the choice of 4 colors, of course you can add some yourself. You can change the font. The width of the control is ajustable but the height will automatically adjust to the height of one line of text depending on the font you choose. Tell me what you think.
Definately see screenshot. This is a iTunes/shockwave-style star-like rating system. I havent seen this (to my recollection) on PSC. This was developped for a custom DVD/Video management application. Set the MaxStars to 4, and use it to rate restaurants. Use (virtually) any number of stars and rate at an interval of 0.5.
Automatically generate statistics for anything (even comment fields!). Just send it the data, or tell it where to find it (txt and mdb files) and Uber Stats does the rest (locations can be relative). Instructions can be found on the form during design time - check it out, its way easy to use! Thanks go to: Neeraj Agrawal - xTab, Mario Flores G - XP Progress Bar, Fred.cpp - isButton, Steve McMahon - Awesome Popup Menu
I needed a simple msword compatible text editor in various parts of my system. So I sat down one night and designed this ActiveX control which you can 'throw' into any form. You can even bind it on a database. No technology breakthroughs here. Just lots of time saving when you want your users to have some control over what they write and you want to save them exactly as they want. It uses the richtextbox encapsulated as an activex and so you dont have to write any code every time you need a simple editor. Just throw it in. You can enable or disable the "New', 'Open', and 'Save' buttons. Some of the code for the richtextbox comes from some other contributors of planet-source, but I dont remember from who. Dont have to vote for it. I just hope that you find it useful.
This is a listbox class that adds several great features to the standard listbox. (1) function draw_header:=This function draws an attractive header at the top of your listbox so it looks more like a listview control. The string you provide should be the text you want for your header, seperated by pipe ""|"" characters. The [container] parameter is the object the listbox is drawn on..ie the form or frame or picturebox (2) sub additems_with_tabs:="This sub allows you to additems to the listbox in such a manner that string ""string|string2|string3"" takes the pipe character and converts it to tabs" (3) sub horiz_scrollbars:="Allows you to add horizontal scrollbars to the listbox. If [scroll_width] is not supplied then the items in the list are scanned and if horizontal scrollbars are required, then it is added, making the listbox wide enouph to view the widest list entry. If [scroll_width] is supplied then you are manually adding them, the width based upon the value you supply for [scroll_width]." (4) function search:="Allows you to search for an item in the listbox. This acts like the autocomplete feature of browsers in that the search is case insensitive, and a partial match returns the index of the first listitem matching so a search of ""VIS"", for example, will return the index of ""visual basic"" entry in the listbox." (5)initialize_listbox:= "This must be the first method called and it sets reference to the listbox you will be referring to in this class." (6) sub hot_tracking (this one is real cool) "Calling this sub and setting [benable] to True makes your listbox have a ""hot-tracking"" effect in that moving your mouse over the listbox causes the item under your mouse to be hilighted" (7) sub individual_item_tooltips:="The tooltip for the listbox displays the contents of the listitem the mouse is over. Useful if the contents of listitems width exceed the width of the listbox itself" (8) sub tabstops:="Set tabstop points for the listbox. Specify in pixels..a value for each succeeding column" (9) sub add_many_items:="Enables you to add multiple items with one call. Each item to add is seperated by a comma."
Ever wish you could add a Sizing Grip to your form without the added overhead of the ComCtl32? This control provides a nice work around and builds on the code of Karl Peterson’s subclassing technique to provide a lightweight solution that is only ~4kb. Simply drop on your form and of you go...
THis is a joystick class that finds a valid joystick and then returns to you one event that reports everything you need to know to program that joystick..from which button is being pressed to the X and Y pos of both joyhandles(assuming your joypad has two..if only 1 this will still work) to the position of the D-pad
Create your own button with any shape!If you want to have your program with professional and beautiful appearance , you can use this UserControl .Thanks for downloading this program and please post your comment about my program(good/bad).
Cool Animation Control. I have bin asked for help about this control so the update includs same pictures and help html file. Vote and Coments are always welcome ;-)
Display Checkboxes in Listbox Horizontally I've been searching the internet and PSC on how to display checkboxes in a listbox in a horizontal manner but I didn't found any. Perhaps my search keywords are wrong but really I found nothing. I decided to re-examine the listbox property if I can find something that I have overlooked before and there it is. Who would have thought that by merely CHANGING THE COLUMNS PROPERTY TO ANY NUMBER OTHER THAN 0 WOULD ACCOMPLISH WHAT I WANTED TO DO. Many of you may have already known this but for newbies out there, this might help. See the screenshot to see what I mean. For the screenshot below, the setting is: Listbox1.columns = 4 OR In the properties list, change Columns = 0 to Columns = any number you want. The number of columns specified will configure the listbox to show 4 columns in its display window. A horizontal scrollbar will be displayed if the data display occupies more than 4 columns.
Hi every one. I've updated the isButton, you can get it on the page it was before here on PSC also, I've made a ocx version for those have requested It. this message will be deleted soon, but I thought this was a nice ay to repply to all the e-mail I've recibed claiming for updates. and to the PSC admins, sorry, I promise that I won't do this again :) visit http://www.geocities.com/isbutton3/ to get the compiled ocx. happy coding. ************************fred.cpp
This is a picture control that I think most of you will like and (most ;~| ) all of you will appreciate. This picture object least importantly of all, displays a picture. Here are some of its more powerful features: 1)Can display a picture from a file, just like a regular picture control, BUT can also, on the fly, instantly (without winsock or any other control) download a picture off the web and display it..so this control can dynamically display images that dont even reside on your machine 2) The control has a storedPicture object..which allows you to store an unlimited number of pictures for later use. simply call the AddToStoredPictures method. Display any one of the stored pictures, later, as the current picture by a call to oPicFlex.ActivePicture = 2 (or whatever index you specify) 3)The image displayed in this control automatically resizes as the control resizes (like the Image control)..buy only if the stretch property is set to True, like the Image control 4)A single call to this controls DrawFromThisBlt method acts as an internal replacement to the BitBlt, StretchBlt, and TransparentBlt api calls, so any part or all, of the controls current image can be painted to any other DC
I wanted my software to "report back" to me, now and then, about their whereabouts. So here it’s an activex control that asynchronously and unobtrusively sends me back information. It is fully parametric and I have it set to report back the first week, first month and then every 3 months. It calls the API directly instead of the winsock control and never gives an error no matter what! It just works on the background and waits the right moment. Then it can try on predefined periods to contact the internet and send the info. In this way I know how many copies are out there, their serials etc. To demonstrate the control I have included a very simple MP3 utility that I wrote to help me clean my mp3s (Don’t burn me for this ). Unlike other software it can also take the ID Tag information and use it to rename the filename of the song (instead of 44xx23.mp3 etc ). Some of the code ofcourse comes from the great Planet-Source!! Let me know what you think because there is also the ETHICAL side of this control and I would like to know your opinion about it. I mean if it’s ethical to have your software sending back info about their users without their knowledge.
This is a flash button simulation in that when the mouse enters the button the caption flashes several times. In terms of the actual number of lines of code needed for this button it is quite thrifty which should mean a totally error free and processor easy button. I call it black beauty. Once again feedback to motivate me for improvement is highly desired.
Hi this is a small Frame control I made about 30 min ago. anyway I sure other people have uploaded there own but here is mine. anyway You can move the frames around. Add captions, Chnage border colors and more. uses No pictures boxes or lables Pure VB code o and only Three API calls that just allow you to move the control and get RGB Value. anyway hope you like it do as you please with the code. Please vote if you like this code.
API-ListView usercontrol with most commom features (no dependencies -> thanks to Paul Caton for his great self-subclassing usercontrol template [CodeId=54117]). __________________________________________________ Notice: 1) Column, item and imagelist-icon indexing is zero-based. 2) Sorting: user should create a 'private' array for storing current column sort order (Ascending/Descending: 1/-1) -> Switch between sort order. 3) Items/SubItems do not allow custom font appearance (Bold, Color, etc). -> This needs custom-draw routines. 4) All properties are 'run-time properties'. __________________________________________________ Update 09/07: Added basic custom-draw support (for [Details] mode). Now, you can easily create a highlight effect (row and/or column). Enable RaiseSubItemPrePaint() and respond to OnSubItemPrePaint() event. __________________________________________________ Update 09/08: Custom-draw fix. Crash when XP theme enabled (Thanks to Dana Seaman). __________________________________________________ Update 12/09: Second and last fix for XP. __________________________________________________ Compatibility: in principle, all systems. // 33Kb zip.