In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

MDI; TComboBoxEx

Foro público de Xailer en español
Responder
Ingo
Mensajes: 330
Registrado: Mié Jul 05, 2006 3:58 pm

MDI; TComboBoxEx

Mensaje por Ingo »

Hello,
for example the MDI-frame-window-title is "orders" and the new MDIchild
title is "year 2005"; after maximizing the MDIchild the title of the
MDIframe window is "orders - [year 2005]". When the title of the childwindow
is changed to "february 2005" the MDI shows still the old title till the
child is resized and maximized again. Then the MDI-frame shows the correct
title "orders - [february 2005]".
1. How to force showing the new MDI-frame-title after changing the title of
the maximized MDIchild window without to resize the childwindow?
2. Is there any description of TComboBoxEx?
3. IDE: After placing the TComboBoxEx control on a form how to move it?
Regards
Ingo
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9463
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

MDI; TComboBoxEx

Mensaje por ignacio »

Ingo,
> 1. How to force showing the new MDI-frame-title after changing the title
> of the maximized MDIchild window without to resize the childwindow?
That functionality is provided directly by the Windows API. Is obvious that
the Microsoft team did not take care what to do when a maximized child
window's caption was changed.
Maybe if you send the maximize message manually it solves the problem:
oForm:oMdiClient:SendMessage( oChildWindow:Handle, WM_MDIMAXIMIZE, 0 )
> 2. Is there any description of TComboBoxEx?
>
> 3. IDE: After placing the TComboBoxEx control on a form how to move it?
The TComboBoxEx is useless, it will probabiliy be out of the IDE on next
pre-release until is completely finished. I recommend you use a Treeview
control with no branches and no lines, it will give you greater
functionality.
Regards,
"Ingo" <ingo.jh@web.de> escribió en el mensaje
news:43a3dc38$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
> Hello,
>
> for example the MDI-frame-window-title is "orders" and the new MDIchild
> title is "year 2005"; after maximizing the MDIchild the title of the
> MDIframe window is "orders - [year 2005]". When the title of the
> childwindow is changed to "february 2005" the MDI shows still the old
> title till the child is resized and maximized again. Then the MDI-frame
> shows the correct title "orders - [february 2005]".
>
> 1. How to force showing the new MDI-frame-title after changing the title
> of the maximized MDIchild window without to resize the childwindow?
>
> 2. Is there any description of TComboBoxEx?
>
> 3. IDE: After placing the TComboBoxEx control on a form how to move it?
>
> Regards
>
> Ingo
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Ingo
Mensajes: 330
Registrado: Mié Jul 05, 2006 3:58 pm

MDI; TComboBoxEx

Mensaje por Ingo »

Ignacio,
calling :SendMsg(oChildWindow:Handle, WM_MDIMAXIMIZE, 0 ) doesn't help but I
solved the problem with inserting "ProcessMessages()" behind the line in
which the Childwindow caption is changed.
BTW I'm missing "ProcessMessages()" in the Xailer documentation.
Regards
>> 1. How to force showing the new MDI-frame-title after changing the title
>> of the maximized MDIchild window without to resize the childwindow?
>
> That functionality is provided directly by the Windows API. Is obvious
> that the Microsoft team did not take care what to do when a maximized
> child window's caption was changed.
>
> Maybe if you send the maximize message manually it solves the problem:
>
> oForm:oMdiClient:SendMessage( oChildWindow:Handle, WM_MDIMAXIMIZE, 0 )
>
>> 2. Is there any description of TComboBoxEx?
>>
>> 3. IDE: After placing the TComboBoxEx control on a form how to move it?
>
> The TComboBoxEx is useless, it will probabiliy be out of the IDE on next
> pre-release until is completely finished. I recommend you use a Treeview
> control with no branches and no lines, it will give you greater
> functionality.
>
> Regards,
>
> "Ingo" <ingo.jh@web.de> escribió en el mensaje
> news:43a3dc38$[email=1@ozsrvnegro.ozlan.local...]1@ozsrvnegro.ozlan.local...[/email]
>> Hello,
>>
>> for example the MDI-frame-window-title is "orders" and the new MDIchild
>> title is "year 2005"; after maximizing the MDIchild the title of the
>> MDIframe window is "orders - [year 2005]". When the title of the
>> childwindow is changed to "february 2005" the MDI shows still the old
>> title till the child is resized and maximized again. Then the MDI-frame
>> shows the correct title "orders - [february 2005]".
>>
>> 1. How to force showing the new MDI-frame-title after changing the title
>> of the maximized MDIchild window without to resize the childwindow?
>>
>> 2. Is there any description of TComboBoxEx?
>>
>> 3. IDE: After placing the TComboBoxEx control on a form how to move it?
>>
>> Regards
>>
>> Ingo
>>
>
>
Responder