Thema: Delphi Fensterklasse ändern

Einzelnen Beitrag anzeigen

Benutzerbild von Luckie
Luckie

Registriert seit: 29. Mai 2002
37.621 Beiträge
 
Delphi 2006 Professional
 
#9

Re: Fensterklasse ändern

  Alt 27. Sep 2007, 08:18
Windows braucht die Fensterklasse, um das Fenster im System zu registrieren. Ich könnte mir vorstellen, wenn du die Fensterklasse änderst, dass dann Windows den Bezug zum Fenster verliert. Und wie man sieht bietet MSDN-Library durchsuchenSetWindowLong dies auch nicht and:
Code:
GWL_EXSTYLE
Sets a new extended window style. For more information, see CreateWindowEx.
GWL_STYLE
Sets a new window style.
GWLP_WNDPROC
Sets a new address for the window procedure.
GWLP_HINSTANCE
Sets a new application instance handle.
GWLP_ID
Sets a new identifier of the window.
GWLP_USERDATA
Sets the user data associated with the window. This data is intended for use by the application that created the window. Its value is initially zero.
The following values are also available when the hWnd parameter identifies a dialog box.
DWLP_DLGPROC
Sets the new pointer to the dialog box procedure.
DWLP_MSGRESULT
Sets the return value of a message processed in the dialog box procedure.
DWLP_USER
Sets new extra information that is private to the application, such as handles or pointers.
Michael
Ein Teil meines Codes würde euch verunsichern.
  Mit Zitat antworten Zitat