It is currently Thu May 23, 2013 2:44 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 26 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Wallpaper board
PostPosted: Wed Mar 21, 2012 7:24 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 07, 2007 3:25 pm
Posts: 1573
Location: Berlin, Germany
Hi Michael,

because of your program and its nice looking results, in the meantime I became very interested in programming something like that myself. ;-)
I don't have much experience with graphics programming, and I think this will be fun, and will be good for improving my skills in this field.

Thanks, Little John

_________________
Math problems?
Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x].


Top
 Profile  
 
 Post subject: Re: Wallpaper board
PostPosted: Wed Mar 21, 2012 7:50 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Feb 09, 2006 11:27 pm
Posts: 1716
Little John wrote:
because of your program and its nice looking results,
:oops:

Little John wrote:
... in the meantime I became very interested in programming something like that myself. ;-)
I don't have much experience with graphics programming, and I think this will be fun, and will be good for improving my skills in this field.

Great - if you have to deal with problems, I may be able to help. On the other hand you may solve some issues I still fight with (e.g. font quality) :wink:


Top
 Profile  
 
 Post subject: Re: Wallpaper board
PostPosted: Thu Mar 22, 2012 12:27 am 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 07, 2007 3:25 pm
Posts: 1573
Location: Berlin, Germany
Michael, thanks a lot for your kind offer!

Regards, Little John

_________________
Math problems?
Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x].


Top
 Profile  
 
 Post subject: Re: Wallpaper board
PostPosted: Tue Mar 27, 2012 5:11 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 07, 2007 3:25 pm
Posts: 1573
Location: Berlin, Germany
Michael Vogel wrote:
Great - if you have to deal with problems, I may be able to help. On the other hand you may solve some issues I still fight with (e.g. font quality) :wink:

Currently, the output of my program looks e.g. like this:

Image

So far, I'm satisfied.

But how do you do picture rotation in such a good quality? Are you using procedures that are publicly available (on this forum or elsewhere)?
Font quality seems OK for me so far. But that might be because of my old eyes with bad visual acuity. ;-) :-(

Best regads, Little John

_________________
Math problems?
Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x].


Top
 Profile  
 
 Post subject: Re: Wallpaper board
PostPosted: Tue Mar 27, 2012 6:21 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Feb 09, 2006 11:27 pm
Posts: 1716
Little John wrote:
But how do you do picture rotation in such a good quality? Are you using procedures that are publicly available (on this forum or elsewhere)?
Font quality seems OK for me so far. But that might be because of my old eyes with bad visual acuity. ;-) :-(

Best regads, Little John


Your wallpaper looks good for me as well :wink:

I was also searching within the forum and found some great code from Louis for doing a smooth image rotation. I did some tiny changes for me, but the code base can be found here. It is a brilliant work, even it is not the quickest routine in the world (nessun'optimized it for now) :lol:


Top
 Profile  
 
 Post subject: Re: Wallpaper board
PostPosted: Tue Mar 27, 2012 11:08 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 07, 2007 3:25 pm
Posts: 1573
Location: Berlin, Germany
Michael Vogel wrote:
Your wallpaper looks good for me as well :wink:

Thanks. :-)

Michael Vogel wrote:
I was also searching within the forum and found some great code from Louis for doing a smooth image rotation.

I also used Luis' code, but it did not anti-alias the image border. In the meantime, Luis has explained to me the reason why, and I fixed that issue myself. Graphics programming is a world of its own. :-)

Regards, Little John

_________________
Math problems?
Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x].


Top
 Profile  
 
 Post subject: Re: Wallpaper board
PostPosted: Sat Mar 31, 2012 11:04 am 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 07, 2007 3:25 pm
Posts: 1573
Location: Berlin, Germany
Hi Michael,

how does your program tell Windows to display the newly created wallpaper?

In my program, I tried several ways, e.g. after this code by Sparkie, or using
Code:
SystemParametersInfo_(#SPI_SETDESKWALLPAPER, 0, wallpaperFile$, #SPIF_UPDATEINIFILE)

All my attempts work fine when I start my program manually. However, when I compile the program and put a link to it into the Windows "Autostart" group, my program does never automatically change the desktop wallpaper on Windows startup (Windows XP SP3 32 bit). :-(
When I put a link to your program into the Windows "Autostart" group, it does work as expected. Tell me your secret, please. :-)

Regards, Little John

_________________
Math problems?
Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x].


Top
 Profile  
 
 Post subject: Re: Wallpaper board
PostPosted: Sat Mar 31, 2012 10:51 pm 
Offline
PureBasic Expert
PureBasic Expert
User avatar

Joined: Sat May 17, 2003 11:31 am
Posts: 5808
Have a peek at the source code of WallX. I've tried different ways, and ran into some issues with Windows 7 and Windows Vista, which I've documented as well.

_________________
( PB5.11 Win7 x64 Dell XPS710 Raid 0 VelociRaptor Intel Q6600 nForce 5 NVidia GTS450 )
( You have two options: psychotherapy, or the PureBasic Survival Guide... )


Top
 Profile  
 
 Post subject: Re: Wallpaper board
PostPosted: Sat Mar 31, 2012 11:18 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Feb 09, 2006 11:27 pm
Posts: 1716
I'm on holiday and internet access is not possible most of the time: so just a quick reply, choose a target path for you wallpaper you'll have access guaranteed, like the temp directory.


Top
 Profile  
 
 Post subject: Re: Wallpaper board
PostPosted: Sun Apr 01, 2012 8:10 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 07, 2007 3:25 pm
Posts: 1573
Location: Berlin, Germany
blueznl wrote:
Have a peek at the source code of WallX.

Thanks for the hint. I've replied in detail in the WallX thread.

Michael Vogel wrote:
choose a target path for you wallpaper you'll have access guaranteed, like the temp directory.
I did do so, the cause of the problem must be something else.

Thanks, Little John

_________________
Math problems?
Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x].


Top
 Profile  
 
 Post subject: Re: Wallpaper board
PostPosted: Tue Apr 03, 2012 3:08 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 07, 2007 3:25 pm
Posts: 1573
Location: Berlin, Germany
I solved the "mystery" now. I had completely forgotten that Dexpot (a free utility for virtual desktops) is running on my PC. :oops: :-)
On Windows startup, in rare cases my wallpaper program was launched after Dexpot and everything was fine. But in most cases, on Windows startup at first my wallpaper program was launched, and it changed the desktop wallpaper as it should. But then Dexpot was launched, and it changed the desktop wallpaper again, according to its own settings. :D
The solution simply was to change the Dexpot settings, so that it also uses the bitmap file created by my program as desktop wallpaper. Maybe this report helps someone else to avoid a similar issue.

Regards, Little John

_________________
Math problems?
Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x].


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ]  Go to page Previous  1, 2

All times are UTC + 1 hour


Who is online

Users browsing this forum: Blankname and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye