Some problems after the WIN10 - update

Post Reply
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Some problems after the WIN10 - update

Post by ukoenig »

Hello,

yesterday I updated to WIN 10

All compiled and new compiled windows and dialogs changed

Titles are not centered anymore
All borders are missing
Titletext is light grey and shown on a white background


DEFINE WINDOW oWndMain FROM 5, 5 TO 450, 600 PIXEL ;
TITLE SPACE(50) + cPaintTitle MENU TMenu():New() ; // defined spaces to force a centered title
STYLE nOr( WS_CAPTION, WS_THICKFRAME ) // IGNORED !!!

Image

any idea what is wrong ?

best regards
Uwe :?:
Last edited by ukoenig on Fri Aug 07, 2015 1:58 pm, edited 2 times in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
LordJonas
Posts: 35
Joined: Wed Jun 30, 2010 8:04 pm

Re: Some problems after the WIN10 - update

Post by LordJonas »

Hi there...

If i'm not wrong the Windows UI API has changed quite a lot.

Take for example a look at those links:

https://msdn.microsoft.com/en-us/library/dn894631.aspx

http://www.microsoftvirtualacademy.com/ ... windows-10
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Some problems after the WIN10 - update

Post by Antonio Linares »

Uwe,

Your example is working fine here on Windows 10.

Please notice that the Windows border in Windows 10 looks like this and yours:

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: Some problems after the WIN10 - update

Post by ukoenig »

Antonio,

thank You very much

It means a centered title I have to force with left spaces
and the title-background will stay white with NO possible border

best regards
Uwe :?:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
Rick Lipkin
Posts: 2397
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Re: Some problems after the WIN10 - update

Post by Rick Lipkin »

Uwe

I used this theme during the preview program and it restores the Win 8 Aero theme which changes the washed out frames. Save the file and call it AeroLite.theme. Copy the file to \windows\resources\themes. It will then show up under your themes and you can chose it from the themes preference. This theme has limitations and you have to modify it to point to your favorite desktop background.

Rick Lipkin

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
 
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: Some problems after the WIN10 - update

Post by ukoenig »

Rick,

thank You very much
I didn' t think about changing themes as a solution.
I've been just surprised, doing tests after the update.
Now I got back the lightblue headline.
Maybe I can get back the thick frame as well.

Now captured metro-buttons are displayed with a white border.
It would be nice, to have the same effect in my new Metro-app.

Image

best regards
Uwe :D
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
Post Reply