Advertisement

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

ASP_Volume2 #38689
True XP Controls, with 1 API

Objective: To create and use a manifest file for displaying common controls WinXP style on a machine running WinXP with the XP theme enabled. Function: This code will only provide WinXP controls on a machine running WinXP. The XP theme must be enabled (Not the classic theme) for this code to work properly. Also, this only works when the program is compiled as an executable, and will not work in the IDE environment. Once the InitXP sub is called, all forms and controls (the main controls and any controls in the "Microsoft Windows Common Controls 5.0 (SP2)" ocx) on all forms will be display in winXP style, so you only have to call the sub once. Also, MsgBox's and InputBox's will have the xP theme. What's cool about this code is if the xP theme is enabled, but a different color scheme is used (other than the default blue), the manifest automatically acounts for that. The truely great thing about this is that no new activex controls are introduced, and therefor you do not need to account for different OS. If you want XP controls on machines other than XP, there are hundreds of controls on the net. This code reduces deployment costs, is small, and is self-contained. I have not tested the code on any machine other than winxp, but this should not generate any errors. If it does, a simple call to "GetVersionEx" could show which OS is running, and in the Sub InitXP, add the code: If WinXP = True Then all current code End If Known Problems: Command Buttons, Option Buttons, and Frames do not display properly when placed inside of another Frame. Currently working on this problem. One last note: The exe will not display XP controls the first time it is run, and I have not found a way around that yet . . . Maybe creating a program that first creates the manifest, then shell's the main program before ending . . . Or maybe the install program could solve it somehow Credit: I got the idea from this code from another source, I believe on planet source code, but the code did not work, and was not well organized/commented. I have no idea who the genious was that came up with this code, but all the credit in the world goes to that person.

ASP_Volume2 #38690
CInfoTip

CInfoTip is a great replacement tooltip class that can be heavily customized (colors,font,dropshadow etc). Developed for use by in my ActiveX projects.

ASP_Volume2 #38702
IntelliSense Type Drop Down ( Position from Character )

This is a quick and dirty example of how to add IntelliSense (like the VB IDE) type functionality to your apps.

ASP_Volume2 #38707
Dir Monitor

ActiveX dll source code & test project which monitors a directory for changes. It will watch for files being added or deleted, and changes in attributes or size, and raise an event when a change occurs. I have not used any api calls for this, so there ARE more efficient ways to write this code. I needed to get it done, and was having too much trouble with the api calls working smoothly. I don't care if you vote, but would really appreciate constructive comments. Thx

ASP_Volume2 #38726
Invisible Form

This code will simply allow you to create a form which is clear, meaning you can only see the controls on the form, and everything else will appear as whatever ur form is covering up. The best thing about this code is that if you click on an area of the form which has no controls, and is transparent, then it will take you to that window. MAKE SURE YOUR FORM SCALEMODE IS PIXELS

ASP_Volume2 #38755
EBSlider

The EBSlider control is a self-contained, horizontal/vertical slider control written entirely in VB6.

ASP_Volume2 #38770
EBSplitter

EBSplitter is an easy to use splitter control. Animation is smooth, and the control comes complete with a demo text file browser to show off some of its features.

ASP_Volume2 #38776
SysTray With Popup Menu And OnTop

Put an icon in the system tray with popup menus without any ocx or dll. Updated to include the option of having your program be on top of all others, very simple to use. I'm not really worried about votes, but if this code helps someone new to Visual Basic I would like to hear a comment if it's not too much trouble.

ASP_Volume2 #38783
DartBoard Control

A while ago I was developing a dart statistics program, unfortunualy sometime later I stopped developing. But I already made an control to handle the dartboard. It's not completly finished, I still have to add a dart throw animation in it. But still I think it's ready for use. Some features: - Board is resizable - all colors are adjustable - all ring sizes are adjustable. Throw dart: - by mouse clicking on the board - by entering the darts x,y location - by entering the darts value. I found it a waste of good programming to leave it on my computer without any use. I hope some of you can use it in your own applications. If someone can send me a good animation of a dart in flight, I would appreciate it and I would put it in the control as well.

ASP_Volume2 #38792
An Enhanced Combobox

Enhanced combobox with various levels of Auto complete (including Access style), Auto drop down, settable dropdown width, and an easier coding interface.

ASP_Volume2 #38867
Mac Titlebar Control V1.2

The Code is an update that uses properties instead of methods to update,it also uses an align property so no code is needed to resize it when the form is resized. Questions, Comments? Email me: [email protected]

ASP_Volume2 #38869
Working with Winscok Control

This article will help you to understand the basic functionality of Microsoft Winsock Control. Also includes a sample Client-Server Application to transfer files from one computer to another using Winsock Control

ASP_Volume2 #38888
Cool Title Bar Control

The Cool Title Bar control allows you to have custom title bars with spectacular gradient effects, image support and also a rich and interactive user interface. The simplicity of this control in terms of use and the power of it will enable even a novice programmer to create eye catching applications. NOTE:THIS CONTROL HAS NOT BEEN TESTED WITH VB 5/VB 4

ASP_Volume2 #38891
JSOBJX

THIS IS MY OCX FOR STARDOCKS DESKTOP OBJECTS SEE SCREEN SHOT PS VOTE FOR ME THNAKS

ASP_Volume2 #38898
A SmartButton Control

Simple flat button control, pops up on mouse over, Preeses down on mouse down, goes flat on mouse out, includes the MouseMove, MouseDown, MouseUp, MouseOut and Click Event, Can change the picture property or have no picture at all. No timer control needed.

ASP_Volume2 #38899
A Designer Topbar

The designer Top/Bottom bar Activex Control is a scrollable toolbar sort of entity that imitates Outlook bar. I made this for topic selection in my astrology package. Its quite well designed, and will be good for software with multi documents/topics. I have supplied the source(.ctl) file in here. Don't forget to rate this code. Warning: There are no comments in the code.

ASP_Volume2 #38909
Monsoon Controls

I first made these controls for NAVEN(the game i am making, search for it on psc), but am now just adding any controls i need for my newest apps, this will probably be my last submission for awhile because i am working on a IDE for 10 languages(hope i finish it), which i will post on psc(probably). this set of controls includes a scrolling container, a gradient label, a fairly unique horizontal scroller(look at it and you will see why there is no vertical one), a gradient progressbar, a system button, a toggle button, a flat button, and a ton of API calls that i will use in the next version of this(a few new controls that i am working on use them). hope you ppl like this.

ASP_Volume2 #38925
jeffLabel - true transparent label control with drop shadow effect

jeffLabel is a replacement usercontrol for the standard Visual Basic label control. The control started out simply as a usercontrol containing two labels (for creating a simple drop shadow effect). Things got a bit more involved when it came time for the new label to be a transparent label. The solution was, while in transparent backstyle mode, for the label shadow and text to be drawn directly onto the device context of the parent control. While in transparent mode, this label demonstrates advanced usage of the DrawText API call, specifically, drawing text in any font regardless of the current font in the device context. Additionally, the GetTextFace, GetTextMetrics, GetTextColor, SetTextColor, SelectObject, and CreatFontIndirect functions are demonstrated for converting standard vb font objects into logical fonts, and device context font metrics into standard vb font objects. This is version .1 of this control, so there are some bugs I am aware of already including: transparent user controls have no .hWnd and so do not capture mouse and keyboard events (will need to subclass the parent to trap these events), when in .AutoSize mode (as the test project will demonstrate) the control has a curious effect of growing when the .Caption value is repeatedly changed (this is most likely related to my use of the standard VB controls to do the initial text sizing; this method will need to be dropped in version 1). However, despite these current bugs, if you've been looking for a label with built in drop shadow effect, or you've been trying to figure out how to create genuine transparent usercontrols in vb, this project should sufficiently jump start you on your way. =) Not many examples can be found on Planet Source Code of creating true transparent usercontrols (usercontrol.backstyle = vbTransparent), and since this certainly is still a work in progress, your comments or suggestions below would be much appreciated.

ASP_Volume2 #38928
_aLfa_ Flat Controls

This code flattens ComboBoxes (even if they are ownerdrawn), EditBoxes and Checkboxes without any problems. It also flattens OptionButtons, but the code is still buggy, please wait until the next version (but i need help on that part!!!) :-(

ASP_Volume2 #38930
Custom Calendar Control

We were trying to create an application in a COM enabled programming envoriment, and needed the weeks shown in a calendar. We came across a bug in ALL of Microsoft's calendars (including Outlook) that will list the wrong week number on certain years. E.G. December 2003/2004. We made a custom VB OCX that does the trick, even thou it's not as pretty as the Microsoft one.

Languages
Top Categories
Global Discovery