Results for "Category: Custom Controls/ Forms/ Menus"
**********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.
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.
This demonstrates the use of alpha blending to create the illusion of a semi-transparent form. This effect can be used to make some VERY COOL form closing effects.
Display real Office like icon menus. Source code based on Paul DiLascia's work from the Microsoft System Journal (Jan98); ported from VC++ to VB by me + some adaptation. visit www.dilascia.com **Features: Real Office like icon menus; Partial Win98 main menu effect in Win95 (need help for full effect if possible); Embossed pictures in color (thanks Paul); Uses the form's font (~and style attributes); Working "local" and "global" accelerators (&, Ctrl+?); Easy interfacing between ImageList and VB's Menu Editor; Take a look at the screen shot !
Stretch an image to another size. Truly fail Safe code works even with invisible source image. You can save the newly resized image with additional VB coding.
VERSION 1.6 RELEASED! New features and enhancements. This control allow form docking capabilities. The advantages of using the TabDock and TabDockHost is that you don't have to re-design or change any line of code of your existing forms in order to have docking capabilities.
This ActiveX DLL shows a screentip like the ones shown i Windows 2000. Use it almost the same way as the well know MsgBox. I hope that it will be usefull..
At last, the bsHexControls have been updated (unfortunately they are still a bit slow and buggy). They now have the same features as the bsOctControls. If you want to, you can vote...
Place this control on a form along with two other controls (text boxes, etc). In the forms Load method, place the following code (this example is for two text boxes... if you can't figure this out, un-install VB from your computer) WESplitter1.LeftChild Text1.hwnd, Text1 WESplitter1.RightChild Text2.hwnd, Text2
This form can be used as a template for creating dynamic "Outlook" style forms in VB. Each frame resizes independently...and best of all, NO OCX!
ActiveX ProgressBar, Meter control, No OCX, No registered controls just simple addin progressbar.
After a good response to the first ProgressBar I submitted I desided to add a border option and a couple more controls. Hope you enjoy the extras. I appreciate the good feedback. Thanx, Jerrame
AxtiveX VU Meter.
This is a generalization of the clsPrintAvery5352 code submitted by Bernard J. Tucker on 11/27/1999. This version of the class will print any label that the calling routine can describe. The zip also contains a VB project to show the use and an Access database of label partameters from the Avery Web site (legal).
This is not new ... but I found out that there are few people who know this. This little project that dynamically creates a textbox on a form at runtime. Maybe this can help other users.
Give Runtime IDE Control ReSize Functionality. ActiveX control attaches to any control. Provide Size and Move with anchor points with a single line of code. Provides Font Dialog Via right Click.
This sample demonstrates how to emulate splitter bars using VB
UPDATE(2002-12-13): Sample HookMenu 1.4 introduces RightToLeft forms support. __________________________________________________ UPDATE(2002-11-27): Sample HookMenu 1.3.5 fixes problems with MDI forms. Separators are reduced to 3 pixels to match Office XP ones. You can use DontHookMenu=1 when debugging and the control is part of your project. __________________________________________________ UPDATE(2002-11-23): Sample HookMenu 1.3.4 fixes troubles in NT 4.0, menubar background color in Win XP classic appearance and sub-menu arrow forecolor if menu text is not black. __________________________________________________ UPDATE(2002-11-21): Sample HookMenu 1.3.3 fixes an XP redraw bug, an accelerator (underlined) symbols bug and keyboard navigation in Win9x. Sample HookMenu 1.3.2 adds custom drawing of sub-menus arrows and fixes unicode strings support. Various fixes for Win95 support. __________________________________________________ UPDATE(2002-11-20): Sample HookMenu 1.3.1 fixes issues with WindowList menus and 3rd level sub-menus positioning. __________________________________________________ UPDATE(2002-11-18): Sample HookMenu 1.3 fixes issues with the subclasser (both in Win 9x and NT/2K/XP) so no more GPFs. Closer Office XP experience: menu colors are closer to Office values in 8bit color depth and in high contrast color scheme; menu shadow simplified as in Office in 8bit color depth; popup menus are positioned manually two pixels down; seamless shadow if popup is above the menubar. __________________________________________________ UPDATE(2002-11-12): Sample HookMenu 1.2 fixes the issue with TextBox popup menus (finally!). Some design time issues and menubar background color problems spotted by Ovidiu Boldea. Also, the property page is working more fluently now. I'm sick of win9x and so these are not supported from now on (ok, promise to do my best:-)). __________________________________________________ UPDATE(2002-11-10): Sample HookMenu 1.1 fixes issues in NT 4.0 and MDI child forms. Can anyone test the control under win95? __________________________________________________ This is a second attempt on moduleless window subclasser featuring "run-time dynamically generated machine code". The original was submitted by Paul Caton a couple of months ago. The present version is safer and is based on a completely rewritten assembly thunk. Also I have changed the name of the subclasser to reflect more closely what in fact it's doing. In addition to this you get the hooking thunk which (you guessed it) hooks windows hooks in a convenient and safe way. Both of the thunks' source files (assembly) are included. Both thunks are designed to be and have shown to be exceptionally safe in the IDE, they seem immune to both the end button and End statement - try to crash them and let me know what your results are. The screenshot is from a sample project (included in the zip) which subclasses a form's menus and turns them into Office XP clones - now it's not necessary to include 13000 lines of "supercode" to get the Office XP style menus under win 98/2000/XP/.Net Server (not tested on 95/NT btw). Enjoy and leave your votes!
This source is an example of how you can take any picture, declare a 'transparent' color and make a shaped form (skin) from it. It's simple, complete, and it WORKS!
Nothing special: a simple progress bar.