Results for "Author: lavolpe"
A class that converts existing forms to something like WinXP forms. NEW: Menu support on a borderless form. The support isn't 100%, but pretty good. Enclosed is a Read Me file you should take a minute or two to glance over. It describes what this thing can and cannot do and how to use the class Note. Still doesn't support MDI forms.
Now they double as Option buttons. Why have all those cool buttons & be stuck with standard gray option buttons? Nope, not any more. Also included a new gradient button added (Win98 & higher). A few other minor improvements were also made. Submitted for your feedback & comments, especially pertaining to bugs. Thanx.
Version 2. Based off of gonchuki's buttons. Includes icon support, 7 types of buttons & a new segmented style. Mouse/Keybd actions mimic VB. Tested in NT4, Win2K & 98. Unless major errors reported - finished. Fully documented so you can modify as needed. Already using this in my apps. Enjoy.
A class that converts existing forms to something like WinXP forms. NEW: Menu support on a borderless form. The support isn't 100%, but pretty good. Enclosed is a Read Me file you should take a minute or two to glance over. It describes what this thing can and cannot do and how to use the class Note. Still doesn't support MDI forms.
Now they double as Option buttons. Why have all those cool buttons & be stuck with standard gray option buttons? Nope, not any more. Also included a new gradient button added (Win98 & higher). A few other minor improvements were also made. Submitted for your feedback & comments, especially pertaining to bugs. Thanx.
Version 2. Based off of gonchuki's buttons. Includes icon support, 7 types of buttons & a new segmented style. Mouse/Keybd actions mimic VB. Tested in NT4, Win2K & 98. Unless major errors reported - finished. Fully documented so you can modify as needed. Already using this in my apps. Enjoy.
A class that converts existing forms to something like WinXP forms. NEW: Menu support on a borderless form. The support isn't 100%, but pretty good. Enclosed is a Read Me file you should take a minute or two to glance over. It describes what this thing can and cannot do and how to use the class Note. Still doesn't support MDI forms.
Now they double as Option buttons. Why have all those cool buttons & be stuck with standard gray option buttons? Nope, not any more. Also included a new gradient button added (Win98 & higher). A few other minor improvements were also made. Submitted for your feedback & comments, especially pertaining to bugs. Thanx.
Version 2. Based off of gonchuki's buttons. Includes icon support, 7 types of buttons & a new segmented style. Mouse/Keybd actions mimic VB. Tested in NT4, Win2K & 98. Unless major errors reported - finished. Fully documented so you can modify as needed. Already using this in my apps. Enjoy.
9,000 hits indicates you liked 1st version. Then, you'll absolutely love this new one. Complete rewrite fixing all known issues w/previous version and adding way too much to this iteration. ScreenShot hilites a lot of it. So heavily remarked it makes up 1/3 of the file size; a 250+kb html help file with pics, a fair sample project and something unique -- an optional user control you can add to your project while in IDE to view menus as they would look in run-time. Has its limitations, but works well. I'm looking for honest feedback, especially pertaining to bugs experienced on your system; this has been tested to death on Win98 & Win2K. I have been testing this for several weeks and each bug found, it seems I added a new feature. Figured if I didn't put this out now, I'd never put it out. Gotta stop sometime to smell the roses. Unzip the help file images to a folder named "ReadMe_files" then put the readme.html in the folder above that. P.S. honest feedback and the "pat on the back" votes keep us going. Thank you in advance. Last updated: 12 Mar/4:15PM Eastern.
Updated: Added checkbox/option button modes to include the diagonal buttons (Mode/Value Properties). Also included a custom shaped button that takes shape from its picture property. Some notes to mention: 1) checkbox face color intentionally made to look lighter than normal button face when Value is True. XP, Java, & Mac are best guess as to what it would look like. 2) Option button selections toggle other option buttons, but do not synchronize with VB's option buttons. 3) No change to round buttons; short of using anti-aliasing, could not figure a way for smoother look--experimenting with GDI+. 4) If compiled in app, adds 110k. 5) If compiled as OCX,
Knock-off of MSN's WHATword game. Caution: can be addicting. Enjoy. The multi-thousand word dictionary, sounds & needed graphics will be installed from the included .res file. Updates uploaded 22 Jun/1925 to include Hall of Fame & minor tweaks to random letter generator routine & updated help file.
Repost with Search Function> Just a cheat-sheet of sorts. Over 200 windows messages with their values and brief descriptions. Add it to your toolbox for referencing when subclassing forms, hooking, etc. Not much of a project but should be useful. Feel free to use & abuse as desired. :)
AI pathfinder for large maps - 2nd try. This is a unique approach and is fastest version I have to date. Submitted for your suggestions & feedback. Well commented. If anyone has seen an approach like this, please let me know. I would like to compare distance & heuristic calculations. Unlike most pathfinders, this one does not require fixed objects and can be used for quickly plotting paths btwn moving objects. For those of you that have personally requested to be updated on improvements to this code, I have sent you a personal copy. For all others, I have re-posted this project simply because the update produces a significantly faster result & is far more accurate to providing a shorter path. I'm sure this project can be tweaked to provide even faster results, but keep in mind the trade-off between speed and overtasking memory resources. Updated again for to allow user-defined accuracy and speed (use the AccuracyPct variable in routine: CreatePaths) 1 Feb 20:10 CST -- Now can find shortest path 100% of time & quickly.
A way to share memory fonts between dozens of DCs without creating duplicate fonts for each DC & without forcing you to track them. Just drop the included module in your project, add 2 lines to your custom controls: 1 to return a font handle & another to delete the font. Sample project included and code is commented. The idea is simple, want to create a font but don't want to duplicate it if one is already created, the module will check fonts it is managing against the properties of the font you want created. If it exists, the handle to the existing font is returned, otherwise a new font is created with the appropriate properties & that handle is passed. Destroying fonts are only performed when all instances of the font have been decremented to zero. Advanced category only due to the unique tracking system I employed.
Rotating captions are hard but doable. Keeping track of an accelerator key is complicated. This example has portable routines to rotate captions at 90 or 270 degrees & properly display the underscore on the hot key. In addition, you dictate where text is displayed by passing the bounding parameters. This will be used for a soon-2b-released vertical version of my buttons, so if you see errors, please let me know. Thanx.
Example how to rotate transparent icons & keep transparency. This sample project goes further by allowing creation of transparent icons from non-icon resources. My take: Making 1 icon is better than calling transparent bitmap routines 100's of times. Another mini-project for the soon-2b-released vertical version of my buttons.
A compilation of region functions & examples. Included is probably the fastest window shaping routine on PSC. Regions used to create shaped windows, regions used for simple animation, rotating & stretching regions, and using regions similar to FloodFill are examples shown. All are heavily commented to assist in learning.
Contribution to Julien Lecomte's post. AI path finder now goes diagonally too, less memory intensive. All credit goes to original author; if you wish to comment on the diagonal path routine, please do; otherwise any voting should go to the original author at www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=31654&lngWId=1
Another contribution to existing code. Very quickly sort a two-dimensional array containing any amount of members (ex: vArray(5,1000) by simply identifying the member of the array to sort on. This routine has links to the original authors' posts in the source. My only contribution was to tweak for use in more than a 1-dimensional & 2-dimensional/2-member arrays. Please no voting on this one; 99% of it is the work of other coders. PS. Revised by switching the array elements around properly,i.e, from vArray(1000,5) to vArray(5,1000). Revised once again (21 Nov) to offer fast search on sorted array & to properly handle non-zero based arrays.