Advertisement

Results for "Author: lavolpe"

7_2009-2012 #227451
LaVolpe ImageList

Another project using my c32bppDIB classes. This is a custom image list that supports alpha images and has one neat property that haven't seen before. This custom image list control can be made part of your custom usercontrol so you don't have to ship 2 different controls. Two sample projects are included in zip, so unzip with "Use Folders" checked. Some highlights: supports alpha images, mulitple image sizes, allows scaling when adding to imagelists, and many more. I am planning on using this for multiple custom controls in the near future. Still have some things that I want this to do or be compatible with. I am not completely done with this project but offer it to you for your suggestions and comments.

7_2009-2012 #227452
FYI: Rotated Captions with Unicode WordBreaking

Use Windows to word break captions. Display text at zero, 90 & 270 degree rotations. Neat method of wordbreaking unicode text using Windows own wordbreaking algorithms vs trying to create your own. Added several properties to mimic DrawText to include clipping, accelerator keys, and more. Project nearly 100% complete. The API created unicode textbox is not subclassed, so it isn't controlled by the project, however, you can type and cut/copy/paste as needed. Next major addition will be a class version. Hmmm, a usercontrol-less, class-based unicode textbox would be a nice project ;)

7_2009-2012 #227453
Adios LaVolpe

I know this is not truly a programming article. But I wanted to thank all of PSC for your continuous and generous feedback. Even negative feedback is positive when taken as an opportunity to improve weaknesses.

7_2009-2012 #227454
FYI: Import/Export ListView [16Feb09]

Updated posted bad example in previous upload. For your personal use. A slightly different method of exporting/importing a ListView. When I said listview, I mean all that pertains to it: This includes listview properties, its column headers & their props, its listitems & their props, the listitems' subitems & their props, the imagelists bound to the listview and its props, each image in the imagelist and its props. Additionally, you can pick and choose portions of what will be exported/imported. Note. The previous upload example for importing the reportview example did not ask to include control formatting, it should have. My mistake. No change to the class.

7_2009-2012 #227455
FYI: Bits - Manipulation

The attached class contains a lot of bit manipulation routines. Here are some of them 1) Right/Left shifting, both logical & arithmetic logic, both truncation & wrapping, 2) Get/Set any bits or a range of bits, 3) Convert data types and byte arrays to a string of bits, 4) Convert a string of bits to byte,int,long 5) CRC32 calcs on arrays and strings, 6) and many more. Let me know if you see any errors or potential improvements.

7_2009-2012 #227456
FYI: Self-Balancing Binary Tree

For those that like linked lists, heaps, hash tables, etc, here is a self-balancing binary tree. If you are not familiar with binary trees, I included an RTF document to help understand them. For the rest of us, we know a worse-case binary tree is a linked list, and a best case binary tree is probably a Red-Black or AVL tree. A close runner up is a binary tree that has nodes added randomly, and then a better solution might just be this, a self-balancing binary tree. The tree does not balance perfectly, rather it balances its height on insertions and deletions maintaining a worse-case O(Log n)+1 search time. Not bad at all ;)

7_2009-2012 #227457
FYI: UserControl Custom DropDowns - PropetySheet

A "fluff" tool for usercontrol developers. With the attached, one can easily supply their own custom dropdown lists for propertysheets. If a property is a VB enumeration (say AlignmentConstants), you normally get values like: vbLeftJustify, vbRightJustify, vbCenter for the property's dropdown and its displayed value. Wouldn't it be cool if it was displayed like this instead: Left, Right, Centered? Easy. Ever want or need a string enumeration, say a list of controls on the form or a list of available drives? Easy. Want to display your own dialog box for a property vs a property sheet? Say a FileName property that opens a commondialog? Easy. The attached has a sample project that shows how this can be done. 18 Dec 08... Found memory related bugs that crash. Thunks & mapped memory file modified as needed. Now tested compiled/uncompiled and in other apps (MSAccess). No more crashing; no errors noticed.

Languages
Top Categories
Global Discovery