Results for "Category: Custom Controls/ Forms/ Menus"
Here you have it the source code for adding a progress bar to a listview control, similar to Napster and iMesh. I have brought the problems down to one and that is the Horizontal Scrollbar so if anyone figures this one lemme know. The code now refreshes of of the WM_PAINT message so it's super effiecient. Happy Coding!
This simple control simplifys the hotline tracker protocol so that just a few lines of code can list a tracker.
Shows how to fill an Image Combo (part of Microsoft Common Controls) with each of the 16 standard colors to be used as a color picker such as in a word proccessor on the toolbar. All the images are created by code for ease of modification (As opposed to using 16 Bitmaps).
The HC Draglist is a listbox that adds the ability for the user to drag the items to a new location. When the user starts dragging an item, an arrow will appear next to the listbox and as the user moves the mouse up and down, the arrow follows. When the user stops dragging, if the arrow is not where the item came from, that item is moved to the location of the arrow. You can also set the tabstops. This is a good example of a subclassed control. Should be simple to understand. It is VERY similar to the ccrp Draglist, but with this one you get the source code, and it is more than 50% smaller when compiled.
Ever wanted to see a picture behind flexgrid text (not a single cellpicture!)? This project is a little part of my custom grid control. Picture idea was given by a questioner Experts-Exchange site. Please let me know your ideas and let me know if you want to have a more flexible FlexGrid control code. Enjoy. Suat Ozgur
This is just a short example of how to create and use control arrays
It just pops down a bar when you put the mouse at the top of the screen. it then detrects whether the mouse is still on the form, if it is not it hides the little bar.
The purpose of the code is to determine the height of the taskbar so that you can display a form at the bottom right hand corner of the screen everytime.
This code causes the form's TitleBar and the form's TaskBar Window to Flash.
Add Wav Files To Your App. This sample is in .zip formatYou need a versio of Winzip to open it. You can download it @winzip.com
Changes the Ugly Standerd Look of the Form
Custom Button with resizable images. Styles: Flat,OfficeXP,WindowsXP, NoBorder Properties:Transparency,URL,Bevel,LongCaption Wrap,MaskColor... and more
Major Updates...Now, Picture shadow on OfficeXP buttons, easier button setup...etc.
This is a splitter control with 2 panes. I found the initial code out on the web somewhere, but it had a few bugs and was missing a few features I wanted, so I added the ability to colorize the splitter bar and the code now fires an event when the splitter is resized to allow for controls within controls to handle a resize. I also cleaned up the code and fixed a few bugs. BTW : You can add splitters within splitters to create more than just 2 panes.
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.
This will show you how to Resize Control on a Form Regardless of how many controls there are Limitations are Menus cannot be resized along with controls such as CommonDialog.
BarChart.ocx is a bar chart control for stock market/commodity markets, etc. Full source code. You can chart the open, high, low and close, the median and/or any other value you can think of.
This sample add icones in the menu of your program but not use any API. The methode is only based on Imitation, very simple but good effect.
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.
Do you also think, that the normal CommandButton is a bit ugly? Here is a Button of the next generation...check it out!