Results for "Category: Custom Controls/ Forms/ Menus"
THIS IS MY OCX FOR STARDOCKS DESKTOP OBJECTS SEE SCREEN SHOT PS VOTE FOR ME THNAKS
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.
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.
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.
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.
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!!!) :-(
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.
This is almost a fully dynamic Buttonbar. This control is not finished yet... i know there are still bugs and problems. If there is enough response i will finish and put some other things in it. Still have many ideas... :) I would also like to thank other programmers from PSC because not all of the code is from my hand.
I have been working on menus since my last submission and here is the result.
An ActiveX VU Meter, I hope you enjoy.
This control uses an invisible mask along with a mask type of text, numeric, or date. A user can only type in an entry that fits the mask (see html page included). There is plenty of code in here that could be ripped out and placed in other controls.
Valentine's Day will be here soon. This is my way of spreading love. Presenting Whize VALENTINE'S DAY THEME. This program creates a heart shaped form and let it floats or rather bounce of the screen edges. The heart also displays a love quote. The heart'can be minimized to the system tray by left clicking on it and can be made to stand still y right clicking. Once minimized the system tray, it can be restored by double clicking. U can right click the form when minimzed for options.U can set the popup interval when the heart must popup again. The program is ez to understand. Special thanx to Doug Gaede for his transparent shape class. It was very helpful. Thanx buddy :-)
This is my Pill Button with Fade Effect,not a lot of code,but looks nice! I Tried to do something similar to OsX Button,didn't know how to do it more easy, with bitmaps,with out make the screen to Flicker.
Simple time control I made to satisfy my needs in one of my softwares. Might as well publish the source so that everyone can enjoy it... Similar to DTpicker time control but it has some changes and other stuff... Just add the User Control to your project and it's ready to use... no OCX's needed. Feel free to modify etc, but respect my copyrights :p
Version 4 of the bsGradientLabel control. The code has been rewritten to use the clsGradient class (by Rocky Clark) and Rohit Kulshreshtha's gradient module - it no longer uses msimg32.dll, so Windows 95 users need not complain anymore. Some code redundancy was disposed of too. Also, you can change the angle of two-way gradients. If there are any bugs in the code, please let me know. Enjoy!
Update 09 Feb 2003. A simple but nice looking owner draw resizable button control. Custom border and gradient colors allowed. No themes required. Works in 98/2000/Xp. Chm doc file included.
Using the ActiveX PBBalloon from PABLOB.NET I was able to create amazing Balloon Messages with links and Buttons under Windows 95, an action I thought impossible. Check the Screenshot!
Full example for an mp3player.ocx that has these functions: Load, Play, Stop, Pause, Resume, and Getpercent. Please vote high. This is really good and working source!
Updated version of ButtonEx control replacement for CommandButton. Added BorderStyle property. Using BorderStyle and Appearance you can get lots of different combinations. Provides more control over the pictures displayed when mouse down, mouse up, mouse over and has focus. Provides "skin" support alongside of picture support. Did you ever wonder how WinAmp and other programs make the button "glow" when you move your mouse over them or press them? ButtonEx provides that through "skins" for each individual button state (up, over, down, focus, disabled).
A VB.CommonDialog (ShowOpen & ShowSave) replacement control. Written from scratch - fileview etc., uses only standart vb controls - no listview etc. Take a look at the screenshot! Not saying that it is great (has some issues - slownes on older PC's - but as fast as it can be at given concep), but is certanly worth trying! Probably some bugs, since I didn't have a look at the code for months... But nothing serious... I was developing it for more than 6 months (with testing) - it was a part from another (abandoned) project... Send comments... Voite if you like - this is the only way for me to find out how good (or bad) job did I do;) Download and have fun. PS. Oh, sorry commented, but not very well...But should be readable to intermediate users... And not to forget - some of the code (cmemdc.cls, and some bits of code) are from PSC - do not know if there are coments about the who is the author - so if you recognize your code, write here (put a comment) or email me, and you will be pu here on the list... Thanks!!! ************************************* Fixed problems with the zip - file was missing ************************************* Special thanks to: Vlad Vissoultchev, Tim Misset, and many others!