displaying CDialogs and CMenu in Fullscreen Exclusive Mode
2 réponses
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().
Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
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
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)...
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
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
"Christophe Lephay" <christophe-lephay@wanadoo.fr> wrote in message news:<bnlttk$5qu$1@news-reader1.wanadoo.fr>...
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.
"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.