Results for "Category: Custom Controls/ Forms/ Menus"
When placed on a form, this Control will take whatever its .Value is and show you what angle of rotation you've entered. GREAT FOR Graphic / Multimedia / Game Application Development
Tired of using the ProgressBar control? This Example shows you how to create your very own ProgressBar with FREE selectable BackColor and FREE selectable ForeColor. Enjoy! AND VOTE FOR ME!!!
This code is a template for a scrolling form. This is great to use if you would like to create applications that work in all resolutions. I reccomend placing this form in your C:\Program Files\Microsoft Visual Studio\VB98\Template\Forms folder so that it is available as a form template.
Move any form without a title bar! You can use a label, command button, picturebox, anything to move the form.
This will show you how to make groups in your listboxes with this simple control. Since it is not yet 100% functional (it's about 95%), there is a lot of roomfor personal customization. This control is yours for the taking. Download it and add / remove any features you want.
Pre-version (but full and working) of a software to make Mindmaps.
Amazing new control! Tired of VB's common controls, check out this textbox! When it receives focus, the blinds open and when focus is lost, the blinds close again, creating a dazzling effect on YOUR FORM! PS - Dont worry, YOU CAN CHANGE THE COLORS OF THE BLINDS TO A COLOR OTHER THAN PALE RAINBOW COLORS :) I did that for effect.
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)
Visual Basic 5.0 allows you to use UserControls to create ActiveX controls in your projects. The following code snippet does two things: It gets a reference to the form in which a UserControl is placed, and it gets a reference to that control on the form. by David Mendlen
Suppose you have a listbox with some elements and want to drag&drop a selected one into a textbox. http://137.56.41.168:2080/VisualBasicSource/vbdraganddrop.txt
handy code for clearing all text box controls at run-time so you don't have to bother doing it at design time. http://137.56.41.168:2080/VisualBasicSource/vbworkingwithtextbox.txt
Use of 3 types of common dialog boxes:1: choose printer, 2: choose font, 3: choose color. http://137.56.41.168:2080/VisualBasicSource/vb4usecommondialog.txt
This is a Flat ImageCombo, I made It, because I was bored with the "normal" Combo from VB. And I could'n detect when user selectted an Item on the list. So I decided make one better. It's very userful ( I hope ) please Check It out and vote. Comments are also very apreciated.
ActiveX control like on WinXP open dialog.
4 cool user controls. !!! FOR ADVANCED USERS ONLY !!! NO SAMPLE PROJECT INCLUDED !!! Experiment with Properties Browser and methods and events. Look at the great events of GGCommand (I have not seen a Flat Command Button like mine on PSC yet :)) - MouseEnter and MouseExit. Supports transparent images and Caption and Picture position adjustments. Usage of GGMover: In MouseDown events of some object (Picture1 for example - set form and picture1 .ScaleMode to 3-Pixel): GGMover1.CaptureObject X,Y In MouseMove event: GGMover1.MoveObject Picture1,X,Y,True,True,0,300,0,500 In MouseUp event: GGMover1.ReleaseTargetObject If you have any problems with these user controls just write me an email to gogox@yahoo com or [email protected] This is my first submission to PSC.Enjoy
The award-winning TreeView Class wrapper has been optimised using APIs plus many new features added like simple Drag'n'Drop with auto-expand & auto-scroll, Multi-Node selection, Overlay Icons, load/save to binary/Xml file, and many more... 6 Tutorial applications are included to demonstrate sets of features to help make it easier to understand and implement into your own applications. The Wrapper contains several files that can either be embedded directly in an appplication or compiled into an in-process DLL (by Default). If you're considering working with the TreeView control, then this will be an invaluable tool for you! *** Latest version can be found here:- http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=37553&lngWId=1 ***
Guys as i promised, here am back with the resizeable and moveable version of Translucency OCX... a Novel method to implement translucency to your VB Forms, with just a single line of code !!!!! You expect it to be more easy ????
The FormattedLabel acts as a standart label control, but by placing commands within the caption, you can display different font effects. Different commands allow you to change bold, italic, underline, strikethru and color styles and insert line breaks. The control also features AutoSize and WordWrap. But i can't do it with transparent background. Buuuu. :o) Hi folks. I change tags to html like but without color tag. In declaration part of UserControl there is constants like CONST cBoldStart = "". You can change tags there but they must by among . Thanks to all for your reqest and tips. p.s. I hope than my programing is better then my english. Sorry :o))))
Best Way To Create 10000 Menues At Once! And Display Them As Menu Bar or Floating PopUp!!! BETA TESTING!