OVH Cloud OVH Cloud

displaying CDialogs and CMenu in Fullscreen Exclusive Mode

2 réponses
Avatar
smaraux
Hello NG,

I would like to display dialogs, such as CMenu and CDialog, over a
fullscreen
exclusive "window".

For example, I have a FS windowwhich is a 3D rendering surface. I
would like to open a CFileDialog on top of it. When I Call
CFileDialog, it displays in background of the fullscreen window.

I precise that I don't have control over main window creation, and
therefore I canot control its WS_EX_TOPMOST and other parameters.

but I control CMenu, CDialogs and potential subclasses.

For the moment, I can display CMenu over the app correctly in openGL
and not in directDraw (menu show seldomly). for CDialog, it always
open in background, even with setForegroundWindow() or SetFocus().

thanks in advance for any clue

Regards

2 réponses

Avatar
Christophe Lephay
sebastien maraux wrote:
Hello NG,

I would like to display dialogs, such as CMenu and CDialog, over a
fullscreen
exclusive "window".

For example, I have a FS windowwhich is a 3D rendering surface. I
would like to open a CFileDialog on top of it. When I Call
CFileDialog, it displays in background of the fullscreen window.

I precise that I don't have control over main window creation, and
therefore I canot control its WS_EX_TOPMOST and other parameters.

but I control CMenu, CDialogs and potential subclasses.

For the moment, I can display CMenu over the app correctly in openGL
and not in directDraw (menu show seldomly). for CDialog, it always
open in background, even with setForegroundWindow() or SetFocus().

thanks in advance for any clue


Tu t'es gouré de langage. Par ailleurs, tu aurais plus de chance dans des
groupes microsoft ou dédiés à la programmation window (hors sujet ici)...

Chris

Avatar
smaraux
"Christophe Lephay" wrote in message news:<bnlttk$5qu$...
sebastien maraux wrote:
Hello NG,

I would like to display dialogs, such as CMenu and CDialog, over a
fullscreen
exclusive "window".

For example, I have a FS windowwhich is a 3D rendering surface. I
would like to open a CFileDialog on top of it. When I Call
CFileDialog, it displays in background of the fullscreen window.

I precise that I don't have control over main window creation, and
therefore I canot control its WS_EX_TOPMOST and other parameters.

but I control CMenu, CDialogs and potential subclasses.

For the moment, I can display CMenu over the app correctly in openGL
and not in directDraw (menu show seldomly). for CDialog, it always
open in background, even with setForegroundWindow() or SetFocus().

thanks in advance for any clue


Tu t'es gouré de langage. Par ailleurs, tu aurais plus de chance dans des
groupes microsoft ou dédiés à la programmation window (hors sujet ici)...

Chris


Oui désolé pour la langue, j'ai un peu dérapé. Question d'habitude.
enfin de toute facon en effet la liste spécialisée
microsoft.public.vc.mfc semble plus appropriée.

Merci quand même

Sebastien