DWM for windows Vista and PB

Share your advanced PureBasic knowledge/code with the community.
User avatar
luis
Addict
Addict
Posts: 3893
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

Post by luis »

fsw wrote:@SFSxOI
you are using Win32 API, but I thought it's deprecated in Vista. (because it's obsolete)
The System namespace on .NET use win32 api for almost everything (AFAIK).
User avatar
Rescator
Addict
Addict
Posts: 1769
Joined: Sat Feb 19, 2005 5:05 pm
Location: Norway

Post by Rescator »

@SFSxOI
Your DWM_TIMING_INFO structure is wrong,
the correct structure can be seen at http://www.purebasic.fr/english/viewtopic.php?t=38463

(unless I screwed up something, but I'm pretty sure not as the function does not complain about the cbsize)
SFSxOI
Addict
Addict
Posts: 2970
Joined: Sat Dec 31, 2005 5:24 pm
Location: Where ya would never look.....

Post by SFSxOI »

Your correct, it was wrong. I forgot all about updating the post for the correction although I had corrected it in my own code back then. 'sorry bout that, i'll correct it now in the post so people who see it in the future will have the correct info, thanks for pointing that out. :)
User avatar
Rescator
Addict
Addict
Posts: 1769
Joined: Sat Feb 19, 2005 5:05 pm
Location: Norway

Post by Rescator »

My pleassure, and thanks for fixing the original post. There is so little WIN32 DWMAPI info out there, most uses the .NET framework etc. I had to dig a lot on the net to find out the proper structure info.

Check out http://blogs.msdn.com/greg_schechter/default.aspx
He's got quite a few posts on the DWM that might be worth a read. (click the DWM tag on the top right to see all DWM related articles)
AndyMK
Enthusiast
Enthusiast
Posts: 582
Joined: Wed Jul 12, 2006 4:38 pm
Location: UK

Re: DWM for windows Vista and PB

Post by AndyMK »

Is there any way to display the window borderless with the transparent effect?
AndyMK
Enthusiast
Enthusiast
Posts: 582
Joined: Wed Jul 12, 2006 4:38 pm
Location: UK

Re: DWM for windows Vista and PB

Post by AndyMK »

AndyMK wrote:Is there any way to display the window borderless with the transparent effect?
Figured it out, #PB_Window_BorderLess by itself
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Re: DWM for windows Vista and PB

Post by Rook Zimbabwe »

It works in Win7 32bit as well... nice work!
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
User_Russian
Addict
Addict
Posts: 1518
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

Re:

Post by User_Russian »

SFSxOI wrote:OK, finally finished up the wrapper/library. Here is the link for the download:

http://rapidshare.com/files/18271005/vistadwm.zip.html

It will make things a whole lot eaisier. Instructions, examples, an include file, and the wrapper/librray file is in the .zip
File not found.
Maybe at someone he remained on the disk the computer?
Post Reply