Date: 5 February 1997
Author: Christopher Kohlhoff
Under the new Windows 95 and NT shell, frame windows have a small icon (16x16) in the upper left corner. Under OWL 5.0, you must explicitly set this icon for your main window using SetIconSm, or you will get the default OWL icon instead. Your InitMainWindow function becomes:
void TMyApp::InitMainWindow()
{
TFrameWindow* frame = new TFrameWindow(0, GetName(), 0, false);
// ...
// Assign icons for this application.
//
frame->SetIcon(this, IDI_SDIAPPLICATION);
frame->SetIconSm(this, IDI_SDIAPPLICATION);
// ...
SetMainWindow(frame);
}