Página 1 de 1

MDI; TComboBoxEx

Publicado: Sab Dic 17, 2005 10:36 am
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

MDI; TComboBoxEx

Publicado: Sab Dic 17, 2005 11:57 am
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
>

MDI; TComboBoxEx

Publicado: Dom Dic 18, 2005 9:35 am
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
>>
>
>