Results for "Category: Custom Controls/ Forms/ Menus"
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 code will change the forecolor for Labels and Textboxes (can be edited for Other Controls).
UPDATED To allow the user to resize a control at run-time with the mouse. All API, short code, just set it and forget it. Useful for picture boxes, report designers, etc. No high overhead.
A simple (and free) way to create an Outlook-style listbar on a form. This could easily be made into an ocx but for simplicity I have just designed it as part of the program.
Will let any vb coder to know usefull hidden thing in vb,that may be many of you pain a lot about it...
TabIndexManager (*array of controls bug fixed*) is a add-in for Visual Basic IDE that control the TabIndex property of the controls in the selected form. *A MUST SEE CODE !!!* ..... Special thanks to my friend Marcelo Ivan Martin. ................................................................................................................................................. *** PLEASE DON´T FORGET TO VOTE ! ***
Creates a totally customizable MsgBox replacement which can have custom icons and buttons. Report any bugs or suggestions, and feel free to modify the code (just give me credit for the original). One thing I haven't gotten around to adding yet is the support for default buttons, so if you have to, you can add that. Also, in order to use this in the sample prog (any prog for that matter), you have to compile it into a DLL and reference in the project first. PSC doesn't allow precompiled DLLs, so you have to do it. [ UPDATED ] It now has full support for changing the colors of the buttons and messagebox, as well as their colors
Colorfull Multilingual timepicker Control. Style in 3D or Flat. Timeformat in 24 Hours / 12 Hours with AM/PM. Showing the current time can be set.
This graphical scrollbar is a nice and cool replacement for the poor, boring standard scrollbar Many different styles for the bar, buttons, arrows, ... Possibility to set colours for background, buttons, ... separately Possibility to set pictures for background, buttons(normal, pressed and hoover for buttons and scroller), ... Possibility to set orientation to horizontal or vertical Property pages for colours, predifined colours, pictures, styles and values Pictures for a few bars included Tested on Windows 7 / 2000 / XP / Vista
Cool graphical messagebox/inputbox that automaticly resizes to the right dimensions based on the message and buttons needed. Code for custom formskinning, buttonskinning and textbox included.
Resize All Controls On A Form
This is a wrapper class that allows you to set minimum and maximum sizes of a form. Never do again checks on the Form_Resize() event, that flickers! This one uses APIs calls to set maximum and mimimum sizes. Four functions calls are needed in the form. I had a look into PSC, and I found nothing similar to this. Have a look at it, and leave comments! Parts of these code are from www.vbaccelerator.com, but this is easier and much better.... :-)
Here it is! Want to enter only numbers in a textbox? Or only currency? And avoid users paste something that is not valid? Try this! This is a class module that lets you turn a standard textbox into a new one, that accepts only numbers (also decimal). The decimal and currency separators depends on the locale settings, and are read via API! New features added also!! Check it out!
This is a class to extend the functions of the standard ImageComboBox (MS Windows Common controls) Features include: autocomplete, allow only present items or not, auto-set dropdown width, and more. I need a feedback from you, so please leave comments and vote. Thanks ;-)
Creates text boxes and labels 'on the fly'. Type the number of textboxes/labels you wish to have and hit create and it will create them for you. Found similar code and decided to play with it. :\
mdi non activating & reduce toolbar example (kind of like (photoshop or dreamweaver toolbars) This tutorial shows how to create non-activating toolbars in a mdi app. You can hide, reduce the toolbars, and they do not appear in the menu windowlist. There is no subclassing for the non activating toolbars, and no ocx are used, just a couple of API. There is also an example of subclassing all the child windows on the fly when creating them. That lets you specify a minimum size for all the child windows ! There is no subclassing, and no ocx are used, just a couple of (easy) API.
Sick of those ugly VB 6 scroll bars that don't support XP themes? Don't feel like messing with a manifest? Here is the code for you. This scrollbar control acts just like the XP scroll bar on a multi-line text box because it is. The control just uses an API call and a timer to expose the scroll event of the textbox and then hides the textbox. This means you get allot of functionality with very little code. There is room for improvement and additions, but I wanted to keep the code as simple as I could.
Provide's True LCD Display on a form
This is an example of creating borderless forms. It will help you create your own look for your application, if you would like to move away from the typical Microsoft Standard.
Here's a nice way to create XP Style Buttons. This literally will just take minutes to change the look of your .exe. Just simply follow the instructions and you'll be quite happy with the result. Note: You have to be on an XP machine for this to work. Visualicious is probably an even better alternative here at PSC, But doing it this way with Reshacker is kind of fun.. and the program is quite interesting...