![]() The code is entirely located in one Class, which is stored in the FormatDrive.h/cpp files. This sample can handle them all! (Windows 95OSR1, 95OSR2, 98, 98SE, NT4, 2000, and XP) The remaining Windows versions are excluded now by code, but in the near future this will be expanded for ALL English Windows versions released since Windows 95. Each Windows version handles this routine differently even the API and the dialog itself are different for the different Windows versions…. The difficulty in this sample is the support for many Windows versions. It also disables certain fields so that the user cannot modify them. This demo shows how to call this routine and how to configure it before the dialog is painted. Normally, when you call this method, the dialog itself is not configured according to your preferred defaults. This example shows how to call the Shell Format routine (SHFormatDrive from the Shell32.dll library). Environment: VC6 SP5 it is suitable for Windows 95/98/NT4/2000/XP
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |