Click here to Skip to main content
16,005,149 members
Home / Discussions / C#
   

C#

 
GeneralRe: How 2 Run exe from Network ? Pin
hdv21214-Nov-07 10:26
hdv21214-Nov-07 10:26 
GeneralRe: How 2 Run exe from Network ? Pin
Dave Kreskowiak14-Nov-07 10:31
mveDave Kreskowiak14-Nov-07 10:31 
GeneralRe: How 2 Run exe from Network ? Pin
led mike14-Nov-07 10:40
led mike14-Nov-07 10:40 
GeneralRe: How 2 Run exe from Network ? Pin
Dave Kreskowiak14-Nov-07 10:56
mveDave Kreskowiak14-Nov-07 10:56 
GeneralRe: How 2 Run exe from Network ? Pin
led mike14-Nov-07 11:07
led mike14-Nov-07 11:07 
QuestionProblems at creating a WordDocument (Unwanted formation) Pin
Dirk Mahlcke14-Nov-07 7:22
Dirk Mahlcke14-Nov-07 7:22 
QuestionHow to paint UserControl or Form directly on host HDC ? Pin
gordon2414-Nov-07 6:08
gordon2414-Nov-07 6:08 
AnswerRe: How to paint UserControl or Form directly on host HDC ? Pin
Skippums14-Nov-07 11:58
Skippums14-Nov-07 11:58 
Could you get the DC for the window using GetDC from Win API, then get the DC for your UserComponent (through the graphics object), and finally use BitBlt to copy the image from your UserComponent class to your target area?

SomeMethod(Graphics yourUserControlGraphicsObject) {
Rectangle mRect = new Rectangle();
IntPtr trgDC = Win32.GetDC(mhWnd);
Win32.GetClientRect(mhWnd, out mRect);
IntPtr srcDC = yourUserControlGraphicsObject.GetHdc();
Win32.BitBlt(trgDC, 0, 0, mRect.Width, mRect.Height, srcDC, 0, 0, Win32.SRCCOPY);
yourUserControlGraphicsObject.ReleaseHdc(srcDC);
Win32.ReleaseDC(trgDC);
}

Does this help?

Jeff
Questionhow to read from idx file Pin
SABhatti14-Nov-07 5:32
SABhatti14-Nov-07 5:32 
AnswerRe: how to read from idx file Pin
led mike14-Nov-07 7:54
led mike14-Nov-07 7:54 
GeneralRe: how to read from idx file Pin
SABhatti14-Nov-07 8:23
SABhatti14-Nov-07 8:23 
GeneralRe: how to read from idx file Pin
led mike14-Nov-07 8:36
led mike14-Nov-07 8:36 
GeneralRe: how to read from idx file Pin
SABhatti14-Nov-07 8:53
SABhatti14-Nov-07 8:53 
GeneralRe: how to read from idx file Pin
led mike14-Nov-07 10:37
led mike14-Nov-07 10:37 
GeneralRe: how to read from idx file Pin
Dave Kreskowiak14-Nov-07 10:58
mveDave Kreskowiak14-Nov-07 10:58 
GeneralRe: how to read from idx file Pin
SABhatti14-Nov-07 11:12
SABhatti14-Nov-07 11:12 
GeneralRe: how to read from idx file Pin
SABhatti14-Nov-07 11:11
SABhatti14-Nov-07 11:11 
QuestionWord Object Model Pin
MarkMokris14-Nov-07 5:23
MarkMokris14-Nov-07 5:23 
AnswerRe: Word Object Model Pin
Slacker00714-Nov-07 5:45
professionalSlacker00714-Nov-07 5:45 
GeneralRe: Word Object Model Pin
Giorgi Dalakishvili14-Nov-07 8:39
mentorGiorgi Dalakishvili14-Nov-07 8:39 
Questiondatagridview - realtime changes Pin
arkiboys14-Nov-07 5:17
arkiboys14-Nov-07 5:17 
AnswerRe: datagridview - realtime changes Pin
il_masacratore14-Nov-07 6:55
il_masacratore14-Nov-07 6:55 
AnswerRe: datagridview - realtime changes Pin
jchalfant14-Nov-07 7:04
jchalfant14-Nov-07 7:04 
Questionopen a save as dialog box Pin
caradri14-Nov-07 5:05
caradri14-Nov-07 5:05 
AnswerRe: open a save as dialog box Pin
Justin Perez14-Nov-07 5:13
Justin Perez14-Nov-07 5:13 

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.