AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein GUI-Design mit VCL / FireMonkey / Common Controls Delphi WndProc funktioniert nicht mit Buttons auf Formular
Thema durchsuchen
Ansicht
Themen-Optionen

WndProc funktioniert nicht mit Buttons auf Formular

Ein Thema von Poolspieler · begonnen am 2. Mai 2005 · letzter Beitrag vom 3. Mai 2005
Antwort Antwort
Mephistopheles
(Gast)

n/a Beiträge
 
#1

Re: WndProc funktioniert nicht mit Buttons auf Formular

  Alt 3. Mai 2005, 19:55
Zitat von Poolspieler:
Du hattest recht und es funktioniert wunderbar - aber wie kommt man denn auf diese Lösung?
Hast Du dafür irgendwo eine tolle Doku gefunden?
Ja, da gibt es eine "tolle Doku", die jeder der unter Windows programmiert bereits auf seinem Rechner haben sollte!

http://www.microsoft.com/msdownload/...msdk/sdkupdate

Wenn du es installiert hast, findest du die entsprechenden Infos unter diesen URLs:
  • ms-help://MS.PSDK.1033/winui/winui/windowsuserinterface/windowing/windows/windowreference/windowmessages/wm_parentnotify.htm
    Zitat:
    The WM_PARENTNOTIFY message is sent to the parent of a child window when the child window is created or destroyed, or when the user clicks a mouse button while the cursor is over the child window. When the child window is being created, the system sends WM_PARENTNOTIFY just before the CreateWindow or CreateWindowEx function that creates the window returns. When the child window is being destroyed, the system sends the message before any processing to destroy the window takes place.
  • ms-help://MS.PSDK.1033/winui/winui/windowsuserinterface/windowing/windows/windowreference/windowfunctions/createwindowex.htm
    Zitat:
    WS_EX_NOPARENTNOTIFY
    Specifies that a child window created with this style does not send the WM_PARENTNOTIFY message to its parent window when it is created or destroyed.

Da man sich darauf nicht bei allen Child-Controls verlassen kann, wurde dies (zumindest von mir) oben noch nicht angeführt.
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 12:18 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz