Release Notes and Bug fixes for BetterButton(tm) version 1.1 IMPORTANT: Please read these release notes. Some of these changes may impact existing projects in display behavior. The following is a list of known bugs and added features which have been addressed in this release. Features Added -------------------------------------------------------------------- - Text will automatically wrap if the text cannot fit within the given width of the button. Note that this may affect buttons in existing projects. Check each form to ensure the button width is adequate for the text or that the text wraps in a desirable place. - Pressing when the button is set to Default (Default=True) or if the button has focus, the button will now animate to let the user know it was pressed. - A dashed border will be painted around buttons without borders at design-time to help identify what the BorderStyle property is set to. New Properties -------------------------------------------------------------------- - There is a new property called "Alignment" which allows you to specify how the picture and text will be painted to the button: - varAlignLeft Paints the picture and/or text on the left side of the button - varAlignCenter Paints the picture and/or text in the center of the button - varAlignRight Paints the picture and/or text on the right side of the button - There is a new property called "hWnd" which allows you to obtain the windows handle of the control for API calls. - There is a new property called "DropShadow" which will paint a shadow underneath the picture, if set. - There is a new property called "PictureStyle" which will perform the following special effects to the picture: - Normal No special effects are performed. - Mono The picture will be drawn in the color set by the ForeColor property. - PopUp The picture will "pop up" when the mouse pointer is over the button. - Static The picture will not move at all when the button is clicked. New Events -------------------------------------------------------------------- - MouseOver - Notifies the programmer when the mouse pointer is over the control. This is good for reacting to "hover" or "hot" tracking. - MouseOut - Notifies the programmer when the mouse pointer is no longer over the control. Bugs fixed in this version: -------------------------------------------------------------------- ToolTip bug - ToolTipText property doesn't work in some containers and development environments. Color bug - In 3D mode, when setting the background color to a system color, the highlight/shadow/disabled colors do not adjust if the system colors change and the program is run again. Now, the highlight/shadow/disabled colors will adjust any time the system colors change if the BackColor property is a system color. Default Property bug - Although the Default property is saved correctly when closing a form and reopening it, the default "boldness" doesn't display when re-opening a form in design mode. - The default still shows if the control is disabled. Property Page bugs - Tab order is not set properly. - ShowDefault and ShowFocus do not stay set after applying or clicking ok. Resizing error - When resizing the control to a size smaller than what it was set to, the button does not repaint itself. Focus Rectangle - The focus rectangle does not work the same way as a Win 3.x focus rectangle when the BetterButton Style = varStyleWin3x. - Focus rectangle is off slightly when state is flat (the mouse pointer is not over the button). - Sometimes a button will retain the focus rectangle when switching to other windows. Caption bug - The caption is not printed in some control containers. Picture bug - The disabled picture isn't painted correctly in some Windows NT configurations. Picture / Text bug - The text appears to be clipped or hidden in cases where the picture and text overlap. Runtime error - When placing a button on some containers, a runtime error occurs, preventing the control from being initialized and loaded. The BetterButton ActiveX Control is now supported on the following development platforms: (previous release): - Microsoft Visual Basic 5.0 - Microsoft Visual Basic 6.0 - Microsoft Word 97 - Microsoft Excel 97 (additional platforms for this release): - Microsoft Visual Basic 4.0 - Microsoft Access 97 - Microsoft Office Suite 2000 - Microsoft Visual C++ - Microsoft Visual Studio 6.0 - Microsoft Visual Studio .Net Dependency File -------------------------------------------------------------------- - A new .dep file is included with this release. Files required for shipping this control are as follows: ASYCFILT.DLL 2.40.4277 COMCAT.DLL 4.71 MSSTKPRP.DLL 6.00.8169 For using custom property page in .ocx, otherwise not required for shipping. MSVBVM60.DLL 6.00.8877 OLEAUT32.DLL 2.40.4277 OLEPRO32.DLL 5.0.4277 STDOLE2.TLB 2.40.4277 Current Known Issues -------------------------------------------------------------------- - In some cases, you may need to set a picture's mask color to something other than gray, white, or black. Cyan is usually the best choice, which is also the default MaskColor. This is mostly noticeable when using a drop shadow or a monochrome PictureStyle. If you notice a "block" look (i.e. the MaskColor is not being painted as transparent), you may have to try a new MaskColor. Open the bitmap in Paint, select a new color and paint all mask color portions with the new color. Save the bitmap and load it back into the button control. - RightToLeft property does not work on some Windows NT systems - In rare cases, if another window is partially over a button and you click on the window over the button area, the button will get the focus. - 16x16 icons do not work properly - use a bitmap instead.