Pocket PC Addict Forums



» BoxWave
BoxWave Corporation
» More Resources

Welcome to the Pocket PC Addict Forums!

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, download files, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   Pocket PC Addict Forums > General Discussion > Pocket PC Tips

view more in our Photo Gallery...

Pocket PC Tips You know how it works. But do you what to know how to make it better? Check out some hot tips for the Pocket PC here.

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 10-22-2004, 01:47 PM
Brad Isaac's Avatar
Honorary Addict!
Extraordinary Addict!
 
Join Date: Jan 2002
Location: North Carolina
Posts: 5,193
Downloads: 0
Uploads: 0
Developers: Creating irregularly-shaped windows in CF


Alex Feinman ask developers "why just go with boring rectangles for your Compact Framework windows"? Then shows how to work around the standard window box using an API function SetWindowRgn.
"Introduction
Probably everyone has seen the desktop applications that have a main window shaped irregularly. A good example is Windows Media Player in skinned mode. Another is Intervideo WinDVD player. Not only these apps have custom-shaped main window, but their buttons are also rounded. Wouldn't it be great to do something like this in your next Pocket PC application?
...To approach this we need first to understand how the window shaping is done on the desktop platform. The main force behind all irregularly-shaped windows is the API function SetWindowRgn. By default Window Manager restricts the window painitng routines (both client and non-client) to a rectangular area defined by the return value of the function GetWindowRect.
This is how the regular window display area is related to its client and non-client areas. Non-client area surrounds client area and the display area is their union. "
__________________
Experts say 97% of people get goal setting wrong. Here's how to get it right!
Reply With Quote
Sponsored Links
  #2  
Old 10-23-2004, 01:45 AM
ctitanic's Avatar
Senior Member
Serious Addict!
 
Join Date: Feb 2002
Posts: 419
Downloads: 0
Uploads: 0

brad, it seems to me that you forgot to post the link to the real article.
__________________
www.Tweaks2K2.com
Home of Tweaks2k2
Reply With Quote
  #3  
Old 02-10-2005, 04:12 PM
ctitanic's Avatar
Senior Member
Serious Addict!
 
Join Date: Feb 2002
Posts: 419
Downloads: 0
Uploads: 0

Brad, where is the link?
__________________
www.Tweaks2K2.com
Home of Tweaks2k2
Reply With Quote
  #4  
Old 02-10-2005, 06:06 PM
Brad Isaac's Avatar
Honorary Addict!
Extraordinary Addict!
 
Join Date: Jan 2002
Location: North Carolina
Posts: 5,193
Downloads: 0
Uploads: 0

I don't know why that link disappeared...
Here it is
__________________
Experts say 97% of people get goal setting wrong. Here's how to get it right!
Reply With Quote
  #5  
Old 02-10-2005, 06:24 PM
ctitanic's Avatar
Senior Member
Serious Addict!
 
Join Date: Feb 2002
Posts: 419
Downloads: 0
Uploads: 0

Quote:
Originally Posted by Brad Isaac
I don't know why that link disappeared...
Here it is
Thanks!
__________________
www.Tweaks2K2.com
Home of Tweaks2k2
Reply With Quote
  #6  
Old 02-11-2005, 12:09 AM
Brad Isaac's Avatar
Honorary Addict!
Extraordinary Addict!
 
Join Date: Jan 2002
Location: North Carolina
Posts: 5,193
Downloads: 0
Uploads: 0

__________________
Experts say 97% of people get goal setting wrong. Here's how to get it right!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 01:08 PM.




Content Relevant URLs by vBSEO 3.3.0
All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2006 by Pocket PC Addict