PictureBox Help
PictureBox Help
PictureBox Help
PictureBox Help
PictureBox Help
PictureBox Help PictureBox Help PictureBox Help PictureBox Help PictureBox Help PictureBox Help PictureBox Help PictureBox Help
PictureBox Help PictureBox Help
PictureBox Help
Go Back  Xtreme Visual Basic Talk > > > PictureBox Help


Reply
 
Thread Tools Display Modes
  #1  
Old 10-24-2006, 05:00 PM
netpicker9 netpicker9 is offline
Centurion
 
Join Date: Jun 2005
Posts: 127
Default PictureBox Help


Hi,

I have VB6 Code and trying to convert to VB.NET, let me mention my doubts here.

What is equivalent 'AutoRedraw' (VB6 Picture) Property in VB.net PictureBox
What is equivalent 'HDC' (VB6 Picture) Property in VB.net PictureBox
What is equivalent 'ScaleMode' (VB6 Picture) Property in VB.net PictureBox

Any sample code..

Thanks
Reply With Quote
  #2  
Old 10-24-2006, 05:05 PM
Iceplug's Avatar
IceplugPictureBox Help Iceplug is offline
MetaCenturion

Retired Moderator
* Guru *
 
Join Date: Aug 2001
Location: Iowa, USA
Posts: 16,583
Default

There are no equivalents to either:

AutoRedraw is done by you - you have to tell the picturebox to redraw when it has been Invalidated.
hDC, why would you even need it, unless you're doing BitBlt (you could use GDI+ instead)
ScaleMode - they're in pixels - you'll have to do the math if you want anything else.
__________________

Iceplug, USN
Quadrill 1 Quadrill 2 (full) Quadrill 3 JumpCross .NET Website is ALIVE! - DL Platform Tour for VB.NET! Posting Guidelines Hint: Specify your location in your user cp profile if you want compassion!
Reply With Quote
  #3  
Old 10-24-2006, 06:35 PM
netpicker9 netpicker9 is offline
Centurion
 
Join Date: Jun 2005
Posts: 127
Default Hi

Hi,

Thanks for reply..

Example please.
Reply With Quote
  #4  
Old 10-25-2006, 05:07 AM
Iceplug's Avatar
IceplugPictureBox Help Iceplug is offline
MetaCenturion

Retired Moderator
* Guru *
 
Join Date: Aug 2001
Location: Iowa, USA
Posts: 16,583
Default

Of what? Have you tried any of my suggestions yet?
__________________

Iceplug, USN
Quadrill 1 Quadrill 2 (full) Quadrill 3 JumpCross .NET Website is ALIVE! - DL Platform Tour for VB.NET! Posting Guidelines Hint: Specify your location in your user cp profile if you want compassion!
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 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
PictureBox Help
PictureBox Help
PictureBox Help PictureBox Help
PictureBox Help
PictureBox Help
PictureBox Help PictureBox Help PictureBox Help PictureBox Help PictureBox Help PictureBox Help PictureBox Help
PictureBox Help
PictureBox Help
 
PictureBox Help
PictureBox Help
 
-->