Click here to Skip to main content
15,891,033 members
Home / Discussions / C#
   

C#

 
GeneralAssigning text or name of button to variable Pin
eggie516-Jul-03 22:38
eggie516-Jul-03 22:38 
GeneralRe: Assigning text or name of button to variable Pin
fool16-Jul-03 23:39
fool16-Jul-03 23:39 
GeneralRe: Assigning text or name of button to variable Pin
eggie517-Jul-03 10:48
eggie517-Jul-03 10:48 
GeneralConvert HDIB to Bitmap, so close and yet so far Pin
Brendan Tregear16-Jul-03 22:29
Brendan Tregear16-Jul-03 22:29 
GeneralRe: Convert HDIB to Bitmap, so close and yet so far Pin
Stephane Rodriguez.17-Jul-03 3:23
Stephane Rodriguez.17-Jul-03 3:23 
GeneralRe: Convert HDIB to Bitmap, so close and yet so far Pin
J. Dunlap17-Jul-03 8:23
J. Dunlap17-Jul-03 8:23 
GeneralRe: Convert HDIB to Bitmap, so close and yet so far Pin
J. Dunlap17-Jul-03 8:22
J. Dunlap17-Jul-03 8:22 
GeneralRe: Convert HDIB to Bitmap, so close and yet so far Pin
Brendan Tregear17-Jul-03 16:01
Brendan Tregear17-Jul-03 16:01 
Thanks so much for your help!

On the brink of insanity, I stumbled across a solution, from who else but a CodeProject contributor, Thomas. He wrote a Twain interface for .NET that can be found here:
http://www.codeproject.com/dotnet/twaindotnet.asp. His class contains code for extracting a Bitmap from a HBITMAP.

This has certainly been a tough intro to C# for me! I find it strange that the GDI+ library has a FromBITMAPINFO() function that takes a pointer to a BITMAPINFO structure and the bits and returns a new Bitmap object. However, this is not exposed in C#.


GeneralIs that possible Pin
Kerad16-Jul-03 22:18
Kerad16-Jul-03 22:18 
GeneralRe: Is that possible Pin
leppie17-Jul-03 7:23
leppie17-Jul-03 7:23 
GeneralGDI+ help Pin
r916-Jul-03 21:36
r916-Jul-03 21:36 
GeneralRe: GDI+ help Pin
r916-Jul-03 23:01
r916-Jul-03 23:01 
GeneralRe: GDI+ help Pin
J. Dunlap17-Jul-03 8:07
J. Dunlap17-Jul-03 8:07 
GeneralRe: GDI+ help Pin
r917-Jul-03 22:55
r917-Jul-03 22:55 
GeneralRe: GDI+ help Pin
J. Dunlap18-Jul-03 11:38
J. Dunlap18-Jul-03 11:38 
GeneralRe: GDI+ help Pin
r918-Jul-03 12:22
r918-Jul-03 12:22 
GeneralFunction Keys Pin
Riaan van der Westhuizen16-Jul-03 20:40
Riaan van der Westhuizen16-Jul-03 20:40 
GeneralRe: Function Keys Pin
fool16-Jul-03 23:55
fool16-Jul-03 23:55 
GeneralRe: Function Keys Pin
Jim Stewart17-Jul-03 5:18
Jim Stewart17-Jul-03 5:18 
QuestionVertical Text? Pin
peenu16-Jul-03 18:59
peenu16-Jul-03 18:59 
AnswerRe: Vertical Text? Pin
fool17-Jul-03 0:01
fool17-Jul-03 0:01 
GeneralCalling an objects method by an attribute Pin
Ista16-Jul-03 16:45
Ista16-Jul-03 16:45 
GeneralRe: Calling an objects method by an attribute Pin
Anonymous16-Jul-03 16:46
Anonymous16-Jul-03 16:46 
GeneralRe: Calling an objects method by an attribute Pin
Jim Stewart17-Jul-03 5:36
Jim Stewart17-Jul-03 5:36 
GeneralGDI+ performance Pin
peterchen16-Jul-03 14:28
peterchen16-Jul-03 14:28 

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.