Click here to Skip to main content
15,897,273 members
Home / Discussions / Graphics
   

Graphics

 
AnswerRe: Color Separations for Printers Pin
enhzflep27-Dec-10 3:04
enhzflep27-Dec-10 3:04 
QuestionCaptureFrame inside Thread Pin
anki12315-Apr-10 3:19
anki12315-Apr-10 3:19 
AnswerRe: CaptureFrame inside Thread Pin
Member 360140912-Jan-11 0:16
Member 360140912-Jan-11 0:16 
QuestionCreate a gui for linux. Pin
krish_kumar11-Mar-10 18:55
krish_kumar11-Mar-10 18:55 
AnswerRe: Create a gui for linux. [modified] Pin
Saurabh.Garg26-Mar-10 18:50
Saurabh.Garg26-Mar-10 18:50 
QuestionManaged DX vs Unmanaged DX vs XNA Framework Pin
Shelby Robertson 23-Feb-10 4:51
Shelby Robertson 23-Feb-10 4:51 
AnswerRe: Managed DX vs Unmanaged DX vs XNA Framework Pin
ely_bob1-Mar-10 8:35
professionalely_bob1-Mar-10 8:35 
QuestionDirectX: Resoution glitch after switching from fullscreen to windowed mode Pin
Aschratt23-Feb-10 3:51
Aschratt23-Feb-10 3:51 
Hey there Smile | :)

I've got a strange problem... basicly I am writing an .NET (C#) application to render some stuff. By default the rendering works in an panel (Means the device uses the handle of the panel to render stuff there). So now I want to switch to fullscreen mode. Therefor I am creating a window with the size of my test resolution (800x600), release the pointers to the DirectX ressources and reinitialize the device with the window's handle and the fitting presentation parameters (.Windowed = FALSE, .BackBufferWidth/Height = ...). So far so good. It works fine!

Now I want to leave fullscreen mode after the user presses the escape key. I am catching the user input and close the window. The OnFormClosing-Event is connected to an method which does the same procedure descriped above in the other direction. It releases the device ressources and the device, reinitializes it with the panel handle and the presentation parameters (.Windowed = TRUE, BackBufferWidth/Height = 0). And this is the problem! I can see the cursor and how it changes if I am moving it around (and about window borders) but the display stays cleared and the resolution does not change. I don't know whats going wrong there, because if I am using Alt+Tab to select my window containing the panel used for rendering and closing the fullscreen window then everything works fine! (And no the problem also isn't the escape-key or the way it gets checked... this part is working, because the FormClosing-event gets fired.)

Any ideas what could go wrong?
Thanks in advance! Smile | :)
http://www.aschratt.com

AnswerRe: DirectX: Resoution glitch after switching from fullscreen to windowed mode Pin
Luc Pattyn23-Feb-10 4:37
sitebuilderLuc Pattyn23-Feb-10 4:37 
GeneralRe: DirectX: Resoution glitch after switching from fullscreen to windowed mode Pin
Aschratt23-Feb-10 4:43
Aschratt23-Feb-10 4:43 
AnswerRe: DirectX: Resoution glitch after switching from fullscreen to windowed mode Pin
Aschratt23-Feb-10 6:03
Aschratt23-Feb-10 6:03 
QuestionAnyone using Geometric Algebra? Pin
Tim Craig9-Feb-10 12:48
Tim Craig9-Feb-10 12:48 
QuestionSEO vs. GRAPHIC DESIGNS? Pin
hifiger20049-Feb-10 1:14
hifiger20049-Feb-10 1:14 
AnswerRe: SEO vs. GRAPHIC DESIGNS? Pin
LunaticFringe9-Feb-10 7:58
LunaticFringe9-Feb-10 7:58 
AnswerRe: SEO vs. GRAPHIC DESIGNS? Pin
Xmen Real 6-Mar-10 22:35
professional Xmen Real 6-Mar-10 22:35 
AnswerRe: SEO vs. GRAPHIC DESIGNS? Pin
fhdendy22-Mar-10 7:30
fhdendy22-Mar-10 7:30 
Question[OPENGL] render mesh/lighting Pin
yakovm38-Feb-10 19:41
yakovm38-Feb-10 19:41 
AnswerRe: [OPENGL] render mesh/lighting Pin
LunaticFringe9-Feb-10 3:48
LunaticFringe9-Feb-10 3:48 
AnswerRe: [OPENGL] render mesh/lighting Pin
ely_bob2-Mar-10 18:17
professionalely_bob2-Mar-10 18:17 
Questionsharing gl textures qith multple child windows Pin
Jim Crafton1-Feb-10 9:01
Jim Crafton1-Feb-10 9:01 
AnswerRe: sharing gl textures qith multple child windows Pin
LunaticFringe9-Feb-10 4:03
LunaticFringe9-Feb-10 4:03 
GeneralRe: sharing gl textures qith multple child windows Pin
Jim Crafton9-Feb-10 4:04
Jim Crafton9-Feb-10 4:04 
Questionplot a derivative function Pin
fulminatorz30-Jan-10 2:05
fulminatorz30-Jan-10 2:05 
AnswerRe: plot a derivative function Pin
Richard MacCutchan1-Feb-10 9:17
mveRichard MacCutchan1-Feb-10 9:17 
GeneralRe: plot a derivative function Pin
fulminatorz3-Feb-10 5:25
fulminatorz3-Feb-10 5:25 

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.