OWLNext    7.0
Borland's Object Windows Library for the modern age
Loading...
Searching...
No Matches
Using the Borland Custom Controls Library
Note
BWCC is now obsolete and should be used only for backward compatibility

You can open and close the Borland Custom Controls Library using the function TApplication::EnableBWCC(). EnableBWCC takes one parameter, a bool, and returns a void. When you pass true to EnableBWCC, the function loads the DLL if it is not already loaded. When you pass false to EnableBWCC, the function unloads the DLL if it is not already unloaded.

You can find out if the Borland Custom Controls Library DLL is loaded by calling the function TApplication::BWCCEnabled(). BWCCEnabled takes no parameters. If the DLL is loaded, BWCCEnabled returns true; if not, BWCCEnabled returns false.

After the DLL is loaded, you can use all the regular functionality of Borland Custom Controls Library. EnableBWCC automatically opens the correct library regardless of whether you have a 16- or a 32-bit application.