Aracılığıyla paylaş


IVsUIShell.SetForegroundWindow Yöntem ()

 

Ortam uygulama penceresinin çağırarak etkinleştirir SetForegroundWindow Win32 API.

Ad Alanı:   Microsoft.VisualStudio.Shell.Interop
Derleme:  Microsoft.VisualStudio.Shell.Interop (Microsoft.VisualStudio.Shell.Interop.dll içinde)

Sözdizimi

int SetForegroundWindow()
int SetForegroundWindow()
abstract SetForegroundWindow : unit -> int
Function SetForegroundWindow As Integer

Dönüş Değeri

Type: System.Int32

Yöntem başarılı olursa, döndürür S_OK. Başarısız olursa, bir hata kodu döndürür.

Notlar

Bu yöntem, belirtilen pencere önplana oluşturulur ve penceresini etkinleştirir iş parçacığı koyar. Klavye girişi pencereyi yönlendirilir ve kullanıcı için çeşitli görsel ipuçları değiştirilir.

Ayrıca bkz.

IVsUIShell Arabirim
Microsoft.VisualStudio.Shell.Interop Ad Alanı

Başa dön