How stupid am I being? 
Author Message
 How stupid am I being?

I apologize if this should be obvious... How do you get a
reference to a managed Graphics object (in other words,
the new equivalent of a device context) outside of an
OnPaint method?

-Eric



Sat, 08 May 2004 19:45:39 GMT  
 How stupid am I being?
Eric,

Quote:
>How do you get a
>reference to a managed Graphics object (in other words,
>the new equivalent of a device context) outside of an
>OnPaint method?

Use the CreateGraphics method on the control you want to draw on.

Mattias

===
Mattias Sj?gren (VB MVP)

http://www.msjogren.net/dotnet/



Sat, 08 May 2004 20:29:41 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Am I that stupid ?

2. Am I too stupid to program VBA?

3. How stupid am I being

4. Am I stupid or is it VB? [Recordsets]

5. I am stupid but pleez help me

6. Am I Stupid ???

7. Am I Stupid ?...

8. Am I that stupid?

9. Using MSMAPI ocx: Am I stupid or what?

10. Is the dataCombo control stupid or am I?

11. MDI-problem-am i stupid or is it a bug -2 icons in menubar

12. Am I stupid? :)

 

 
Powered by phpBB® Forum Software