Click here to Skip to main content
15,920,896 members
Home / Discussions / C#
   

C#

 
GeneralRe: LOC Question Pin
Nick Parker3-Apr-04 4:37
protectorNick Parker3-Apr-04 4:37 
Generalmultiframe gif Pin
Stephane David3-Apr-04 1:40
Stephane David3-Apr-04 1:40 
GeneralRe: multiframe gif Pin
Heath Stewart3-Apr-04 4:29
protectorHeath Stewart3-Apr-04 4:29 
GeneralRe: multiframe gif Pin
Stephane David3-Apr-04 5:06
Stephane David3-Apr-04 5:06 
GeneralRe: multiframe gif Pin
Heath Stewart3-Apr-04 6:09
protectorHeath Stewart3-Apr-04 6:09 
GeneralRe: multiframe gif Pin
Stephane David3-Apr-04 7:28
Stephane David3-Apr-04 7:28 
GeneralProblem using Device Handle with P/Invoke methods Pin
Tristan Rhodes3-Apr-04 0:46
Tristan Rhodes3-Apr-04 0:46 
GeneralRe: Problem using Device Handle with P/Invoke methods Pin
Heath Stewart3-Apr-04 3:33
protectorHeath Stewart3-Apr-04 3:33 
Why are you creating a Graphics object from the parent? Each control when painted has its own device context, so you're actually trying to paint in the parent's device context which probably wouldn't do anything. Get the HDC from the Graphics object in the PaintEventArgs passed to you in OnPaint (or the Paint event if not in a derivative class).

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Problem using Device Handle with P/Invoke methods Pin
Tristan Rhodes3-Apr-04 4:14
Tristan Rhodes3-Apr-04 4:14 
GeneralRe: Problem using Device Handle with P/Invoke methods Pin
Heath Stewart3-Apr-04 4:32
protectorHeath Stewart3-Apr-04 4:32 
GeneralRe: Problem using Device Handle with P/Invoke methods Pin
leppie3-Apr-04 6:35
leppie3-Apr-04 6:35 
GeneralShutting Down Windows Pin
Nagendra Kamath K2-Apr-04 23:32
Nagendra Kamath K2-Apr-04 23:32 
GeneralRe: Shutting Down Windows Pin
Dave Kreskowiak3-Apr-04 2:11
mveDave Kreskowiak3-Apr-04 2:11 
Questionhow to open and edit DICOM images and c# Pin
durukan2-Apr-04 22:45
durukan2-Apr-04 22:45 
AnswerRe: how to open and edit DICOM images and c# Pin
chrixian2-Apr-04 23:25
chrixian2-Apr-04 23:25 
AnswerRe: how to open and edit DICOM images and c# Pin
Dave Kreskowiak3-Apr-04 2:16
mveDave Kreskowiak3-Apr-04 2:16 
QuestionHow to Get Keyboard Control Pin
Member 6910892-Apr-04 19:44
Member 6910892-Apr-04 19:44 
AnswerRe: How to Get Keyboard Control Pin
Heath Stewart3-Apr-04 3:28
protectorHeath Stewart3-Apr-04 3:28 
GeneralBlock Size & Key Size - Crypto Algorithm Pin
Danial Cox2-Apr-04 19:04
Danial Cox2-Apr-04 19:04 
GeneralRe: Block Size & Key Size - Crypto Algorithm Pin
Heath Stewart3-Apr-04 3:24
protectorHeath Stewart3-Apr-04 3:24 
GeneralBuilding a reference to a control with a string Pin
mironos2-Apr-04 14:34
mironos2-Apr-04 14:34 
GeneralRe: Building a reference to a control with a string Pin
Dave Kreskowiak2-Apr-04 15:40
mveDave Kreskowiak2-Apr-04 15:40 
Generalrouter simulator code Pin
mbdcisco2-Apr-04 14:08
mbdcisco2-Apr-04 14:08 
GeneralRe: router simulator code Pin
leppie2-Apr-04 20:17
leppie2-Apr-04 20:17 
GeneralDataSet not getting updated Pin
MeterMan2-Apr-04 12:22
MeterMan2-Apr-04 12:22 

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.