Render in PictureBox
Render in PictureBox
Render in PictureBox
Render in PictureBox
Render in PictureBox
Render in PictureBox Render in PictureBox Render in PictureBox Render in PictureBox Render in PictureBox Render in PictureBox Render in PictureBox Render in PictureBox
Render in PictureBox Render in PictureBox
Render in PictureBox
Go Back  Xtreme Visual Basic Talk > > > > Render in PictureBox


Reply
 
Thread Tools Display Modes
  #1  
Old 10-10-2006, 06:53 PM
Moohasha's Avatar
Moohasha Moohasha is offline
Centurion
 
Join Date: Nov 2004
Location: Texas
Posts: 165
Default Render in PictureBox


Anyone know how to render to a PictureBox instead of the main form? I was able to do it in DX8, but that was about 2 years ago and I don't remember how to do it.
__________________
"The whole trouble comes from the fact that there is so much tinkering with software. It is not made in a clean fabrication process, which it should be. What we need, is software engineering." — F.L. Bauer, 1968
Reply With Quote
  #2  
Old 10-13-2006, 03:21 AM
Agwan's Avatar
Agwan Agwan is offline
Freshman
 
Join Date: Nov 2005
Location: Australia
Posts: 45
Default picture box

when creating your device you should be able to specify any windows control handle
__________________
Agwan - EXtremeSolutions
Reply With Quote
  #3  
Old 11-01-2006, 11:28 AM
Moohasha's Avatar
Moohasha Moohasha is offline
Centurion
 
Join Date: Nov 2004
Location: Texas
Posts: 165
Default

I've tried that, just passing a windows control handle instead of the window handle, and it kept returning an error. I'm wondering if there's more you have to do to set DX up to use a control?
__________________
"The whole trouble comes from the fact that there is so much tinkering with software. It is not made in a clean fabrication process, which it should be. What we need, is software engineering." — F.L. Bauer, 1968
Reply With Quote
  #4  
Old 11-02-2006, 07:47 AM
ardman ardman is offline
Contributor
 
Join Date: Jan 2002
Posts: 126
Default

Can you show us your initialising code? Much easier to work out.
__________________
Cheers
Reply With Quote
  #5  
Old 11-18-2006, 08:10 PM
Moohasha's Avatar
Moohasha Moohasha is offline
Centurion
 
Join Date: Nov 2004
Location: Texas
Posts: 165
Default

Well, to be perfectly honest I can get it working in C# now (and VB.Net, consiquently). But my actual project is in C++ and that's where I can't get it to work because it's not managed, so you have to mess around with resources. I guess that's the difference that is causing the problem.
Thanks anyways.
__________________
"The whole trouble comes from the fact that there is so much tinkering with software. It is not made in a clean fabrication process, which it should be. What we need, is software engineering." — F.L. Bauer, 1968
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
Render in PictureBox
Render in PictureBox
Render in PictureBox Render in PictureBox
Render in PictureBox
Render in PictureBox
Render in PictureBox Render in PictureBox Render in PictureBox Render in PictureBox Render in PictureBox Render in PictureBox Render in PictureBox
Render in PictureBox
Render in PictureBox
 
Render in PictureBox
Render in PictureBox
 
-->