Results for "Category: Custom Controls/ Forms/ Menus"
MsgBox and InputBox con un stilo XP y algunos opciones mas, como ponerle colores al texto o agragarle un icono, etc.
This is an very very simple activex control that replaces a single line textbox. Features include vertical alignement of the text, text selection on focus, border color, possibility to type only numbers in the box, additional description label. It has a minimalistic and simple look,which i like best.
This code allows you to implement a 3D Progressbar in your form without the use of a OCX
This is an Usercontrol with the Windows Media Player 10 Tabs
This is not just a standard DirectoryTree control. It is enhanced over the various submissions here in several ways - firstly, it doesn't use the Dir$() command, or the FSO for two reasons: 1) speed, and 2) filesize (The FSO adds a huge dependancy). Instead, it uses API wherever possible. Secondly, it doesn't use dummy nodes to simulate children, but instead it popuplates each node fully, then uses the scarcely documented ApiSHChangeNotifyRegister API to register for shell change events (When a folder created, renamed, moved, or removed). This produces a control that is well integrated with Explorer. Lastly, it has a right click menu to allow controls over the directories - renaming, creation and deletion. Any action you perform on the control will be performed on the local disk! If you rename your desktop, it will really be renamed! (So don't do it.. :D) It's been tested on several Windows systems, but if you find any bugs, I'd love to know about them. If you like it, vote. Thanks :)
What this code does is it subclasses a listbox's parent (in order to trap the listbox's messages), then the listbox (in order to change colors). I have commented the area's that you will need to change in order to change the colors.
WORKS ONLY ON WINDOWS 2000/XP!!! This is my first submission on PSC and I know there is a lot of fade effects here, and transparent samples too. But I've merged the functions in a module, with two simples subs called in form_load and form_queryUnload. Also check constants in module to set transparent degree and fade speed. you can use this in your apps to add cool look.
Maybe the last color selector you will ever use? You supply a dummy/empty form & the code does the rest. Lots of options & will list most of them here: 1) 3 palettes to choose from, 2) palette tabs can be disabled, 3) grab color from anywhere on screen, 4) fail-safe mode will display std color dialog if routines fail, 5) mouse wheel support, 6) prevent non-palette selections, 7)auto-convert negative sys colors to positive values, 8)add custom colors to the default palette or replace completely, 9) easy window placement, 10) even more options. Heavily documented, jump to end of the module for a detailed description of options & their settings. Feedback works ladies & gents... that's why this new version is up on PSC. Last Updated: 7 Apr/1630 CST - Critical flag wasn't always being reset - could cause picker to show up as a plain gray window.
These is an easy way to create your own ocx controls. Has a Flat Command and a Flat Combo Box you could use it to your advantage and create your own flat controls, and i'll be updating this as soon as i finish the flat scroll bar, check box, option button, and frame..
The Purpose of this code is to demonstrate how to semi flatten objects.
Nice circular Form
Mit TimeChart_ado.ocx können Zeiträume von, zB. Urlaubplänen oder Projektplanungen, grafisch dargestellt werden. Dabei werden die relevanten Infos aus deiner individuellen Datenbank ausgelesen. NEU: Im Gegensatz zur DAO Version (TimeChart.ocx) nutzt dieses Ding nun ADO 2.1 und kann damit an jede datenbank gehangen werden, die ADO unterstützt!
When the Swooshbox Gets Focus, it will smoothly expand to its end width and when focus is lost, will smoothly scroll back to its origional Start width. VERY PROFESSIONAL LOOKING!
A lame little "3D" effect with a shape and a command button. makes it look like the button is floating above the form.. the contained code shows how to further that effect by moving the button..
Change background/foreground color of Progressbar. using SENDMESSAGE/win32API
Create DOS like Shadows to your form with just one line code
MAKE UR FORMS BLINK,BOUNCE,SHAKE,SLIDE AND ZOOM. VERY EASY CODE (without any API mambo-jambo)
*UPDATE 1.6* Added the AutoHide features that people have been requesting. The control now has 4 properties that are for the AutoHide feature: 1. AutoHide, Boolean This tells the bar to hide when the mouse is no longer over it. 2. AutoHideWait, Integer This tells the bar how long to wait before hiding (in case you accidentally move the mouse off of it, it wont immediately hide) It is in Milliseconds so 1000 = 1 second. 3. AutoHideAnimate, Boolean This tells the bar to "slide" off screen instead of just disappearing. 4. AutoHideAnimateFrames, Integer This is the # of frames to split the "Slide" effect into (more frames is slower, but smoother) I recommend 50 - 100 frames. From my testing it seems to be the best. *UPDATE 1.5* Fixed the icon drawing problems when comipled on windows 2000. Re-wrote a lot of code to optimize for speed, and to make the code easier to read/understand. Added a lot more and better comments. *UPDATE 1.4* Fixed the drawing on windows 2000/nt/95. Fixed the bar to work when used with a compiled exe. Fixed some drawing problems with the coolbar style. *UPDATE 1.3* Fixed one more windows 2000 bug. still having the compiled issue on win2k. Added a new style (now you can select the style property), Coolbar. *UPDATE 1.2* fixed the win2k bug. Now works perfectly in windows 2000. ADDED: Color settings, for every button state, and for the bar itself. Fixed many bugs (none left that I know of) Added the menu. Now when you right click on a button on the task bar, it shows the system menu from the form that the button belongs to. This ia fully working Taskbar for an MDI form. Works just like the windows task bar. It was originally written by Maxx Zephyr Technology and uploaded to www.freevbcode.com. That version had problems, and also was not a stand alone control, it had to be included in your project because it was dependant on the Forms collection. I went through the code, cleaned it up, removed the forms collection (used the api to replace it) and made the user control into a full stand alone ocx, that you can simply drop on an MDI form.
New in this demo: Active titlebar skin (all running applications) and a new version of my award winning Textanimation control. Extra in this version is: transparent background, Picture background, Transparent background of parent form!, a lot of gradient options, MousIn and Mouse out events, ..? Also in this demo: system tray skin with tickertape, docked window with tickertape, text animation demo, transparent animation (including form), vertical titlebar, gradient form, button control with a lot of properties, Win2k form transparency, animating logo, ...? This publication is using code of about a dozen developers, so thanks everyone.
Shows how to re-order items in a listview by dragging and dropping them in their new position. Also shows how to give the user a nice visual cue for the new position. Items can also be re-ordered using the scrollbar.