Click here to Skip to main content
15,885,720 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to localize a WinForm at run-time Pin
stancrm18-Apr-07 23:02
stancrm18-Apr-07 23:02 
GeneralRe: How to localize a WinForm at run-time Pin
Mikael Wiberg18-Apr-07 23:24
Mikael Wiberg18-Apr-07 23:24 
AnswerRe: How to localize a WinForm at run-time Pin
Svetlin Panayotov18-Apr-07 23:07
Svetlin Panayotov18-Apr-07 23:07 
GeneralRe: How to localize a WinForm at run-time Pin
Mikael Wiberg18-Apr-07 23:28
Mikael Wiberg18-Apr-07 23:28 
GeneralRe: How to localize a WinForm at run-time Pin
Svetlin Panayotov18-Apr-07 23:51
Svetlin Panayotov18-Apr-07 23:51 
AnswerRe: How to localize a WinForm at run-time Pin
sfk_ers18-Apr-07 23:26
sfk_ers18-Apr-07 23:26 
GeneralRe: How to localize a WinForm at run-time Pin
Mikael Wiberg18-Apr-07 23:29
Mikael Wiberg18-Apr-07 23:29 
QuestionUsing BitBlt to Draw Image Pin
beatles169218-Apr-07 22:11
beatles169218-Apr-07 22:11 
Hi I want to draw an image on the screen and because I want to do it as fast as possible I decide to use BitBlt instead of DrawImage method.
When I use BitBlt to draw the content of the screen on itself everything works fine but when I try to draw an image that is loaded into memory nothing happens.
here's what I do:
<br />
Image image=Image.FromFile(myfilepath);<br />
Graphics imageGraphics=Graphics.FromImage(image);<br />
IntPtr imageHdc=imageGraphics.GetHdc();<br />
BitBlt(screenHdc,screen.Left,screen.Top,screen.Width,screen.Height,imageHdc,0,0,SRCCOPY);<br />
imageGraphics.ReleaseHdc(imageHdc);<br />

Please tell me what should I do?
Thanks a lot
AnswerRe: Using BitBlt to Draw Image Pin
Antony M Kancidrowski19-Apr-07 0:28
Antony M Kancidrowski19-Apr-07 0:28 
AnswerRe: Using BitBlt to Draw Image Pin
Christian Graus19-Apr-07 0:57
protectorChristian Graus19-Apr-07 0:57 
QuestionC# consoleapp [modified] Pin
mhm00118-Apr-07 21:51
mhm00118-Apr-07 21:51 
AnswerRe: C# consoleapp Pin
Guffa18-Apr-07 22:15
Guffa18-Apr-07 22:15 
AnswerRe: C# consoleapp Pin
Colin Angus Mackay18-Apr-07 22:21
Colin Angus Mackay18-Apr-07 22:21 
AnswerRe: C# consoleapp Pin
Svetlin Panayotov18-Apr-07 22:30
Svetlin Panayotov18-Apr-07 22:30 
AnswerRe: C# consoleapp Pin
Guffa18-Apr-07 23:10
Guffa18-Apr-07 23:10 
AnswerRe: C# consoleapp Pin
mhm00118-Apr-07 23:26
mhm00118-Apr-07 23:26 
GeneralRe: C# consoleapp Pin
Guffa19-Apr-07 11:42
Guffa19-Apr-07 11:42 
QuestionDateTimePicker Pin
cocoonwls18-Apr-07 21:50
cocoonwls18-Apr-07 21:50 
AnswerRe: DateTimePicker Pin
samerh18-Apr-07 22:13
samerh18-Apr-07 22:13 
AnswerRe: DateTimePicker Pin
phantanagu18-Apr-07 22:34
phantanagu18-Apr-07 22:34 
AnswerRe: DateTimePicker Pin
Svetlin Panayotov18-Apr-07 22:34
Svetlin Panayotov18-Apr-07 22:34 
AnswerRe: DateTimePicker Pin
cocoonwls19-Apr-07 0:00
cocoonwls19-Apr-07 0:00 
QuestionClass Diagram relation issue [modified] Pin
Saira Tanwir18-Apr-07 21:31
Saira Tanwir18-Apr-07 21:31 
AnswerRe: Class Diagram relation issue Pin
Pete O'Hanlon18-Apr-07 22:25
mvePete O'Hanlon18-Apr-07 22:25 
AnswerRe: Class Diagram relation issue Pin
Saira Tanwir18-Apr-07 22:27
Saira Tanwir18-Apr-07 22:27 

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.