Page 1 of 2
Estilo windows 10 en mdichild
Posted: Tue Aug 18, 2015 8:13 am
by mastintin
En una aplicacion con ventanas mdi corriendo en windows 10 la ventana principal se ve con el nuevo estilo windows 10 sin ningún problema ni cambio , sin embargo las ventanas hijas siguen viendose con el estilo windows 7 tanto de bordes como de botones para cerrar o minimizar , etc. La verdad es que queda un poco "raro" . ¿ Alguien sabe como solucionarlo ?
Gracias.
Re: Estilo windows 10 en mdichild
Posted: Tue Aug 18, 2015 8:21 am
by Antonio Linares
Manuel,
Acabo de probar FiveDBU y ocurre como dices.
Supongo que las ventanas MDI child no estan usando el tema correcto.
No se me ocurre como solucionarlo...
Re: Estilo windows 10 en mdichild
Posted: Tue Aug 18, 2015 8:30 am
by mastintin
Re: Estilo windows 10 en mdichild
Posted: Tue Aug 18, 2015 11:17 am
by cnavarro
Re: Estilo windows 10 en mdichild
Posted: Tue Aug 18, 2015 12:10 pm
by mastintin

. Cristobal , puede que fuera así , yo me he negado a usar el windows 8 , así que no se decirte

Re: Estilo windows 10 en mdichild
Posted: Tue Aug 18, 2015 1:53 pm
by Antonio Linares
No sabia que el MDI estuviese "deprecated"...
Re: Estilo windows 10 en mdichild
Posted: Tue Aug 18, 2015 6:04 pm
by mastintin
Antonio Linares wrote:No sabia que el MDI estuviese "deprecated"...
Antonio , yo no estaria tan seguro de eso , en microsoft siguen teniendo documentación de como programar en mdi
https://msdn.microsoft.com/en-us/librar ... .100).aspx
Re: Estilo windows 10 en mdichild
Posted: Wed Aug 19, 2015 7:55 am
by Antonio Linares
Manuel,
Pues entonces es que se les ha olvidado implementarlo
Es posible que lo hagan en próximos builds
Re: Estilo windows 10 en mdichild
Posted: Wed Aug 19, 2015 10:56 am
by mastintin
Antonio. Excel 2010 usa tambien documentos MDI y le pasa exactamante lo mismo ... todo apunta a un bug de windows 10
Re: Estilo windows 10 en mdichild
Posted: Wed Aug 19, 2015 11:51 am
by Antonio Linares
ok, lo arreglarán seguramente

Re: Estilo windows 10 en mdichild
Posted: Wed Aug 19, 2015 12:22 pm
by Rick Lipkin
Manuel
This is a modified Windows 10 theme that I found and use to bring back the Win 8 frame attributes .. Copy and paste this code into notepad and name it AeroLite.theme and copy it to \windows\resources\themes. Go to the screen personalizations, themes and select AeroLite ... you will notice the frames will turn blue and ( hopefully ) your application will not look so washed out.
Rick Lipkin
ps .. you will need to edit the theme to point to your favorite background.
AeroLite.theme
Code: Select all
; Copyright © Microsoft Corp.
[Theme]
DisplayName=Aero Lite
SetLogonBackground=0
; Computer - SHIDI_SERVER
[CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\DefaultIcon]
DefaultValue=%SystemRoot%\System32\imageres.dll,-109
; UsersFiles - SHIDI_USERFILES
[CLSID\{59031A47-3F72-44A7-89C5-5595FE6B30EE}\DefaultIcon]
DefaultValue=%SystemRoot%\System32\imageres.dll,-123
; Network - SHIDI_MYNETWORK
[CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}\DefaultIcon]
DefaultValue=%SystemRoot%\System32\imageres.dll,-25
; Recycle Bin - SHIDI_RECYCLERFULL SHIDI_RECYCLER
[CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\DefaultIcon]
Full=%SystemRoot%\System32\imageres.dll,-54
Empty=%SystemRoot%\System32\imageres.dll,-55
[Control Panel\Cursors]
AppStarting=%SystemRoot%\cursors\aero_working.ani
Arrow=%SystemRoot%\cursors\aero_arrow.cur
Crosshair=
Hand=%SystemRoot%\cursors\aero_link.cur
Help=%SystemRoot%\cursors\aero_helpsel.cur
IBeam=
No=%SystemRoot%\cursors\aero_unavail.cur
NWPen=%SystemRoot%\cursors\aero_pen.cur
SizeAll=%SystemRoot%\cursors\aero_move.cur
SizeNESW=%SystemRoot%\cursors\aero_nesw.cur
SizeNS=%SystemRoot%\cursors\aero_ns.cur
SizeNWSE=%SystemRoot%\cursors\aero_nwse.cur
SizeWE=%SystemRoot%\cursors\aero_ew.cur
UpArrow=%SystemRoot%\cursors\aero_up.cur
Wait=%SystemRoot%\cursors\aero_busy.ani
DefaultValue=Windows Aero
DefaultValue.MUI=@main.cpl,-1020
[Control Panel\Desktop]
Wallpaper=%SystemRoot%\web\wallpaper\Windows\img0.jpg
TileWallpaper=0
WallpaperStyle=10
Pattern=
[VisualStyles]
Path=%ResourceDir%\Themes\Aero\aerolite.msstyles
ColorStyle=NormalColor
Size=NormalSize
AutoColorization=1
[boot]
SCRNSAVE.EXE=
[MasterThemeSelector]
MTSM=RJSPBS
[Sounds]
; IDS_SCHEME_DEFAULT
SchemeName=@%SystemRoot%\System32\mmres.dll,-800
Re: Estilo windows 10 en mdichild
Posted: Fri Dec 23, 2016 12:41 pm
by Carlos Mora
Hola gente,
alguien sabe algo respecto de esta cuestión? Los MDICHILD se siguen viendo con look Vista ¿O solo me pasa a mi?
Si podeis darme una idea de como solucionarlo os lo agradeceré. Sé que no es una cuestion de FW, pero hece que la aplicación se vea al menos incoherente, todo lo demás se pinta perfectamente.
Todas las sugerencias son bienvenidas.
Re: Estilo windows 10 en mdichild
Posted: Fri Dec 23, 2016 3:06 pm
by Antonio Linares
Carlos,
Microsoft deprecated MDI at least 15 years ago and so it's not at all surprising that they have not modified it to match the new style of Windows 10
http://stackoverflow.com/questions/3195 ... windows-10
Tal vez la solución sea crear las MDICHILD sin borde y pintarlo nosotros
Re: Estilo windows 10 en mdichild
Posted: Fri Dec 23, 2016 3:26 pm
by Carlos Mora
Hola Antonio,
había leído el artículo de stackoverflow antes, solo preguntaba por las dudas alguien había encontrado alguna solución. Eso de deprecar y dejarlo ahí es una política un poco peculiar de Microsoft.
Me parece que dibujar el frame es un poco complejo, hay que hacer muchas cosas para reemplazar el comportamiento: maximizar, minimizar, ajustar, etc., y perdemos la comodidad de usar los oTop, oLeft, oClient, etc. Mejor paso a la opcion con tabs, es un poco más fácil y no tengo que reescribir tanto codigo
Gracias , un saludo.
Re: Estilo windows 10 en mdichild
Posted: Fri Dec 23, 2016 3:36 pm
by Antonio Linares
si, es una buena solución
