Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Windos
win32.3rdparty
win32.directx.audio
win32.directx.ddk
win32.directx.graphics
win32.directx.input
win32.directx.managed
win32.directx.misc
win32.directx.networking
win32.directx.sdk
win32.directx.video
win32.dirx.grap.shaders
win32.gdi
win32.international
win32.kernel
win32.messaging
win32.mmedia
win32.networks
win32.ole
win32.rtc
win32.tapi
win32.tapi.beta
win32.tools
win32.ui
win32.wince
win32.wmi
windows.mediacenter
winfx.aero
winfx.announcements
winfx.avalon
winfx.collaboration
winfx.fundamentals
winfx.general
winfx.indigo
winfx.sdk
winfx.winfs
  
 
date: Thu, 3 Jul 2008 09:43:04 -0700,    group: microsoft.public.win32.programmer.directx.graphics        back       


DirectX and dialogbox   
I presently am trying to finish an full screen app which uses dialog boxes 
via DialogBoxParam() call. Unfortunately, one of the dialog boxes refuses to 
fully paint itself at times. In previous version, I have been able to us the 
now defunct FlipToGDISurface() call to fix this in other apps. Can one still 
us a Win32 dialog box in a full screen Directx application (I believe we are 
at DirectX9 or 10)?
date: Thu, 3 Jul 2008 09:43:04 -0700   author:   jpatrcik

Re: DirectX and dialogbox   
[Please do not mail me a copy of your followup]

=?Utf-8?B?anBhdHJjaWs=?=  spake the secret code
 thusly:

>I presently am trying to finish an full screen app which uses dialog boxes 
>via DialogBoxParam() call. Unfortunately, one of the dialog boxes refuses to 
>fully paint itself at times. In previous version, I have been able to us the 
>now defunct FlipToGDISurface() call to fix this in other apps. Can one still 
>us a Win32 dialog box in a full screen Directx application (I believe we are 
>at DirectX9 or 10)?

Generally speaking, Win32 dialog boxes and exclusive mode don't work
well together.   You would be better off restructuring your
application to operate in windowed mode (perhaps with a full-screen
sized window with no decorating frame) if you rely heavily on Win32
dialog boxes.

There is limited compatability with exclusive mode and Win32 dialog
boxes if you construct your device with a GDI compatible back buffer
format.  Use IDirect3DDevice9::SetDialogBoxMode to enable GDI dialog
boxes in a exclusive mode application.  The restrictions imposed by
this operating mode are documented on the reference page for that
method.
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
      <http://www.xmission.com/~legalize/book/download/index.html>

        Legalize Adulthood! <http://blogs.xmission.com/legalize/>
date: Sun, 13 Jul 2008 12:36:22 -0700   author:   legalize+ (Richard [Microsoft Direct3D MVP])

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us