Advertisement

Results for "Category: Custom Controls/ Forms/ Menus"

2_2002-2004 #121342
Message Scroller Control (Text Marquee)

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....

2_2002-2004 #121353
Desktop Capture

Capture desktop color and picture from mouse cursor position and save picture

2_2002-2004 #121355
ReBar (Internet Explorer - Like Toolbar) in VB

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]

2_2002-2004 #121364
Character shaped forms!!

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).

2_2002-2004 #121378
Account for the taskbar when centering a form

This code takes account for the taskbar and the office toolbar when centering the form.

2_2002-2004 #121379
Animated gif display

This code allows you to display an animated gif file in your project

2_2002-2004 #121382
Transparent Text Box

This emulates a textbox with some limitations. But this text box control can have a texture picture. Something different from the standard colors.

2_2002-2004 #121383
Basic screen saver with full features (preview...)

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!

2_2002-2004 #121388
A cool custom (form) msgbox using API to get icon

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.

2_2002-2004 #121403
SuperRuler 1.0

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.

2_2002-2004 #121429
RazorDialog - Complete Common Dialog Replacement

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.

2_2002-2004 #121461
cTreeView v02.03.01 (bug fix only)

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. ***

2_2002-2004 #121474
BMP2ICON

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)

2_2002-2004 #121477
MouseOver/Exit Class

This projects demonstrates how you can detect Mouse Over and Exit events on a form using a class module.

2_2002-2004 #121511
GurhanButton - Major Updates

Major Updates...Now, Picture shadow on OfficeXP buttons, easier button setup...etc.

2_2002-2004 #121515
Smooth Scrolling DataGrid

This code allows you to have the smooth-scrolling effect seen in better applications on your datagrids(could also apply to other scroll bars in VB) When you grab the trackbar and move it, VB doesn't do anything until you let go. Or if you click on the trackbar itself, the grid just jumps. This code shows you how to change these effects so that the grid(or text) will scroll smoothly as you drag or click.

2_2002-2004 #121518
Windows XP clone command buttons, option buttons, and check boxes.-- MAJOR UPDATE!!! (finally)

I'm finally updating this submission! I have completely redone all three controls. The command button is more richer, has more of the "feel" of the acutal Windows XP command button. I noticed previously it flickered, not anymore! I'm completely drawing these buttons to the user control, so there is no flicker. I was also using a timer to detect when a mouse entered and exited the control, which was a bad idea. I'm now using a different method. On these controls you can set the ForeColor, BackColor, and Font properties. Responds just like actual Windows XP buttons. This is a major improvement from my last submission. Well anyway, hope you enjoy these, now everybody can take advantage of the appealing Windows XP look. NOTE: In the screenshot, the controls on the left are the cloned ones :-) Can't really tell a difference, can ya?

2_2002-2004 #121531
iList

Cool list ..., see screen shot.

2_2002-2004 #121538
Real Windows XP Controls in Windows XP / VB6 without images or custom controls

Ever wanted your VB6 apps to fit in with Windows XP? Now you can do just that. There are other samples on this site that accomplish this, but they use user controls or images - which means that the controls are slow and may not be resizable - and they're large. Want a better solution? This is it. Real Windows XP controls on Windows XP that match the user's visual style (i.e. theme), without user controls or images, with only one API call. You can even use the standard Visual Basic controls (buttons, scrollbars, checkboxes, etc.) and it will work - all with the speed of a native application. Because it is a native application, using Windows to draw the controls.

2_2002-2004 #121543
ListView Editable SubItems

Create a listview with editable subitems, without using the MSFlexgrid control. Stand alone module can be used for any project where you need this kind of functionality. It doesn't use subclassing, so it will not make your project unstable.

Languages
Top Categories
Global Discovery