flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
calpol2004 16 Feb 2006, 16:48
someone has given me a link to codeproject where it goes on about a dll called Uxtheme.dll it's all in C++. i think there may be some functions or something in there to change the theme... ill look into it.
|
|||
![]() |
|
calpol2004 16 Feb 2006, 17:02
hmm i've gotten the following functions using reverends apiresolve:
Code: import Uxtheme,\ CloseThemeData,'CloseThemeData',\ DrawThemeBackground,'DrawThemeBackground',\ DrawThemeBackgroundEx,'DrawThemeBackgroundEx',\ DrawThemeEdge,'DrawThemeEdge',\ DrawThemeIcon,'DrawThemeIcon',\ DrawThemeParentBackground,'DrawThemeParentBackground',\ DrawThemeText,'DrawThemeText',\ EnableThemeDialogTexture,'EnableThemeDialogTexture',\ EnableTheming,'EnableTheming',\ GetCurrentThemeName,'GetCurrentThemeName',\ GetThemeAppProperties,'GetThemeAppProperties',\ GetThemeBackgroundContentRect,'GetThemeBackgroundContentRect',\ GetThemeBackgroundExtent,'GetThemeBackgroundExtent',\ GetThemeBackgroundRegion,'GetThemeBackgroundRegion',\ GetThemeBool,'GetThemeBool',\ GetThemeColor,'GetThemeColor',\ GetThemeDocumentationProperty,'GetThemeDocumentationProperty',\ GetThemeEnumValue,'GetThemeEnumValue',\ GetThemeFilename,'GetThemeFilename',\ GetThemeFont,'GetThemeFont',\ GetThemeInt,'GetThemeInt',\ GetThemeIntList,'GetThemeIntList',\ GetThemeMargins,'GetThemeMargins',\ GetThemeMetric,'GetThemeMetric',\ GetThemePartSize,'GetThemePartSize',\ GetThemePosition,'GetThemePosition',\ GetThemePropertyOrigin,'GetThemePropertyOrigin',\ GetThemeRect,'GetThemeRect',\ GetThemeString,'GetThemeString',\ GetThemeSysBool,'GetThemeSysBool',\ GetThemeSysColor,'GetThemeSysColor',\ GetThemeSysColorBrush,'GetThemeSysColorBrush',\ GetThemeSysFont,'GetThemeSysFont',\ GetThemeSysInt,'GetThemeSysInt',\ GetThemeSysSize,'GetThemeSysSize',\ GetThemeSysString,'GetThemeSysString',\ GetThemeTextExtent,'GetThemeTextExtent',\ GetThemeTextMetrics,'GetThemeTextMetrics',\ GetWindowTheme,'GetWindowTheme',\ HitTestThemeBackground,'HitTestThemeBackground',\ IsAppThemed,'IsAppThemed',\ IsThemeActive,'IsThemeActive',\ IsThemeBackgroundPartiallyTransparent,'IsThemeBackgroundPartiallyTransparent',\ IsThemeDialogTextureEnabled,'IsThemeDialogTextureEnabled',\ IsThemePartDefined,'IsThemePartDefined',\ OpenThemeData,'OpenThemeData',\ SetThemeAppProperties,'SetThemeAppProperties',\ SetWindowTheme,'SetWindowTheme',\ SetWindowTheme looks promising however ive got no idea how to use or if it does what i rly want it to do ![]() ![]() |
|||
![]() |
|
calpol2004 16 Feb 2006, 17:32
im quite sure these are the functions im looking for, after doing a google on uxtheme.dll i found page upon page of patches boasting about how they can change your theme and stuff. im still having trouble finding out how to use these functions as some of the parameters of the functions need parameters with CLSID's and allsorts in them
![]() Last edited by calpol2004 on 16 Feb 2006, 17:52; edited 1 time in total |
|||
![]() |
|
calpol2004 16 Feb 2006, 17:48
![]() ![]() |
|||
![]() |
|
okasvi 16 Feb 2006, 23:19
_________________ When We Ride On Our Enemies support reverse smileys |: |
|||
![]() |
|
Reverend 17 Feb 2006, 10:35
calpol2004: I'm really pleased that you use my program
![]() |
|||
![]() |
|
calpol2004 17 Feb 2006, 11:07
im the one that should be thanking you it's come in very useful over the past few months when im trying to find a non-documented function.
I tried EnableTheme and it works the wrong way round, it can change the theme off by using "invoke EnableTheme,0" but it can't turn it back on again with "invoke EnableTheme,1". I've been doing some google searching and i can download custom themes (or make them myself), i've gotten the default windows theme file by just selelcting save as in the display properties, now to set it ![]() EDIT: after researching the function even more the application has to be priveleged....dam. |
|||
![]() |
|
okasvi 17 Feb 2006, 12:07
the point with my post was that in the left hand side you got all documentation to every api you made that include file for
![]() _________________ When We Ride On Our Enemies support reverse smileys |: |
|||
![]() |
|
Plue 18 Feb 2006, 08:52
There is a reason for the setting.
![]() _________________ Roses are red Violets are blue Some poems rhyme And some don't. |
|||
![]() |
|
Madis731 18 Feb 2006, 14:03
(Just my opinion)
I think they hired some children and elderly people to do the design: 1) It looks so colourful with that blue and red - only children can make so primitive designs. 2) They've made it about 10% thicker so it takes all the space on the screen - I'm still young and have my 20:20 vision, My hand is not that shaky that I can't hit a 10x10px square. Please think about the people having "crappy" monitors that only can show 1024x768 picture ![]() ![]() I would understand if they put that childish skin on a XP Home and leave the "classic" on the Pro to make it look PROFESSIONAL and eXPerienced. Strange is that the "silvery" look that some people have doesn't make it any more professional but it looks FAT ![]() |
|||
![]() |
|
calpol2004 05 Mar 2006, 11:18
yep i must admit the win xp style is rather...primitive. however when the xp style was changed at my school to classic and we were not able to change it back...poeple got annoyed. the average computer user for some reason seems to love the winxp style so thats what im going with. i kind of forgotton this project for the last like month after i finished my design. heres my custom UI, try looking at it in WinXP stlye then in classic and you may see what i mean. i myself think i did a decent job at designing it... although i could make the executable 10 times smaller if i used gifs instead of bitmaps....which i've been avoiding doing.
PS: i hope it doesn't look fat.
|
|||||||||||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.