Results for "Category: Custom Controls/ Forms/ Menus"
This a MsgBox replacement using Flash. While the flash movie is very simple, it does give a good example into using flash with VB. Read the REadme for information before using. The zip contains the dll, dll source, and source for a sample project using the dll. Also included the flash source so you can look at it and change it if you like.
Professional High Quality Code. Looks, works and behaves like the Windows Task/Icon bar on your screen (only better, with more properties). It actually forces the screen size to a slightly smaller size to fit the toolbar in place, thus the user still has full view of other software programs running at the same time. This is the genuine untouched code "...based on the J.Richter's CAppBar...", (FREEWARE)! Use it for many projects. No need to buy or use a TOOLBAR OCX. A few lines of code is all you need, when you add the prewritten BAS and CLS files. Creat your own BANNER style form, like the ones seen with FREE INTERNET servers. This code is genius!
If any of you saw my submission awhile ago that converted RTF to HTML. This has the original code from that post, but also has a function that converts HTML to RTF.
Generate very detailed random terrain. Uses a random seed generator so that if you enter the same number with the same parameters it will generate the same map for you. It includes many options like detail, smoothness and water level. After building it allows you to rotate it three-dimensionally.
Disable the shortcut ALT+F4 in a Form
This killer code demonstrates the fastest and most efficient way to combine pictures transparently. Designed to be used in a paint program or game, this picture will combine 2 pictures at any percent transparency. I haven't seen code of this nature anywhere else on the site, so be sure to check this out. This code could also be used to fade pictures into eachother (like they do in MYST with transitions mode on), if you're interested. Includes picture loading and saving code as well.
I have seen some e-mail stuff on this site, but all are so freakin complicated. This is simple and VERY easy to use!
What? Another marquee? Yep. Put into 1 class and 1 usercontrol file. Can contain separate text "blocks" each with it own forecolor. Use the mouse to drag the display from left to right (or right to left) during the scrolling (just in case you missed out something that scrolled away). Continuous scrolling (does NOT wait if the last block is out of view, then start the first block, BUT glues the first block to the last one, so you see no break). Can place separator between blocks. It looks like the BBC News ticker. Click event on each text "block", scroll speed, colours, font, etc. Just download and see for yourself. Need more convincing? Someone quoted this is the best marquee on PSC yet....
Capture desktop color and picture from mouse cursor position and save picture
This is a class module that allows a "Rebar", or an Internet Explorer style toolbar to be made. It subclasses the Rebar and can trigger events when the rebar is moved, resized, clicked, mouse moved, and a lot more. The rebar can hold any VB control, even UserControls. THIS IS NOT MY CODE! I am simply passing Ramon's code, which can be found at www.zonecorp.com His code made this sample possible! You can e-mail Ramon at [email protected]
Have you ever wanted to make your form's shape odd? Ok, there are several samples and programs around that can make your forms like a shape(circle, rounded box or something a little bit more complicated). But here is the example to make your form's shape to be ANY TEXT, in ANY FONT, in ANY SIZE and also any two colour's gradient. It's a really good example. Imagine you can shape the form not to be just plain text, but the shape of special fonts(such as Windings and Webdings). Just change the GetTextRgn function's variables(Font, Size, Text) and the variable Color1 and Color2. Easy. And the result is outstanding! You can also use the Chr$ function to add a text(this is useful for spec. chars).
This code takes account for the taskbar and the office toolbar when centering the form.
This code allows you to display an animated gif file in your project
This emulates a textbox with some limitations. But this text box control can have a texture picture. Something different from the standard colors.
As many peoples seems to be interested in creating a screen saver, here is the code for a basic "blank screen" screen saver. You just have to put any animation you want. This code has all screen savers features, including password protection and preview... Have fun!
This is a form based custom message box. It uses a simple API call to extract icons such as vbInformation, vbExlamation, and etc. (you can even adjust the location of the icon on the form) to simulate a msgbox. There are less than 20 lines of code for the API call. This is pretty cool. So, check it out. I got this tip from a VB technical journal.
Advanced Controls - SuperRuler 1.0 OnScreen measurement control. Select between four ScaleModes, change Fore and Back Color, use hoover or click values. Includes mouse tracking.
This is great! Its a very simple UserControl I created that completely replaces the mess of common dialog. For example, if you load my OCX into your program and you want to edit the font of a rich text box, all you need to is type "RazorDialog1.SetFont RichTextBox" -- thats it! just replace the name of RichTextBox with whatever your rich text box is called! I made common dialog so simple, you will never need to load it again. Please vote! Please give me credit if you use this is any of your programs. THIS WORKS ON WINDOWS9X MACHINES.
This is a bug-fix update for the cTreeView DLL/Class Wrapper. Fixes disappearing disabled nodes, error cause if resetting Disabled Nodes when there are no Disabled Nodes, and NodeMove not honoring individual Node expand states. Thanks to Zhu JinYong and Denis Chollet for finding these bugs. *** NOTE: This is an update ONLY - not all files are included. Please ensure that you have downloaded v02.03.00 [http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?lngWId=1&txtCodeId=37553] before downloading the update. ***
I had always found it frustrating when I needed to convert a bitmap into an icon because popular software such as MSPaint or paint shop pro does not do it. Here is a small VB program that converts a bitmap to icon. Alessandro wanted to know if he can display the image before converting it. (Done)