PRB: .Msk File Not Recognized in Windows 95Last reviewed: October 29, 1995Article ID: Q138672 |
The information in this article applies to:
SYMPTOMSBitmaps appear transparent when placed on a control of a form, even after following the directions on page 304 of the Developer's Guide to create a mask file.
CAUSEThe default extension for a bitmap is .bmp. When you save a bitmap in Paintbrush in Windows 95, the resulting file automatically has the .bmp extension. Therefore, if you save a file as either New or New.bmp will save the bitmap to a file named New.bmp. But if you attempt to save the file as New.msk, Windows 95 creates a file named New.Msk.bmp. Note that the full file name might not be visible when examining files in Windows 95.
RESOLUTIONRename the file through the Windows Explorer or by using another method.
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce BehaviorFollow the directions on page 304 of the Developer's Guide under "Using Picture Masks" to create a mask for a bitmap. A sample bitmap that needs a mask file is New.bmp in the Samples\Controls\Events subdirectory. Before trying to reproduce this behavior, make sure the file New.msk does not already exist in that directory.
MORE INFORMATIONNOTE: If the user has set Windows 95 to "Hide MS-DOS file extensions for file types that are registered," the file New.msk.bmp will appear as New.msk because Windows 95 recognizes it as a bitmap. Make sure that the user is not hiding the file extensions by changing the options under the View menu option on the Windows Explorer.
|
Additional reference words: 3.00 VFoxWin
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |