Click here to Skip to main content
15,888,351 members
Home / Discussions / C#
   

C#

 
GeneralRe: Issue regarding Serialization Pin
Le centriste26-Feb-08 4:58
Le centriste26-Feb-08 4:58 
QuestionWriting an Image in Excel Cell Comment using C# Pin
Neeraj Kr26-Feb-08 0:28
Neeraj Kr26-Feb-08 0:28 
QuestionExecuting an EXE Pin
M. J. Jaya Chitra26-Feb-08 0:26
M. J. Jaya Chitra26-Feb-08 0:26 
GeneralRe: Executing an EXE Pin
Luc Pattyn26-Feb-08 0:29
sitebuilderLuc Pattyn26-Feb-08 0:29 
QuestionDraw Text in C# using OpenGL Pin
Yasir Nawazish Ali26-Feb-08 0:18
Yasir Nawazish Ali26-Feb-08 0:18 
GeneralRe: Draw Text in C# using OpenGL Pin
Christoph Menge26-Feb-08 1:05
Christoph Menge26-Feb-08 1:05 
GeneralRe: Draw Text in C# using OpenGL Pin
Yasir Nawazish Ali26-Feb-08 17:15
Yasir Nawazish Ali26-Feb-08 17:15 
GeneralRe: Draw Text in C# using OpenGL Pin
Christoph Menge3-Mar-08 1:04
Christoph Menge3-Mar-08 1:04 
Hi,

the link to NeHe works out for me. If it doesn't work, you might want to google it or visit gamedev.net, which links to NeHe.

As for the code you supplied, I don't see any trouble.

However, the problem might be caused by your update/resize methods. The question is: Under which circumstances do you redraw the screen? You have to do that whenever Windows tells you to do so, because it might have invalidated the screen. This can happen when resizing, minimizing, when another application draws in front of yours or even if a different control receives focus. The latter happens upon click, so make sure you redraw the scene for the events named above.


Chris

"Obstacles are those frightening things you see when you take your Eyes off your aim"
- Henry Ford

Articles 
Blog

GeneralRe: Draw Text in C# using OpenGL Pin
Paul Harsent27-Apr-10 4:52
Paul Harsent27-Apr-10 4:52 
Questionhow to get the network packet size? Pin
Mahmood Abbasi26-Feb-08 0:09
Mahmood Abbasi26-Feb-08 0:09 
GeneralDirectX Sound device Pin
Eduard Keilholz25-Feb-08 22:29
Eduard Keilholz25-Feb-08 22:29 
GeneralExecuting Multiple command on MS_DOS Pin
Sanjitrajbanshi25-Feb-08 21:57
Sanjitrajbanshi25-Feb-08 21:57 
GeneralRe: Executing Multiple command on MS_DOS Pin
Rajesh R Subramanian25-Feb-08 22:21
professionalRajesh R Subramanian25-Feb-08 22:21 
Questionquery for temporary table Pin
Sonia Gupta25-Feb-08 21:16
Sonia Gupta25-Feb-08 21:16 
GeneralRe: query for temporary table Pin
Xmen Real 25-Feb-08 21:25
professional Xmen Real 25-Feb-08 21:25 
QuestionRe: query for temporary table Pin
Sonia Gupta25-Feb-08 21:37
Sonia Gupta25-Feb-08 21:37 
GeneralRe: query for temporary table Pin
N a v a n e e t h25-Feb-08 21:45
N a v a n e e t h25-Feb-08 21:45 
QuestionRe: query for temporary table Pin
Sonia Gupta25-Feb-08 21:58
Sonia Gupta25-Feb-08 21:58 
GeneralRe: query for temporary table Pin
N a v a n e e t h25-Feb-08 22:10
N a v a n e e t h25-Feb-08 22:10 
QuestionRe: query for temporary table Pin
Sonia Gupta25-Feb-08 22:20
Sonia Gupta25-Feb-08 22:20 
GeneralRe: query for temporary table Pin
Christian Graus25-Feb-08 23:12
protectorChristian Graus25-Feb-08 23:12 
AnswerRe: query for temporary table Pin
Xmen Real 25-Feb-08 22:06
professional Xmen Real 25-Feb-08 22:06 
GeneralCopy to ClipBoard Pin
D i x y25-Feb-08 21:11
D i x y25-Feb-08 21:11 
GeneralRe: Copy to ClipBoard Pin
Xmen Real 25-Feb-08 21:18
professional Xmen Real 25-Feb-08 21:18 
GeneralRe: Copy to ClipBoard Pin
D i x y25-Feb-08 21:21
D i x y25-Feb-08 21:21 

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.