Results for "Category: Custom Controls/ Forms/ Menus"
Have you ever seen a picture that looks like a picture of something, but when you came up close you saw it was really made up of a lot of different pictures? This example shows you how to create a picture like that. It takes a picture of Drew Carey and creates a big picture of that picture out of little pictures of that same picture. It's kind of neat.
This code creates a horizontal or vertical line with a 3D look. You can see it almost in any Windows Application. This is dead simple code to understand. I saw the other 3d Line OCX in a code of the day, and it didn'y include source code. I hate including OCX's so I made my own. If you like this code, vote for me!
Tiles a bitmap on your form. Fast and simple. Using the Bitblt API. There isn't much else to say about it. If you want to tile a bitmap on a form, this is as good as it gets.
When this OCX is dropped onto the form, it makes it EXTREMELY easy to set the WHOLE FROM Transparent (well everything except the controls). It can also just set the container transparent (everthing except the controls and the title bar). Please give this a go and give m some feedback as i'm new to this stuff. NB: The original code is not mine i've just downloaded it from somewhere and made it alot better (well, i thinks so anyway). This zip comes with an example app and a compiled OCX.
This code example will append a separator and a new MenuItem 'Always on Top' to the system menu of any form. The menu is affected weather left clicked from the control box on the form or right clicked from the taskbar. Subclassing is used to trap when the 'Always on Top' item is clicked. The custom message handler uses the SetWindowPos function to keep window on top or reset it to normal. Also on a lark I traped out the close menu item to prompt before closing. If you say yes then the close message it passed otherwise the close message is traped out and the form stays open.
This post replaces a previous one which did not include the .dll file. All it does is demonstrate the use of gif89.dll to include animated gifs on vb forms
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.
make a no rectangular window with transparante bitmap color same that k-jofol or over skinnable application with 2 api in a Dll.
Updated! -- Bugs Fixed. Multiple graphics viewer derived from XViewer. Please see my code XViewer before downloading this code.
This program shows how to send files via winsock (tcp/ip) well commented code.
Create a Scrolling Form! No OCX, DLLs , nothing... Just some code!
Owner draws Office-looking menus. I took most of the owner drawing code from www.vbthunder.com, but i edited a lot of it to make it look like this. So you shouldn't really vote, i'm just sharing. =). office menus. EDIT: I added seperators. i don't know why the screenshot doesn't show, so click here to view it: http://www.planetsourcecode.com/upload/ScreenShots/PIC2002105048323678.jpg
A scrolling credit box. Uses a typewriting style effect.
Are you tired of chosing Windows environment as your Visual Basic project GUI? This is the time to give your project a look! This project has several ActiveX controls which gives you the ability of making skinable programs (programs that can change skin such as Winamp), easy as it possible! Simply add the ActiveX control to your project and write only one line of code and then walla... you have a skinable program. Beside that you can chose between several skins that I have made for this project. Check this out and you'll find that this is all you were looking for in all your programming life! Now this is the time to Make your project a real masterpiece. Attention: For some problems I couldn't upload my project's skins with the source code, so I upload it with a new name called "Skinable Form Skins". When my problem solves, I will delete the second one and upload all in one.
Sabastian Mares recent post prompted me to do this and I thought it might be useful to a few people. It is taken from one of my projects so therefore, is not particularly well commented but hopefully you can pick your way through it. It works on all OS but I have discovered a bug on certain system builds. I would be interested if everything works Ok on yours. There is an ocx which you may need to register.
This control automatically resize any controls on the form. You can set some properties to customize its behaviour, like resizing fonts or keeping aspect ratio. If you want to exclude some controls from resizing, just set TAG property to NO. You can import the control in your projects or compile it as a standalone OCX control. If you want to compile the control as a standalone OCX control, you have to set the Public property of the ActiveX project to TRUE)If you have questions, feel free to e-mail me. Now works with SSTAB control.
This project is an enhancement/rewrite of another submission (see below). This project displays advanced Win2K/XP style "balloons". This version includes a title bar that can be used to "drag" the ballon, RTF support, scrollable text, simple rounded rectangle code, API border drawing code, and completely dynamic resizable balloon. See the readme in the project for details from original author and notes about enhancements. FYI: I had offerred to send this new code to the author for inclusion in the original but he wanted to keep his code separate so I figured I would go ahead and post my enhancements for everyone with his permission. (see the chat on the original post) ------ Clip from other submission ----- This code will show Windows 2000/XP-style popup balloons. They were introduced in Windows 2000, and in XP they're seen all over, especially in the system tray. But Microsoft hasn't released how to use them yet (except for tray icons),and--if they did--it would only work on Windows 2000 or later. This project shows you how you can use these balloons in your programs. Instead of relying on Windows to make them, this program makes its own. Therefore, it will not only work with Windows 2000 and XP, but also with all other versions of Windows (down to 95). ..... Original submission can be found here: http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=31434&lngWId=1
Shows the way of editing a datagrid and then copying the data of selected cells of datagrid to a clipboard.... Very nicele commented code... Best for someone who wants to learn about datagrid... Guys this is my first ever submission... so please vote... and give comments... but only good..;-)
Nothing Much !!! Just the update of my previous datagrid... This code helps you learn editing datagrid... It just got rid of pressing Enter key again and again... Also shows how to allow only numerical data in a particular column... And yessss !! u can also copy a selected cells of datagrid to Clipboard... Everthing Very well commented !!! So guys please vote....
Little dll that allow you to transform a picture box to a progressbar. Using it is really simple and give you lot of effects (see screenshot), just see the read-me file inside the zip. Enjoy it!