Results for "Category: Custom Controls/ Forms/ Menus"
The code changes the form shape to either 'Elliptic', 'Rounded Rectangle', 'Rectangle', 'Polygon' or 'Picture-Shaped'. In the code you can also see how to COMBINE different shapes, so you can create a very neat interface. These functions are in my code: 1. Change Form Shape (See above) 2. Nice interface (somewhat like XP I believe) 3. Move and Resize a border-less form (Borderstyle = '0 - None') 4. On Resize - align controls (class module) 5. Text in Pictureboxes 6. EasyMove forms 7. Change Picture Shape There aren't many comments in the source, but it doesn't have to be either, even a "newbie" will understand what's going on... Before the code only showed how to change the form's shape, now it also shows how to change shapes of picture-boxes. In fact, I believe you can change the shape of everything that has a hWnd variable... I haven't tried it, but I think you can show oval videos too!!! (or polygon or whatever you wish...) Please vote... Anyway, here's an FAQ: Q: Is it simple? A: Yes! -------- Q: How simple? A: Very... -------- Q: Is this Windows XP or VB.NET? A: Nope, I used Win98 and VB 6.0 -------- Q: Is all this code made by you? A: No, but the thanks are in the source. -------- Q: Are you the best programmer in the world? A: Who, me? Thank you for reading this - now download, try out and vote! (If there's anything that's not working or you wish me to add, please let me know!) /Mikael Nordfelth Picture-shaped-form has been renewed, now it's not Niknak's code... (it was quite slow compared to this)
Creates text boxes and labels 'on the fly'. Type the number of textboxes/labels you wish to have and hit create and it will create them for you. Found similar code and decided to play with it. :\
This control, when dropped on a borderless form will size itself to that of the form, and wala you have a new window. The window has all the abilities of the normal windows, it can be maximized, minimized, and can be manually resized. Also has a nifty lost and got focus effect, like that seen in Visio 2000 Professional. If you like this please drop me a line and tell me, or if you want to see something in it that isn't and don't know how to do it then let me know and I'll try. Once you load the control, click on the (Custom) property to see how to set up the form focus effect (only 2 lines) ***Update 1 11/21/01*** I found a temporary solution to the Focus effects problem but I'm still looking for a better method, check the control out and let me know if you know of a way to solve this is like api or something. ***Update 2 11/21/01*** FORM FOCUS EVENT PROBLEM FIXED, COMPLETELY FUCTIONAL NOW.... This control now uses SmartSubClass from www.vbsmart.com, you must have it in order to use this control, but its worth it, they also have some other sweet free controls..
Have you ever wanted to have your project set up to have people have to register with you to unlock certain parts of the project. Well, i have made a simple to use control just for this purpose. Just slap this control onto a form, set a few values, and you will be able to generate custom keys depending on the name of the users computer, or a serial number. You can also use a combonation of these to make a harder to crack key. What the code does is, if the setting is set to ComputerName, it finds out the name of the computer, goes through my alogorithim, and makes a key for that name. When the use puts that key into a text box or something, you can call my control to see if that key is correct. The control will respond with a boolean value, if the key is correct, it will be true, but if the control determines the key to not be right, it will reject the key with a false value. This code is heavily commented (prolly more comments then code), but the code is effectivly explained (well in my eyes it is), and will show you how to set this up. Also included in this visual basic group, is a sampel program giving the basics on how to use the control. This is only version 1.0, i plan on updateing it with more features in the future, maybe something along the lines of add a demo-time limit function to it, where it will only allow the user to use a program for a specified amount of time. Feel free to use this code in your own programs, but if you just copy/paste it from here, i would apprieciate some credit. :D. If you have any questions/comments/or anything else, post here, or email me at [email protected]. Last, if you use this, and if you want, place a vote on this project. Thanks for reading, and i hope you enjoy this program.
This OCX records all mouse and keyboard activities for later playback with original timing. May (but should not) also be used as a stealth keylogger. Try playing back the attached TEST.RCD file :-).
This UserControl will take the existing Picture on any form and cut out the form wherever the MaskColor is found. This method is MUCH quicker than the pixel by pixel region creation I've seen on several sites. Features an AutoDrag property to allow the form to be dragged without a titlebar. Also features a PopupSysMenu method to activate the form's system menu at specified coordinates. No need to remove your Titlebar, TransForm cuts that out too, but it's still visible on the taskbar if you want. Comes with full source code and a demo project.
Quit your application with animation
UPDATED !!! This code puts a bitmap image file in your SubMenu or Menu or BOTH. Please note that this is very different from using icons in your menus. Please vote for this code if you like it or if it is any use to you.
This code will place a bitmap file in place of your Menu or SubMenu or Both. You can put banners instead of old-fashioned menus. Please check the screenshot. Please vote if you like this code.
When users are tabbing on a form they can lose track of where they are, I have written a com object that highlights the control with the focus
ProgressBar and Slider in one to the component. Different sorts of mapping. Handle of sorts of cursors. Certainly it is possible to make and better but me arranges. Excuse for mine English.
Displays animated GIFs without any ocx or dll.
This program lets you rotate a Windows Meta File inside a picture box.
Tells whether a form is loaded or not
This cool little program demonstrates a basic painting program as well as the hard-to-find dll call for filling a region of a picture. To use the program, all you have to do is draw a line with the left mouse button, then click with the right mouse button to fill the clicked-on area with a random color. Also, as far as I know, this may be the only VB project on the net that has the 'ExtFloodFill' dll call, so make sure to grab it!
This incredible program shows how to create totally realistic fire without using any palettes to create the right color effects! A simple bit of mathematical color manipulation creates a perfectly colored fire effect more realistic and faster then palettes, making for real-time fire animation. The included .exe demonstrates the current max speed of this program, and it will BLOW YOU AWAY! This code is guaranteed to be the FASTEST, EASIEST, and MOST REALISTIC algorithm-generated fire project at this site. If you don't believe me, try it out! This is definitely the best artificial fire program that has ever been built in VB, so don't miss out on this awesome code!
Easy-to-use template for creating a non-rectangular form. So simple, even Homer Simpson could use it (if he had a computer).
This is the EASIEST way to have scrolling marquee text in a label. 'No long useless code.
This code was originally coded using 16-bit Win API function calls and I switched to 32-bit... looks like I missed some in the first release. If you discover any OVERFLOW problems, it's because of this fact. I think I got them all. Anyway, here's the intro... It would be ideal to have a generic print routine that could print to the printer or to the screen depending on what you pass it. This project shows you how to create printing routines that can print to the printer or to a picture box. This enables you to add print preview capabilities to your Visual Basic applications. Since there are several ways that you could implement print preview in your applications, this project describes one method that is easy to do in Visual Basic and works well.
This Program will make colorful fireworks. The code is kinda short, but it looks so cool. I've included many directions/explanations that will help you change the input value.