Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / Design Time / October 2004

Tip: Looking for answers? Try searching our database.

Is ther any wrapper framework dll available for gdi32,user32

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
TusharP - 22 Sep 2004 15:34 GMT
Hi Friends,
Is there any similar framework dlls for gdi32.dll, used32.dll.
I want to use following functions
1) GetPixel
2)SetWindowRgn
3)CreateRectRgn
4)CombineRgn
5)SendMessage
6)ReleaseCapture
7)DeleteObject
8)GetRegionDataByte
9)GetRegionDataLong
10)ExtCreateRegionByte
11)OffsetRgn
12)ReleaseDC
13)GetDC
14)CreateCompatibleDC
15)LoadImage
16)GetPixel

I want to use this function to make irregular forms........
I think Calling gdi32 & user32 dll is not good way to achieve this,
Framework must have these functions...
Any body know about this please help me in this regard.

Thanking You
Tushar P.
Tim Wilson - 22 Sep 2004 16:19 GMT
A good way to make irregularly shaped forms and controls is to use the
GraphicsPath and Region classes.

There are a few articles out on the internet that walk through how to create
irregularly shaped windows forms and controls. If you search on google you
should find some more. A fairly simple way to do this is outlined in the
article linked below.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/ht
ml/vbtchShapedWindowsFormsControlsInVisualStudioNET.asp


Signature

Tim Wilson
.Net Compact Framework MVP

<Feedback>
Do have an opinion on the effectiveness of Microsoft Windows Mobile and
Embedded newsgroups?  Let us know!
https://www.windowsembeddedeval.com/community/newsgroups
</Feedback>

> Hi Friends,
>  Is there any similar framework dlls for gdi32.dll, used32.dll.
[quoted text clipped - 28 lines]
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.766 / Virus Database: 513 - Release Date: 17-Sep-04
Felipe Garcia - 18 Oct 2004 23:53 GMT
www.pinvoke.net
HTH

> A good way to make irregularly shaped forms and controls is to use the
> GraphicsPath and Region classes.
[quoted text clipped - 37 lines]
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.766 / Virus Database: 513 - Release Date: 17-Sep-04

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.