J'ai un Tform principal qui gère plusieurs Tform secondaires.
Y a t il une propriété pour que les Tform secondaires puissent se réduire dans la barre des taches (Shell_TrayWnd) de windows et non au dessus ?
![]()
J'ai un Tform principal qui gère plusieurs Tform secondaires.
Y a t il une propriété pour que les Tform secondaires puissent se réduire dans la barre des taches (Shell_TrayWnd) de windows et non au dessus ?
![]()
Trouvé ca :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 type TForm2 = class(TForm) protected procedure CreateParams(var Params: TCreateParams); override; end; {....} implementation {....} procedure TForm2.CreateParams(var Params: TCreateParams); begin inherited; Params.ExStyle := Params.ExStyle or WS_EX_APPWINDOW; end; // To Show a Form in the taskbar anytime: SetWindowLong(FormX.Handle, GWL_EXSTYLE, WS_EX_APPWINDOW);![]()
![]()
L'urgent est fait, l'impossible est en cours, pour les miracles prévoir un délai. :bug: ___ "http://club.developpez.com/regles/#LIII-A"Écrivez dans un français correct !!
C++Builder 5 - Delphi 6#2 Entreprise - Delphi 2007 Entreprise - Delphi 2010 Architecte - Delphi XE Entreprise - Delphi XE7 Entreprise - Delphi 10 Entreprise - Delphi 10.4.2 Entreprise - Delphi 11.3 Entreprise - Visual studio 2022
OpenGL 2.1 - Oracle 10g - Paradox - Interbase (XE) - PostgreSQL (15.7)
Partager