Using GDI+ GDIplus in Lebans PictureBox
Using GDI+ GDIplus in Lebans PictureBox
Using GDI+ GDIplus in Lebans PictureBox
Using GDI+ GDIplus in Lebans PictureBox
Using GDI+ GDIplus in Lebans PictureBox
Using GDI+ GDIplus in Lebans PictureBox Using GDI+ GDIplus in Lebans PictureBox Using GDI+ GDIplus in Lebans PictureBox Using GDI+ GDIplus in Lebans PictureBox Using GDI+ GDIplus in Lebans PictureBox Using GDI+ GDIplus in Lebans PictureBox Using GDI+ GDIplus in Lebans PictureBox Using GDI+ GDIplus in Lebans PictureBox
Using GDI+ GDIplus in Lebans PictureBox Using GDI+ GDIplus in Lebans PictureBox
Using GDI+ GDIplus in Lebans PictureBox
Go Back  Xtreme Visual Basic Talk > > > Using GDI+ GDIplus in Lebans PictureBox


Reply
 
Thread Tools Display Modes
  #1  
Old 07-28-2012, 05:26 PM
starrynighter starrynighter is offline
Newcomer
 
Join Date: Jul 2012
Location: Auckland, New Zealand
Posts: 3
Default Using GDI+ GDIplus in Lebans PictureBox


Can anyone show me the necessary initialization (using Graphics, bitmaps, whatever) in Stephen Leban's PictureBox so that I can use GDI+ functions in Access 2003 VBA?

I have attached his Demo PictureBox database (converted to Access 2003 format) or you can find the original here:
NOTE: it is PictureBoxA2K.zip on this page

I want to use GDI+ functions to make (for example) anti-aliased Bezier curves.

NB I am familiar with the DLL definitions and have successfully used GDI+ on other controls - but the PictureBox is the control on which I need to draw.

I am aware there are rules to be obeyed when mixing GDI and GDI+ code. For example:
http://support.microsoft.com/kb/311221

Also, given the above is possible, will it be possible to make a Region of the PictureBox (perhaps using SetWindowRgn()) so that mouse clicks will fall through to rearward controls when clicked in the PictureBox rectangle but outside its region?

Thanks for any comment.
Attached Files
File Type: zip A2KPictureBoxVer35.zip (313.5 KB, 24 views)
Reply With Quote
Reply

Tags
gdi+, gdi32, gdiplus, vba access 2003


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 Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
Using GDI+ GDIplus in Lebans PictureBox
Using GDI+ GDIplus in Lebans PictureBox
Using GDI+ GDIplus in Lebans PictureBox Using GDI+ GDIplus in Lebans PictureBox
Using GDI+ GDIplus in Lebans PictureBox
Using GDI+ GDIplus in Lebans PictureBox
Using GDI+ GDIplus in Lebans PictureBox Using GDI+ GDIplus in Lebans PictureBox Using GDI+ GDIplus in Lebans PictureBox Using GDI+ GDIplus in Lebans PictureBox Using GDI+ GDIplus in Lebans PictureBox Using GDI+ GDIplus in Lebans PictureBox Using GDI+ GDIplus in Lebans PictureBox
Using GDI+ GDIplus in Lebans PictureBox
Using GDI+ GDIplus in Lebans PictureBox
 
Using GDI+ GDIplus in Lebans PictureBox
Using GDI+ GDIplus in Lebans PictureBox
 
-->