Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Look and Chameleon Technology » FileSel
FileSel [message #7195] Mon, 18 December 2006 10:40 Go to next message
laurice is currently offline  laurice
Messages: 22
Registered: September 2006
Promising Member
Is the FileSel dialog Chameleonized already? If so, how do i enable this on code?


Thanks,

Laurice
Re: FileSel [message #7196 is a reply to message #7195] Mon, 18 December 2006 10:41 Go to previous messageGo to next message
fallingdutch is currently offline  fallingdutch
Messages: 258
Registered: July 2006
Experienced Member
afaik if it is cham'd already you don't have to enable it in code

Bas
Re: FileSel [message #7199 is a reply to message #7196] Mon, 18 December 2006 11:05 Go to previous messageGo to next message
laurice is currently offline  laurice
Messages: 22
Registered: September 2006
Promising Member
i see, but why does my window look like this?index.php?t=getfile&id=401&private=0
Re: FileSel [message #7200 is a reply to message #7199] Mon, 18 December 2006 11:07 Go to previous messageGo to next message
laurice is currently offline  laurice
Messages: 22
Registered: September 2006
Promising Member
when it should look like this? i'm using XP index.php?t=getfile&id=403&private=0

[Updated on: Mon, 18 December 2006 11:09]

Report message to a moderator

Re: FileSel [message #7203 is a reply to message #7200] Mon, 18 December 2006 12:40 Go to previous messageGo to next message
zsolt is currently offline  zsolt
Messages: 698
Registered: December 2005
Location: Budapest, Hungary
Contributor
Use FileSelector instead.
Re: FileSel [message #7207 is a reply to message #7200] Mon, 18 December 2006 13:58 Go to previous messageGo to next message
mirek is currently online  mirek
Messages: 14164
Registered: November 2005
Ultimate Member
BTW, funny, if you closely investigate these pictures, U++ is able to use this particular theme better than XP (see appearance of droplists) Smile

To Laurice: Skinning does not affect whole dialogs, just appearance of widgets. We need FileSel to have something available on all platforms.

Mirek
Re: FileSel [message #7215 is a reply to message #7207] Mon, 18 December 2006 17:19 Go to previous messageGo to next message
laurice is currently offline  laurice
Messages: 22
Registered: September 2006
Promising Member
Sorry for late reply, I investigated CtrlLib package and looked into the FileSel layout, yes it's my bad. Sad

Re: FileSel [message #7252 is a reply to message #7203] Tue, 19 December 2006 15:48 Go to previous messageGo to next message
Ulti is currently offline  Ulti
Messages: 108
Registered: September 2006
Experienced Member
zsolt wrote on Mon, 18 December 2006 06:40

Use FileSelector instead.

FileSelector use old style(98),the underlying API should be new (2000/xp)
Re: FileSel [message #7253 is a reply to message #7252] Tue, 19 December 2006 15:56 Go to previous messageGo to next message
zsolt is currently offline  zsolt
Messages: 698
Registered: December 2005
Location: Budapest, Hungary
Contributor
It uses XP theme if you add a .manifest file to your project.
And additionally, you have to add a .rc file with content, something like:
1 24 "MyProject.manifest"
5555 ICON "MyProject.ico"


The MyProject.manifest is something like this:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly
   xmlns="urn:schemas-microsoft-com:asm.v1"
   manifestVersion="1.0">
<assemblyIdentity
    processorArchitecture="x86"
    version="5.1.0.0"
    type="win32"
    name="MyProject.exe"/>
    <description>MyProject description</description>
    <dependency>
    <dependentAssembly>
    <assemblyIdentity
         type="win32"
         name="Microsoft.Windows.Common-Controls"
         version="6.0.0.0"
         publicKeyToken="6595b64144ccf1df"
         language="*"
         processorArchitecture="x86"/>
    </dependentAssembly>
    </dependency>
</assembly>
Re: FileSel [message #7255 is a reply to message #7253] Tue, 19 December 2006 16:02 Go to previous message
mirek is currently online  mirek
Messages: 14164
Registered: November 2005
Ultimate Member
zsolt wrote on Tue, 19 December 2006 09:56

It uses XP theme if you add a .manifest file to your project.
And additionally, you have to add a .rc file with content, something like:
1 24 "MyProject.manifest"
5555 ICON "MyProject.ico"


The MyProject.manifest is something like this:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly
   xmlns="urn:schemas-microsoft-com:asm.v1"



How user friendly Smile

I guess I will rather change the look of dialog to be more platform -like in the next iteration.

Mirek
Previous Topic: Creating a theme
Next Topic: Chameleon themes
Goto Forum:
  


Current Time: Sat Dec 14 14:43:57 CET 2024

Total time taken to generate the page: 0.03212 seconds