vb@rchiv
VB Classic
VB.NET
ADO.NET
VBA
C#
Brandneu! sevEingabe v3.0 - Das Eingabecontrol der Superlative!  
 vb@rchiv Quick-Search: Suche startenErweiterte Suche starten   Impressum  | Datenschutz  | vb@rchiv CD Vol.6  | Shop Copyright ©2000-2026
 
zurück

 Sie sind aktuell nicht angemeldet.Funktionen: Einloggen  |  Neu registrieren  |  Suchen

VB & Windows API
SetWindowPos hWndInsertBEFORE 
Autor: harpo6618
Datum: 21.04.09 12:24

Hallo Friends,

I'm a beginner in programming with VB.NET.
I have a button in an application (ArcGIS). This button opens a form. This form should always appear in front of the application-window (not always on top of the screen !).
I tried this with the API-function SetWindowPos, but there is only the possibility to send the form behind an other window (hWndInsertAfter):

Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Integer, ByVal hWndInsertAfter As Integer, ByVal x As Integer, ByVal y As Integer, ByVal cx As Integer, ByVal cy As Integer, ByVal wFlags As Integer) As Integer

How can I send the form "over" the application-window ?
And is this possible without a timer ?
alle Nachrichten anzeigenGesamtübersicht  |  Zum Thema  |  Suchen

 ThemaViews  AutorDatum
SetWindowPos hWndInsertBEFORE3.970harpo661821.04.09 12:24
Re: SetWindowPos hWndInsertBEFORE2.216ModeratorMartoeng21.04.09 13:49
Re: SetWindowPos hWndInsertBEFORE2.343harpo661821.04.09 14:32
Re: SetWindowPos hWndInsertBEFORE2.238ModeratorMartoeng21.04.09 18:21
Re: SetWindowPos hWndInsertBEFORE2.176harpo661822.04.09 14:22
Re: SetWindowPos hWndInsertBEFORE2.113ModeratorMartoeng22.04.09 16:34
Re: SetWindowPos hWndInsertBEFORE2.137harpo661823.04.09 08:02
Re: SetWindowPos hWndInsertBEFORE2.087ModeratorMartoeng23.04.09 11:52
Re: SetWindowPos hWndInsertBEFORE2.035harpo661823.04.09 12:39
Re: SetWindowPos hWndInsertBEFORE2.192ModeratorMartoeng23.04.09 13:00
Re: SetWindowPos hWndInsertBEFORE2.158harpo661824.04.09 12:17
Re: SetWindowPos hWndInsertBEFORE2.450harpo661824.04.09 12:41
Re: SetWindowPos hWndInsertBEFORE2.143ModeratorMartoeng24.04.09 13:11
Re: SetWindowPos hWndInsertBEFORE1.910harpo661824.04.09 15:47
Re: SetWindowPos hWndInsertBEFORE1.937ModeratorMartoeng27.04.09 10:18
Re: SetWindowPos hWndInsertBEFORE2.138harpo661827.04.09 12:53
Re: SetWindowPos hWndInsertBEFORE2.028ModeratorMartoeng27.04.09 13:01

Sie sind nicht angemeldet!
Um auf diesen Beitrag zu antworten oder neue Beiträge schreiben zu können, müssen Sie sich zunächst anmelden.

Einloggen  |  Neu registrieren

Funktionen:  Zum Thema  |  GesamtübersichtSuchen 

nach obenzurück
 
   

Copyright ©2000-2026 vb@rchiv Dieter Otter
Alle Rechte vorbehalten.
Microsoft, Windows und Visual Basic sind entweder eingetragene Marken oder Marken der Microsoft Corporation in den USA und/oder anderen Ländern. Weitere auf dieser Homepage aufgeführten Produkt- und Firmennamen können geschützte Marken ihrer jeweiligen Inhaber sein.

Diese Seiten wurden optimiert für eine Bildschirmauflösung von mind. 1280x1024 Pixel