Click here to Skip to main content
15,905,414 members
Home / Discussions / C#
   

C#

 
Questionpersisting graphics Pin
Pyro Joe21-Sep-05 14:17
Pyro Joe21-Sep-05 14:17 
QuestionOpenSSL Wrapper Pin
IsaacB21-Sep-05 12:26
IsaacB21-Sep-05 12:26 
QuestionDataGrid Row Colours Pin
Kayess Tech21-Sep-05 11:35
professionalKayess Tech21-Sep-05 11:35 
AnswerRe: DataGrid Row Colours Pin
Peter Molnar21-Sep-05 14:20
Peter Molnar21-Sep-05 14:20 
GeneralRe: DataGrid Row Colours Pin
Kayess Tech21-Sep-05 14:26
professionalKayess Tech21-Sep-05 14:26 
AnswerRe: DataGrid Row Colours Pin
Mazdak21-Sep-05 22:19
Mazdak21-Sep-05 22:19 
AnswerRe: DataGrid Row Colours Pin
zaboboa22-Sep-05 2:53
zaboboa22-Sep-05 2:53 
QuestionDirectX to .NET Bitmap object Pin
elf2321-Sep-05 11:11
elf2321-Sep-05 11:11 
I'm not sure if this is the forum to post this question, but I would be very appreciative if someone could point me in the right direction.

I'm using Managed DirectX (August 2005 update) to draw 3d graphics using C# as the base language. I'm learning as I go (as usual -- hehe Smile | :) ) and I can't figure out how to do something.

I need to be able to copy the contents of a directX window to the clipboard. When I was using OpenGL, I would get the data into a .NET Bitmap object (by copying pixels over into the BitmapData) and then copy that bitmap object to the clipboard. I can't seem to be able to wrap my head around this concept in DirectX, though...if it's even possible. I've discovered how to save a screenshot to a .bmp file (using the Surface object), but haven't been able to find anything about the clipboard.

Is there a way to get the screenshot into a .NET Bitmap object from DirectX? Has anyone ever done this before?

Thanks for your help.

Erica
Questionhelp with version control Pin
tom_dx21-Sep-05 11:09
tom_dx21-Sep-05 11:09 
AnswerRe: help with version control Pin
Christian Graus21-Sep-05 12:09
protectorChristian Graus21-Sep-05 12:09 
AnswerRe: help with version control Pin
Nick Parker21-Sep-05 17:32
protectorNick Parker21-Sep-05 17:32 
QuestionHow do i read HTML files into a string like .txt files. Pin
Red_Wizard_Shot_The_Food21-Sep-05 11:06
Red_Wizard_Shot_The_Food21-Sep-05 11:06 
AnswerRe: How do i read HTML files into a string like .txt files. Pin
Peter Molnar21-Sep-05 14:14
Peter Molnar21-Sep-05 14:14 
Questionavoid an application closing when calculations are in progress? Pin
bouli21-Sep-05 9:19
bouli21-Sep-05 9:19 
AnswerRe: avoid an application closing when calculations are in progress? Pin
eggie521-Sep-05 9:56
eggie521-Sep-05 9:56 
AnswerRe: avoid an application closing when calculations are in progress? Pin
Peter Molnar21-Sep-05 14:33
Peter Molnar21-Sep-05 14:33 
Questioncalculating Time Interval in C# Pin
majidbhutta21-Sep-05 8:50
majidbhutta21-Sep-05 8:50 
AnswerRe: calculating Time Interval in C# Pin
Dan Neely21-Sep-05 9:01
Dan Neely21-Sep-05 9:01 
QuestionContextMenu Pin
PHDENG8121-Sep-05 8:31
PHDENG8121-Sep-05 8:31 
AnswerRe: ContextMenu Pin
Wjousts21-Sep-05 9:42
Wjousts21-Sep-05 9:42 
QuestionEncoding Problem Pin
Meysam Mahfouzi21-Sep-05 8:13
Meysam Mahfouzi21-Sep-05 8:13 
AnswerRe: Encoding Problem Pin
David Stone21-Sep-05 10:55
sitebuilderDavid Stone21-Sep-05 10:55 
GeneralRe: Encoding Problem Pin
Meysam Mahfouzi21-Sep-05 18:27
Meysam Mahfouzi21-Sep-05 18:27 
Questionconfusion with datatable sorting/finding Pin
melanieab21-Sep-05 7:49
melanieab21-Sep-05 7:49 
AnswerRe: confusion with datatable sorting/finding Pin
Wjousts21-Sep-05 9:52
Wjousts21-Sep-05 9:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.