Advertisement

Results for "top"

4_2005-2006 #156568
Occupied Space concept used to allocate 100 labels randomly w/o overlapping (no API)

Populates form area with labels, using the 'unoccupied space' concept, instead of intersection. Any added item, while populating the screen, takes a cell from the 'unoccupied space', resulting in a much faster process than intersection. Nice to see. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ idea proposed by Gunnar g68_se@yahoo.se, SECOND EMAIL: Pietro, one more thing: What i really, originally was thinking, was to be able to 1. Press a button, and choose a number to allocate, let's say 20 labels, then 2. Press the button again if one likes, and chose another number to allocate, let's say 12. .. .. 3. Press (any) more times, until the MaxObjectIndex is reached (or, when it's not possible to allocate more without collision). And then the question (from my earlier mail) would come (yes/no/cancel). The program would know from the first time, where to find the "unoccupied space". I guess this would take some kind of storing the occupied spaces or something if i should be able to use the code, it has to be done with (invisible) objects placed at design-time (100), not loaded :) I wish you many votes at PSC, i know you got mine ! /Gunnar. FIRST EMAIL WAS (which originated my post: How to allocate HUNDREDS rectangles (labels, images...) without overlapping, no API!): Hello Pietro ! I was studying your excellent code-example of the rectangle-Intersections. I got inspired by it, and i have a problem in my application, but i do not know how to code it, i was thinking maybe you could help me. * I have an array of labels * I also have a function to place the labels out randomly over the screen Private sub Place_Labels Dim lIndex As Long Randomize timer For lIndex = 0 To cmd.Count - 1 cmd(lIndex).Move (Rnd * (ScaleWidth - cmd(lIndex).Width)), (Rnd * (ScaleHeight - cmd(lIndex).Height)) Next End sub This procedure sometimes places the labels "on top of eachother". 1) I would like to add some code to prevent collisions, so that every labels is placed on a separate position. Maybe your code could help me here, but i do not really know how to do this, i think i'd have to go through all of my labels, and check if there is already a label placed there, but i have no idea of how to code this. Can you help me ? thanks in advance ! Best regards from sweden, Gunnar. ++++++++++++++++++++++++++++++++++++++++++++++++++ This program has been written down in Visual Basic 6. I hope yow like the effort, have fun :)

4_2005-2006 #156616
Talking IE

I am developing this application for a physician who has lost his vision. This application is just a prototype, this browser will talk, from desk top. I have a request to viewer, if you wish to join and help, please email short stories. I shall thank his nephew who emailed me and my son who thought of sending a story that can talk. Kids have wonderful ideas, I wish I have their mind to think out of the shell. Win 98 users need to have Vtext.dll "CLSID:2398E32F-5C6E-11D1-8C65-0060081841DE" it comes with win2k prof/server. Also included in Microsoft Speech API 4.0a. The First para responds to onmousemove. Once you have tested with your mouse, click yes if you get activx warning. Please press F5 and click on Read Text button. AudioPause did not work, I used StopSpeaking to stop audio. To start again, click Read Text. My regards to all viewers.

4_2005-2006 #157448
Lock-Out

This will stop anyone from accessing your computer. Compile this into an exe and remember that the password is password - DO NOT forget. If you forget the password then there is no known way of getting back in. You have been WARNED!!! This works by: hiding your cursor so that the unauthorised doesn't know where it is, puts the cursor in the top left corner of the screen and makes it stay there, fools the system into thinking the screensaver is running therefore disabling Ctrl+Alt+Delete, Alt+Tab and the Windows Key. If you put in the password wrong 3 times the system is forcefully shutdown. There is no way of getting round this that I know of without having access to the system in the first place.

4_2005-2006 #157458
CalculatorApp

I found a calc on PSC, Herman Lui´s, to which I added some functions. Such as, listbox to display your calculations/inputs, print receipt, ability to change layout during runtime. F-key, percentage-key, VAT-key functions. Allways on top. Help and aboutform. The objctive was that the user should be able to operate the calculator by using the keyboard. Of course the mouse works to. This Calculator is aslo included in my Financial Analysis App.

4_2005-2006 #157500
Form Background Color

Background coloring tool for shading forms and fading a color from top to bottom. Colors are chosen using a color slider.

4_2005-2006 #157604
Multi Column Combo Box

I created this control because i couldnt find anything else that created a multi-colum combo(drop down) box. This control is driven off a database query and is fairly straight forward to use. Once you have extracted the zip file into a directory you can look at the file /structure.txt. This file explains the directory structure and where everything is located. I hope you enjoy the control, i know i have seen numerous requests for one. And remember; Please vote! Thank You :) Purpose: The purpose of this widget is: 1. provide a multi column drop down box to users 2. provide a combo box's that doesnt sit on the top of a web browser so menus can flow over the control 3. provide a combo box that can allow user input

4_2005-2006 #156654
SysControl ! 2.0

This is a program that will let you show, hide, alter text, capture a picture, change the parent, kill, close, enable, disable, get info on, minimize, maximize, restore, capture a picture of, make them stay-on-top, send a message to, edit the window style, and flash the title bar on almost any target! The target can be selected by dragging the mouse from a button to the target or by entering a HWnd! It includes many more features and a complete help system. It also will list all the programs running on your system, will allow you to change their priorities, and will give you info on them too. The program can also perform a screen capture and can even highlight HWnds directly on the screen! It is excellent to learn by, and it's code is thoroughly commented and clean. Also, I would be grateful for any votes you feel fit to give me. I would appreciate them a lot, believe me!

4_2005-2006 #156674
Flickerless, Smooth Animation using pure VB with No OCXs, DLLs or ASM!

Added New - Fully Functional Screensaver with source using my animation technique! Also added one more new demo - Geometry. Flickerless, Smooth Animation using pure VB with No OCXs, DLLs, ASM or DriectX. Pure VB. This Entry gives you the code that I created and have used in all of my screen savers for years. The code included is pure VB code (with just a few APIs declared and utilized). Most of the code is in the "CodePage.Bas" module. This contains all of the initialization, variable definitions and declarations and animation code. If you like it, give me a vote or two. If I get votes, I'll know you are interested and I'll create a complete documentation package around this. Demos included are... Demo_BouncingBalls.exe - About 30 colored balls bouncing all around the screen (Source included). Demo_BouncingSantas.exe - Bunches of little Santas practicing thier jumping for the upcoming holiday season. Demo_Geometry.exe - Bunches of geometric images floating around the screen. Demo_UFO_ScreenSaver.Scr - Aliens have taken over your desk top. All Demos have full source code in zip format. UFOsaver.scr - A complete, fully functional screensaver using my animation techniques (source included)!!! Thanks. Doug Puckett ( dpuckett@thelittleman.com )

4_2005-2006 #156768
Quick (Q) Navigator Ver 1.1 (Updated): The BEST WEB BROWSER ever posted on PSC

(Now the links are working) Q Navigator Ver 1.1 is an updated form of my Web Browser, which has the best features (and more) of all browsers. a) Better GUI, b) Better looking progress bar, c) Auto complete address, d) Select all, e) Find, f) text size, g) scrolling news, h) source, i) better looking history & favorites, j) mail, k) update, l) internet options etc. etc.: Other than ALL THE FUNCTIONS IN INTERNET EXPLORER, 1.You can store/jot down any required information while browsing, 2.It has a unique SEARCH facility where you can just give the word/sentence to search for and give the preferred search engine (you can choose to search from the best search engines!!!), 3.It has a "links" button that shows the number of links on the web page & the different links on the web page you are viewing, 4.Five configurable shortcut buttons: News, Download, Mail 1, Mail 2, Search, Easily configurable, 5.Scrolling News on the right top side when you are connected to the Internet, without losing any bandwidth 6.The best of all, this browser has a feature to backup and recover all such information when it crashes. When Q Navigator crashes (due to windows problems/software problems / etc.) Just go to Help > Help!!! And run the debug program .You can either Start debug program (in which it replaces corrupt resource files) or Only recover the browser (in which it recovers the lost information / URL's), which is useful for retrieval of lost web pages after crash. IMPORTANT: See "Readme.doc"

4_2005-2006 #156996
Clockster XP....Almost There

Updated 8 March. Added the ability to cycle through the menu options on the settings form using the enter key and the up/down arrow keys. Only works when at least one item has the focus which is always the case when the form loads. Also, removed X offset property and implemented Y offset so you can adjust the vertical position of the clock and Volume slider. Also added the ability to adjust the height of the Volume slider. Just didn't need the x property because the control automatically centers on the X axis. As for the Y axis, I wanted to give the user absolute control over placement so I added Carles P.V.'s updown control, with his permission of course, to allow the user to position the clock/slider where they want. They can even be reversed and you can put the slider on top and the clock on the bottom if you want. I also added sound and the tooltip when using the mousewheel to adjust the volume. Still implementing some validation and error handling so don't get too extreme with adjusting the volume slider's height. Also working on some bullet-proof error handling and the addition of date/day display. Keep the suggestions coming...

4_2005-2006 #157876
Pageballoon **DESKTOP TOY!!!**

This is PageBalloon (v 1.1.6), its your very own desktop toy, you can chuck as many balloons onto your desktop as you desire, they are all skin mapped with ex acquaintances of mine. Its a must see, and a good screensaver replacement. they can wrap around the screen to float off the top and come up from the bottom again, they can also be kept ontop at all times. I have improved the movement function a little to cut processing time and speed it up.so download the code, comment on the code, and vote the code!!!

4_2005-2006 #158058
Dockable Statusbar within MDI

Shows how to dock a statusbar control to the top-left-right-bottom of an mdi form, or make the statusbar detatch from the form and 'float'

4_2005-2006 #158295
Fosters' Wife friendly Alarm Clock

I am often guilty of saying to my wife that I'll be on the PC for half an hour... only to get a knock on the door 3 hours later!! Not a happy wife! This alarm clock is the perfect remedy. You set a date/time and it sits unobtrusively on the screen. At the specified dat/time it will raise a message and/or play a WAV and/or execute an app on the alarm time! It's also has some excellent functions in it for file exists, registry save/get setting, wav playing, captionless form drag, stay on top, etc, etc

4_2005-2006 #158320
cDropShadowBlt 1.1.1 (icons supported)

Simple rendering/painting class for 'drop-shadow' effect. Three methods: CreateFromStdPicture, CreateFromDC and Paint. Shadow options: opacity [0,100], xOffset [1+] and yOffset [1+]. // 5Kb. __________________________________________________ Added 'ShadowColor' option and slightly improved 'pvRenderDropShadow' routine (now maping DIB bits: no buffers and '1-pass' blurring). __________________________________________________ Icons supported. New generic method name: CreateFromHandle(). __________________________________________________ Fixed shadow left-top edges.

4_2005-2006 #158397
_Web Listbar

This code will help you organize your support content (Links, news flash, Top 10). This mimics the common Listbars that you will find in other Desktop application languages like VB. Since it uses standard HTML as it's content, the sky is the LIMIT when adding content. You can customize the Javascript Objects that I have started to really enhance these objects to be very powerful. I have added a Readme.htm file so that you can understand the parameters and the objects that I have created. Almost everything is customizable, color, font, background colors, images, you name it.... If you like them, throw a vote my way. Thanks

4_2005-2006 #157204
NextPad *Awesome text editor* FIXED corrupt page

Features : Since Version The First Version To This Version * Word wrap , * Clipboard Options , * Can Launch Another Editor If The File That Is Being attempted too be opened is too large , * has an Options dialog * Can Be Used on the command Line and , * Can Be the Default text Viewer for (*.TXT) Files...... * Set Font * Find Dialog * AUTHENTIC windows core component Properties dialog , Strait From the windows API !!!! * Launch New instance , Through A menu or dialog * Has a Toolbar , COOLBAR * Has A Clipboard Viewer , Editor * Full screen Mode * Recent File Menu * Undo Option Added * Option Too Alter NextPad's Thread Process Priority * Option For NextPad Not Too ask Too Launch External Editor , Just Launch it. * Better Toolbar Now it's a CoolBar * Better Launching of a New instance Because Now you can add command line parameters * NextPad Now Has An Option Too Remember Previous window Position And Window state * You Can Now Set The Back Color And Forecolor Of the TextBoxes * Better Text File Manager * Able Too Move File * Ability too Choose open File Method , Binary , Input * Smart File Opening Which Is Smart Because it detects which File Method to open the file with * Windows Can Stay On Top * Ability Too Print Documents In NextPad Or The Text File Manager , In Color Or In Black And White * Replace Dialog * Text File Manager Has Options * Text File Manager Can Delete A File , Or Send it too the Recycle bin * Text File Manager Can Shell The Document Opening it with The Program associated with the file * Text File Manager Uses Smart File Opening * You Can Now Set The Font For The Text File Manager * NextPad Has A Tip Of The Day Dialog * NextPad has a file Browse Bar * AND SO MUCH MORE NOT LISTED !!! * Better recent files menu, no more limit etc... * Added favorites menu. * Fixed bug where you couldnt open files larger than 65k in Recent File and Organize Favorites dialogs. * Fixed bug that is activated when you click No to a message box asking you to open a file to large for NextPad to open, (only triggered when opening a file from the command line). * Made work around for bug where you couldnt set the clipboard text, while using the vb clipboard object when using the manifest file. * Existing features that have needed much improvement have been improved (allowing NextPad to work more efficently). * Existing code base has been improved. * Replace dialog has been improved including new replace functions such as make replacement uppercase, etc. * Fixed bug where if you had minimized the main window, then closed it with the "Remember previous window position" option on you could not see the main window the next time you started NextPad. * Added new "Insert" menu so you can now insert tab's and new line's into your documents, etc. * Added new "Make Selection" menu so you can now make the text you have selected inverted,uppercase,lowercase,etc. * Updated clipboard window. * Rename feature added allowing you to rename the file that is currently open. * Calculate size feature added allowing you to check the size of the document before you save it. * Refresh\Revert feature added allowing you to refresh the document currently open. * Manage clipboard dialog has taken the place of the two pointless ones. * Tip Of The Day dialog has been finally updated. * Main Toolbar has been revised again to look and feel better when in use. * Added insert at beginning of document and insert at end of document menu. * The BrowseBar has been improved nicely, its appearance has been altered slightly also. * Fixed bug that occured when you dragged a file from explorer onto NextPad's icon, then the file would not open. * Add Directory function added to the favorites dialog. Thanks If You Like It PLEASE Vote Otherwise PLEASE LEAVE YOUR SUGGESTIONS AND ANY CRITICISM YOU HAVE, PLEASE LEAVE COMMENTS !

4_2005-2006 #157279
Global Minimize to Tray v1.1 beta ** UPDATED ** (all code is here)

This app creates a new button (top right) for each window. This button if clicked on sends the app and all it's threads to the system tray with the correct icon. If you right click on the button, a list of already minimized apps comes up and you can select one and it will be removed from the tray and back to normal (or you can click on the system tray.. either way). If you use it for a day or so, you won't be able to stop using it. Although it is a bit hard to get used to. *UPDATES Since 1.0* ==================== - Multi-thread Windows now supported (ie VB6) - Added 'Balloon' Support for Win2000 users - Added Options Form (not much of an options form though) - Made much better about form - Removed many bugs (thanks for bug reports) - Zip file includes all files (sorry, had files in 2 folders for some reason) * Please leave comments on bug reports if any as I really want to make this app bug free. *

4_2005-2006 #158425
MSN Messenger Alert Box

This project demonstrates you how to build an alert box like MSN Messenger has. It is displayed in the bottom-right corner of your screen. When an alert is shown while another one is still visible, it is placed on top of the existing box. By moving the mousecursor over the text it appears as a hyperlink. And to get a little bit of the Microsoft feeling I've added a simple gradient found elsewhere on PSC.

4_2005-2006 #158517
Get Taskbar Dimensions/Position

This project is very small. It just shows the taskbars' position on the screen (in twips) and it's Left, Right, Top and Bottom values. It returns these in a RECT structure.

4_2005-2006 #158519
About Screen With Fading Text

This about screen scrolls text upwards, fading in at the bottom, and fading out at the top. You can insert this screen into any project as long as you also include the clsBitmap class. The class itself contains some very usefull code for any program using api graphics. Any feedback or votes are very welcome. Thank you

Languages
Top Categories
Global Discovery