程序图标不显示在任务栏上

程序图标不显示在任务栏上

int WINAPI _tWinMain(HINSTANCE, HINSTANCE, LPTSTR, int)
{
	try
	{
		Application->Initialize();
		Application->MainFormOnTaskBar = false;

		Application->CreateForm(__classid(TForm12), &Form12);
		SetWindowLong(Application->Handle, GWL_EXSTYLE, WS_EX_TOOLWINDOW);//注意顺序
		Application->Run();
	}
	catch (Exception &exception)
	{
		Application->ShowException(&exception);
	}


你可能感兴趣的:(XE6)