Click here to Skip to main content
15,913,055 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to identify an EXE is whether a COM component or Not Pin
Chris Losinger10-Sep-08 7:00
professionalChris Losinger10-Sep-08 7:00 
GeneralRe: How to identify an EXE is whether a COM component or Not Pin
Michael Dunn10-Sep-08 11:31
sitebuilderMichael Dunn10-Sep-08 11:31 
GeneralRe: How to identify an EXE is whether a COM component or Not Pin
Chris Losinger10-Sep-08 11:51
professionalChris Losinger10-Sep-08 11:51 
GeneralRe: How to identify an EXE is whether a COM component or Not Pin
NiceNaidu10-Sep-08 18:35
NiceNaidu10-Sep-08 18:35 
QuestionDual monitor, pop up window goes to primary display Pin
logiqworks10-Sep-08 3:02
logiqworks10-Sep-08 3:02 
AnswerRe: Dual monitor, pop up window goes to primary display Pin
SandipG 10-Sep-08 3:29
SandipG 10-Sep-08 3:29 
GeneralRe: Dual monitor, pop up window goes to primary display Pin
logiqworks10-Sep-08 4:50
logiqworks10-Sep-08 4:50 
GeneralRe: Dual monitor, pop up window goes to primary display Pin
logiqworks10-Sep-08 5:01
logiqworks10-Sep-08 5:01 
Hi Sandip,

I tried CenterWindow(GetParent()). But it doesn't work. The pop up window is still in the primary display, while the main application window is in the secondary display. I do it in this way:
wnd->CreateEx(menuAlwaysOnTop ? (WS_EX_TOPMOST | WS_EX_TOOLWINDOW) :
WS_EX_TOOLWINDOW,
AfxRegisterWndClass(CS_NOCLOSE), "MenuWindow",
WS_POPUP, rect, parent, 0, NULL);
wnd->CenterWindow(parent->GetParent());

Does it mean the "parent" is not the real main window? or CenterWindow() doesn't work? Actually the position of the pop up window is same as before.


Best,
GeneralRe: Dual monitor, pop up window goes to primary display Pin
vishalmore10-Sep-08 20:05
vishalmore10-Sep-08 20:05 
GeneralRe: Dual monitor, pop up window goes to primary display Pin
logiqworks10-Sep-08 21:58
logiqworks10-Sep-08 21:58 
GeneralRe: Dual monitor, pop up window goes to primary display Pin
SandipG 10-Sep-08 20:21
SandipG 10-Sep-08 20:21 
GeneralRe: Dual monitor, pop up window goes to primary display Pin
logiqworks10-Sep-08 21:56
logiqworks10-Sep-08 21:56 
GeneralRe: Dual monitor, pop up window goes to primary display Pin
SandipG 10-Sep-08 22:46
SandipG 10-Sep-08 22:46 
GeneralRe: Dual monitor, pop up window goes to primary display Pin
logiqworks10-Sep-08 23:21
logiqworks10-Sep-08 23:21 
GeneralRe: Dual monitor, pop up window goes to primary display Pin
SandipG 10-Sep-08 23:34
SandipG 10-Sep-08 23:34 
GeneralRe: Dual monitor, pop up window goes to primary display Pin
logiqworks10-Sep-08 23:58
logiqworks10-Sep-08 23:58 
Questionwhat is the message handler event for enter key press of ClistCtrl item Pin
Dhiraj kumar Saini10-Sep-08 1:56
Dhiraj kumar Saini10-Sep-08 1:56 
QuestionRe: what is the message handler event for enter key press of ClistCtrl item Pin
David Crow10-Sep-08 3:48
David Crow10-Sep-08 3:48 
QuestionFile Existency Pin
T.RATHA KRISHNAN10-Sep-08 0:55
T.RATHA KRISHNAN10-Sep-08 0:55 
AnswerRe: File Existency Pin
Rajesh R Subramanian10-Sep-08 1:00
professionalRajesh R Subramanian10-Sep-08 1:00 
AnswerRe: File Existency Pin
Jijo.Raj10-Sep-08 1:01
Jijo.Raj10-Sep-08 1:01 
GeneralRe: File Existency Pin
ThatsAlok10-Sep-08 18:41
ThatsAlok10-Sep-08 18:41 
AnswerRe: File Existency Pin
_AnsHUMAN_ 10-Sep-08 1:01
_AnsHUMAN_ 10-Sep-08 1:01 
AnswerRe: File Existency Pin
Rane10-Sep-08 1:09
Rane10-Sep-08 1:09 
GeneralRe: File Existency Pin
Rajesh R Subramanian10-Sep-08 1:14
professionalRajesh R Subramanian10-Sep-08 1:14 

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.