Results for "Category: Custom Controls/ Forms/ Menus"
Design a 3D piechart for your custom app using an array of percentages. You can change the color scheme, and add mouseover , mousedown, and mouseup events for each pie piece in the chart
Winsckw.ocx is a custom wrapper around mswinsck.ocx control. Allows using winsock in Vbscript overcoming licensing issues. Few VBscript samples for sending emails, peer-to-peer HTML chat is included.
This is an update to my previous submission. It does not use shapes this time.I hope I got enough of the right properties to make this useful and flexible. Have fun and Howdy from Texas
The attached code demonstrates a technique you can use to create multiline balloon tooltips for ListView items. The code is based on the following simple idea. In the MouseMove event you need to check the index of the item under the mouse pointer, and if this item is changed, you simply redefine the text of the tooltip attached to the ListView control. Notice that you should destroy the tooltip if there is no any item under the mouse pointer. To determine the index of the list-view item under the mouse pointer, we send the LVM_HITTEST message to the ListView control. The SendMessage function you should use to send this message returns the index of the item at the specified position, if any, or -1 otherwise. Before you send the message, populate the pt field of an instance of the LVHITTESTINFO structure with the coordinates of the mouse pointer (you pass the reference to this structure as the value of the lParam parameter in SendMessage). You can use for this purpose the X and Y parameters of the MouseMove event of the control, but draw attention at the fact that these parameters can be measured in twips and you need to convert them in pixels. This simple idea can be used to create such tooltips for ListBox items, any grid control items and so on. For instance, we use this technique in extra samples for iGrid ActiveX Control we produce (this is an editable replacement for ListView and FlexGrid – visit www.10Tec.com for more info).
this is just a simple control that mimics an LED. you give it a binary value for which sections to light up, and it does it. there is also a built in function that has digit presets and other things.
---XPDualMonths DLL File Source Code--- Features: 1.Single Month display and Dual Months display. 2.Multi-selection with key,even using Mouse rectangling to do multiselection;Using to de-select it. 3.Left,right,up,down,home,end key to move selected day. 4.Customerized visual styles.(Border style,color styles,Line styles...) 5.Selected dates can be rolled back. 6.DLL File attached to a Picturebox 7.Resizable 8.Easy to extend to 12 months Zip File:21KB
Lightgrid is a little(45 KB) replacement for the big FlexGridControl (240 KB). It hasn't all the features like the FlexGrid, but it has a great features, like BackgroundPicture, transparent cells, you can draw on the Backgournd like on a PictureBox, and so on. It's good for these people who didn't want a 240 KB big Control and didn't want to use such a big grid like in Excel, because it's not really fast if you use many cells. I've commented in german and english. So try it out and see if you can need it and if you find it good, then please vote.
Give your Visual Basic Controls a Windows Xp Visual Style,WinXPC Engine is the largest collection of Subclass routines , uses only code (no Images) No need to replace any control of your app,or add any other control to support VisualStyles, Controls that are supported: ListView,Slider,ProgressBar,StatusBar,TabStrip,ComboBox,OptionButton,CheckBox,CommandButton,TextBox...and much more even subclass MsgBoxes and InputBoxes without adding any extra lines to your code. Some of the controls support System Color Theme,some XP Colors may vary but they look close Enough. Im Working on adding support for external classes so you can subclass other pre-made ocx automatically..but right now you must do this manually, C++ or Windows Classes are easy to get,but i recommend using Spy ++ if you don't know the name of the class. Mainly the Logical Structure of the code is a Visual C++ one, because of the use of so many messages and APIS ,but its no big deal actually.. If you follow the code carefully you will find this as easy as 1,2,3. The Engine supports Win 98,Me,2000,XP, but i haven't tested fully on all OS version ..almost every test was made on XP Pro Remember This is Full Source code and Free (Not Fully Completed)..so mainly one of my objectives is that coders see & test the code so they can give me they point of view and Suggestions...then finish the ocx with a better code.! ... Full code included no external dependencies. Enjoy and leave your votes!
This is a DLL for reporting. PSC is not that good on this subject so I've made it myself and share it here. Well, it's not ready yet, but I'm still working on it and as soon as it is ready, it will print even in Draft Mode(character printing)
A cool interface done in visual bacis. If you see the screen shot. The whole program was done in a single form. And All the others are activex. The best thing about this is all are movable, dockable. etc etc. Have fun with the code it is opensource and if you like it please vote for me...
AutoFilter Just like Excel. User can easily search desired records. here i used MSFlexGrid and Combo Box. Please Comments. Thanks.
When you need to display the history of a changing value, there is a bit of work that must be done. This UserControl does that work for you in all sorts of colors and styles. Don't forget to vote!
]]] An improved AutoResize Usercontrol [[[ Put this small selfcontained usercontrol to your form, add three chars to the tag property of every control to handle. Ready. Thats all! Based on the very good submission of Hamed Oveisi (look/vote at PSC CodeId=49740) I tried to improve/change some things ('Refactoring' is the trendy word for ;) ): * More possibilities in resizing (look at the 3D lines (frames) ). * No more flickering when forms gets too small. * No more call in the Form_Resize event neccessary. (In fact you didn't need ANY code.) (Ups! Just check out Hamed's last update. He did the same ;) ) * The tag value still can be used for "standard" purposes. (But you will need a (very) litte change in your code, sorry ;( ) * Its faster. * Handling is easier/more straight forward. (Only two simple digits in tag value to enter, not four) * Prepared for handling 'Lines', too. (Not done by me - I don't use lines ;) ) * A var naming convention is used, so code is easier to read/modify. * Demo and description extended. * ... All -(C) Copyleft on 11/10/2003 - Light Templer (LiTe)
Add profressional 2000/XP style popup balloons to your project in seconds. Works with Win 98 and up, because this is a VB control that looks EXACTLY like the real thing! Plus only takes one line of code to add tips for standard controls!
Allows for real time updating of objects and values while the drag is being proformed. Move a borderless form without api and in only 10 lines of code. Very easy to understand.
Vertical Gradient Added. Check out the ScreenShot! Properties Include: Caption/ Font/ FontSize/ FontColor/ Gradient(Vert/Horiz)/ GradientStart Color/ GradientFinish Color/ GradientFinishStyle(Transparent/Opaque) /Shape(Rounded/RoundedTop/Rectangle)
Customizable header you can use in your programs. just see the screen shot for details.. tnx! like the program? vote for it... tnx! :)
I thought this code might help those struggling to make a percent bar. This code transforms a normal picturebox into a Percent Bar (progress bar with % in the middle). Choose from 2 different borders.
A popup button that uses GDI graphic methods to draw either a standard or xp style.
VB Splitter is a developer-friendly ActiveX control to allow the user to resize docked controls at run-time. You can now have a splitting-capability for any number of controls with only one VB Splitter control and one line of code in your program. The control has 11 properties, 2 methods and 7 events customly made for your pleasure. It's very well-commented and has a strong encapsulation technic that making this control an author-friendly ActiveX control. Just don't miss the demo (open the VB Splitter Demo.vbg). Your feedback and vote will be very appreciated. Thanks in advance.