Advertisement

Results for "top"

7_2009-2012 #223443
Picturebox Scroller

This is a simple function which smoothly scrolls text in a picturebox. Unlike other entries it only needs one picturebox. Each time the function is called it adds the text to the bottom (or top) of the picturebox and scrolls the rest of the box (without moving the box itself). Used with a timer control it creates a very versatile scrolling routine. It can easily be modified to scroll anything that has an HDC. The font property on the picturebox controls the look of the text. BitBlt api based on code submitted by MO. I used this code for a phone tracking program than needed to constantly scroll incoming call data in a picturebox.

7_2009-2012 #223559
DeskDraw

If you want to draw a picture or image on desk top .you need this code.It will also decorate you desktop with your choice

7_2009-2012 #223659
Ripple

This is a realtime ripple of the desktop (see screenshot :)) Makes the bottom of your screen reflect the top in a water like effect... looks kinda cool... If you like it, then please vote. Thnx =)

7_2009-2012 #223542
AMAZINGLY FAST IMAGE ROTATION *REALTIME*

I wrote this to be a part of my game engine. It's purpose is to rotate a bitmap, for example, a sprite in a game, to any angle (fixed point only) in realtime, that is, fast enough that it can be done on a frame-by-frame basis in the game. For example, if you had a birds-eye-view scroller, and you had a spaceship in the middle of the screen and you wanted the player to be able to rotate the ship 360 degrees, this code would be able to rotate the sprite of the ship every time the angle changed, fast enough that it wouldn't make the game 'laggy'. I tested this out on my (rather lame) P-133 Mhz PC, with 32MB of ram, compiled, with no other applications running, rotating a 48 X 48 pixel bitmap (the size of a sprite in my game), and i got a top framerate of 250 Frames Per Second, and a minimum framerate of 111 fps.!!! It manipulates DIB (Device Independant Bitmaps) objects rather then using GetPixel and SetPixelV. Because of this, it is MUCH faster, This took ALOT of research because I did alot of trial and error to figure out how to set the color of individual pixels in a DIB byte-array. (the entire bitmap's pixel information is loaded into an array of bytes, each representing the Red Green and Blue value of a pixel in the bitmap), and I also had to go through alot of graphics routine books to find the most effective rotation formula. I am now in the process of porting this function to C++ to add to my VB game engine DLL. I have many ideas of howto furthur optimize this function for faster speeds, but most of them are for C++ only, and require further testing and development. I do think this can be used in a game as-is though so i hope someone finds it useful! IMPORTANT: COMPILE this code for MUCH FASTER framerates!!! Press the SetupDIB button to initialize the buffers and create the DIB section of the image and the buffer, then drag the scrollbar, or press the button that says Rotate on it. There are some limitations to this function... Read the comments for more info! =) Hope this helps someone, enjoy!

7_2009-2012 #223553
Dictionary-Based english Text Compression

*Now about 50% faster compress performance, fixed some glitches and improved compression ratio. *UPDATED: Now supports both upper and lower case words (any sentence should come out fine regardless of case, etc.) + Some performance and compression optimizations. SEE COMMENTS AT TOP OF COMPRESSION MODULE FOR FULL DETAILS. This code basically takes a string composed of everyday conversational english, and compresses it to a much smaller string using a set of dictionaries (included), and can also decompress any previously compressed strings.. This code was designed to be applied in a chat environment to save server bandwidth as the server has to echo many messages to hundreds of users many times per minute, this can make a big difference in bandwidth usage and in the case of a mmo game server, can help to ensure smoother gameplay as the game grows. Compared to zlib this is much more efficient at english-language compression, but entirely not suitable for other types of strings that do not contain english words. This code is intended to be used on the client side, and only includes the procedures necessary to compress and decompress a string, specifically everyday English conversational sentences.

7_2009-2012 #223598
WinTasks (Do hundreds of amazing tasks with API and more!) (updated)

Wintasks is a program capable of doing hundreds of Windows tasks. Wintasks can: Shut down Windows, restart windows, log off Windows, control open programs, "refresh windows," empty recycling bin, set screen resolution, disable/enable; taskbar, ALT-CTRL-DEL, desktop icons, screen saver. Also Wintasks can send email, recieve email, send "fakemail" (mail under any address), connect/disconnect to internet, open anything in control panel, copy/rename/run files, find: time, date, cpu usage, and length in Windows, secure the computer with a password you can set, find the ***'s in password boxes, enumerate windows, convert keys to ASCII decimal, find files, open Winfiles, Minimize all windows, create Veda designs, open the CD-Rom drive, and auto mouse move. The program can be FORCED on top and stay above screensavers! Wintasks can do all this and MUCH more, within a small form that can be minimized to the system tray! Wintasks has the power to control running applications and to kill viruses! (This is an extremely updated version of the previous Wintasks I submitted) Includes TONS of API and is a great reference if you don't know a certain API calI. Please Vote if you like it!

7_2009-2012 #223600
Do 50 common API calls in OCX! No remembering Tons of API! (Update2)

50 common API calls in OCX so you just need to call them! Includes the folowing: Form on top, ShutDown, Restart, LogOff, TaskBarHide, TasksBarShow ,ScreenSaverOn ,ScreenSaverOff, DesktopIconsHide, DesktopIconsShow, ALT-CTRL-DEL Enabled, ALT-CTRL-DEL Disabled, OpenCDROM, EmptRecycle, MinimizeAl, OpenExplore, FindFiles, OpenInternetBrowser, InternetConnect, InternetDiconnect, SendEmai, Add_Remove, Add_HardWare, Time_Date_Settings, Regional_Settings, Display_Settings, Internet_Settings, Keyboard_Settings, Modem_Settings, Mouse_Settings, System_Settings, Network_Settings, Password_Settings, Sounds_Settings, Copy_File , Delete_File, Move_File, FlipMouseButtons and More! (To add ocx to project: Hit Ctrl + T, then press browse and select my .OCX file and it will become one of your tools to pick from) then you type something like this in the code: CompControl1.ShutDown (this shuts down windows!!!) ------------------------------------------------- Just Added (As of Nov. 5th 2000): Show Cursor, Hide Cursor, Shut Down Dialog, Sleep, Play Wav sound, Enable / Disable Objects, See if Path Exists

7_2009-2012 #224049
Advanced trigonal character movment, like in GTA.

This very simple code showes how to use Cos and Sin functions to make GREAT player movment in top-down games. A MUST SEE, explots importaint features of the trigonal system and the unit circle to improve game intraction! :)

7_2009-2012 #224057
Handler

The ultimate window handler, this can Hide\Show\Minimize\Maximize\Restore\Close\Flash\Focus\Enable\Disable\Ontop\Not Ontop\Set Height and Width, Top\Left And set window text!!! Vote if you like this code!!!

7_2009-2012 #224095
EliteSpy+ (with Code Generator)

EliteSpy+ is program for spying windows. You can spy any window and you can manipulate them using the command buttons in Program. You can minimize, maximize, terminate, enable, disable, flash, put on top, etc. This program also contains a code generator which you can use to generate code which will manipulate with the specified window. There is also a list of running process. You can also terminate any process you want. And please vote for this program if you like it!

7_2009-2012 #224099
Speed up your app

Does your simple 3D game runs at a top speed of 2 fps? Does your super fast compressor takes 1 hour to compress a 10 kb file? If so, you should read the following article on how to speed up your applications. Updated 2/7/2003

7_2009-2012 #223605
Do 50 common API calls in OCX! No remembering Tons of API! (Update3)

50 common API calls in OCX so you just need to call them! Includes the folowing: Form on top, ShutDown, Restart, LogOff, TaskBarHide, TasksBarShow ,ScreenSaverOn ,ScreenSaverOff, DesktopIconsHide, DesktopIconsShow, ALT-CTRL-DEL Enabled, ALT-CTRL-DEL Disabled, OpenCDROM, EmptRecycle, MinimizeAl, OpenExplore, FindFiles, OpenInternetBrowser, InternetConnect, InternetDiconnect, SendEmai, Add_Remove, Add_HardWare, Time_Date_Settings, Regional_Settings, Display_Settings, Internet_Settings, Keyboard_Settings, Modem_Settings, Mouse_Settings, System_Settings, Network_Settings, Password_Settings, Sounds_Settings, Copy_File , Delete_File, Move_File, FlipMouseButtons,Show Cursor, Hide Cursor, Shut Down Dialog, Sleep, Play Wav sound, Enable / Disable Objects, See if Path Exists, Special Beep, Close Handle, Get File Size, Get last error, get windows version, set current directory, set pixil, get pixil color, and More! (To add ocx to project: Hit Ctrl + T, then press browse and select my .OCX file and it will become one of your tools to pick from) then you type something like this in the code: CompControl1.ShutDown (this shuts down windows!!!)

7_2009-2012 #223628
Nuke MP3 Player

Its an MP3 Player that uses the windows media player control, loads of features including: ~Skinnable ~Will read ID3v1 Tags ~User can find out bitrate, frequency and if a file is stereo or mono ~Runs in the system tray ~Balance controls ~Volume controls ~Save/open playlists ~Add whole directory/single files to playlists ~Drag drop files into playlist ~Tells you the length of a mp3 file, and how long its played it for ~Displays song name ~Seeking bar ~will popup little (msn style) windows from task bar on new song, telling you the song title ~Repeat one, all, random, or normal play modes ~Can change text colour ~Can be set to be always on top ~Playlists can be cleared/files can be removed ~Can control playback from tray ~Detects if a soundcard is present

7_2009-2012 #223901
CS Bandwidth Monitor - UPDATED -

UPDATE(Included stay on top option, fixed some minor bugs and added auto apply to settings. This is beta 2, see pic) This program has code from antoher tool I have on this site called CS Internet Tools. But the main purpose of this program was to teach myself much better UI. There are alot of nice things about this program such as the form that will blend into your desktop so it looks like it is part of it. The stats form that will "Roll" out of the main form. Really not to hard to do. It will remember where you have your forms at startup, has many options and is very custmizable. A large part of this code came from other source code not by me. All props go to them. I hope this helps anybody who needs it. Vote if you like. Remember the main purpose of this was to teach myself UI. Anyways I hope you do like it.

7_2009-2012 #223957
Jii´s Task Manager

A complete window manager. It captures any open window/application and returns the windows caption and handle (hWnd). The app let´s you hide, show, restore, minimize, maximize and close any open window or app. It also let´s you change the window or applications Titlebar to any text you like. It also makes it possible to change caption of controls belonging to any open application. Newly added: You can make any window "Stay on top" or Enable/Disable it to make it reject any input by the user or other apps. There´s also a function wich shows if the selected window is responding or not. It´s also capable of hiding or disabling the Taskbar, Taskbar Task List, System Tray, System Clock, Quicklaunch and the Start button.

7_2009-2012 #224094
ElitePad

ElitePad is complete Text Editor. It has all standard and advanced functions needed by Text Editor. It has more functions than Windows WordPad. Functions that ElitePad now have: 1. It is fully commented so that beginners can learn 2. Opening and saving files with formatting (RTF Format) 3. Powerful find and replace function 4. Faster loading of fonts with EnumFonts API 5. Go to function (to go to specified line number) 6. Custom MsgBox 7. View Document Properties 8. Menu Highlight Help 9. File Tree for viewing files like Explorer and opening them 10. Multi select open dialog 11. Insert Picture, Time and Date and Text file 12. Copy, Rename and Move files 13. Insert ANSI symbols 14. Access to registry 15. Stay on top function 16. HTML Help 17. OLE Drag & Drop 18. Line counting 19. Associate files with ElitePad 20. And many, many more. P.S PLEASE VOTE FOR ME!!!

7_2009-2012 #224122
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 :)

7_2009-2012 #224170
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.

7_2009-2012 #224208
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!

7_2009-2012 #224213
Toolbar

This is the Whitebyte-Toolbar. A rebuild of the Microsoft Toolbar which you can see at www.microsoft.com. But it can also be view in Netscape. I have tested it in Netscape 4.75 and it worked.To use this code you must enter the "menu.js" File. There you can change everything of this toolbar. Colors height, width, top, left (positions) Entries

Languages
Top Categories
Global Discovery