Results for "Category: Custom Controls/ Forms/ Menus"
This emulates a textbox with some limitations. But this text box control can have a texture picture. Something different from the standard colors.
This code was taken from O'Neil. It searches a combo box as the user types. O'Neil's code was modified to use the SendMessage API to search the combo box, which made it much faster. This is very fast, even with thousands of records in the combo box. Thank you O'Neil for the idea, and the well commented code!
This code allows you to close all the MDI child forms in an MDI form at once. Goto http://www.vbgreatone.com/ to learn like you've never learned before. Get over 500 api functions with example for each, and tips like this and, much much more. Just visit it, i'm sure you will like it. First, create a menu item in the MDI form name mnuCloseAll, then paste in this code:
Every ones seen the menu thingi in Outlook, well I decided to make one. So here it is, Its pretty simple but works well and looks good! You can put in as many images as you need with their actions. A great enhancment to an app and looks good! CHECK IT OUT!!
Ever wonder how to make those cool popup menu's? Well This tutorial will tell you how to make them, how to detect which mouse button has been pressed, and how to make them popup on different mouse button clicks.
Create a side bar with your logo! Very easy to use and very cool!
A new FlexGrid whith editing ... very cool!
Flat toolbar with VB5? Now is possible
This code generates a 3D waterslide/hill side, how ever you see it as. Really cool concept, you can also create 3D triangles, 3D squares, and 3D Circles.
I downloaded that program that takes a picture and turns it to text . Well I took it alittle further After the computer turns it to text It can be turn back into a picture . I had one problem I could not get it back to the same size . The picture drawn from text is about half the size of the orginal.
I have created something like the laser program but mine's alittle different . Mine actually draws out the picture and it looks like a laser while it does it . It can draw any picture you have . It's a must see
Subclass you form to stop users from resizing below a certain limit! If you hate the generic two-liners "If Me.Height
This is a very small function which is potentially useful for those who know where/how to use it. I used this function on several of my projects already if you're wondering if this code has any use at all. I'll post some of them later. This function also demonstrates the use of control arrays and loading objects during run-time and you'll probably learn the concept of form scaling.
This code will change the color of the "Blue Screen Of Death"
Makes a textbox transparent. Here's how I do it: Get the DC from the textbox hWnd. Paint the textbox text onto the textbox parent. Paint the parent's image onto the textbox. Pretty Simple eh?
FINALLY A FUNCTION THAT EVERONE CAN USE - Microsoft should have thought of this. This is a DATE/TIME calendar dialog that is created using only native Windows API. (See ScreenShot) NO FORM NEEDED! It is used / called like any normal function. EXAMPLE: MyText = ShowDate() This will show the Date/Time Calendar and allow the user to select a date/time from a calendar / clock. You can also supply a 'default' date for the calendar to start at. This is my first attempt at hooking with VB and researched all of the requirements online at the MSDN libraries. Vote if you are so inclined. I would appreciate any comments or suggestions. *AMPM bug fixed *sorry* ENJOY
**********UPDATED*********** 90% speed increase for transparency math, as well as refresh speed. Also now uses a simple class module. Very easy to use and configure. I wrote this code to avoid having to design up and down images for projects with graphical skins. This code allows you to create rectangular and elliptical transparent buttons on any container without ActiveX controls. The code is completely modular and has many editable parameters.--- NOTE: If anyone knows how to hook / get procedure callbacks from classed-functions, please contact me.
Places a Progress Bar in a Status Bar, with Windows Common Controls 6, without any third party OCXs or API.
Hi this is a small activex control i made about 4 weeks ago and forgot all about so here it is it is a custom titlebar i made that you can change the skins around and do other things I found it usfull for message boxes you can also alter the skin form innside the skin folder just look at the ini file anyway please vote it you like it.
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