Click here to Skip to main content
15,890,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to keep rendering during user-input Pin
Led9-Jul-03 12:51
Led9-Jul-03 12:51 
GeneralRe: How to keep rendering during user-input Pin
Neville Franks9-Jul-03 13:08
Neville Franks9-Jul-03 13:08 
GeneralRe: How to keep rendering during user-input Pin
Led9-Jul-03 13:40
Led9-Jul-03 13:40 
GeneralRe: How to keep rendering during user-input Pin
Led9-Jul-03 13:51
Led9-Jul-03 13:51 
GeneralRe: How to keep rendering during user-input Pin
Neville Franks9-Jul-03 15:35
Neville Franks9-Jul-03 15:35 
GeneralRe: How to keep rendering during user-input Pin
Ryan Binns9-Jul-03 17:05
Ryan Binns9-Jul-03 17:05 
GeneralRe: How to keep rendering during user-input Pin
Neville Franks9-Jul-03 18:01
Neville Franks9-Jul-03 18:01 
GeneralModeless dialog with Child style Pin
DionChen9-Jul-03 10:04
DionChen9-Jul-03 10:04 
Hi, all:

I have an odd problem that I have been experiencing. I create a simple Dialog-base application and then add two buttons to it. Each button click calls creates a MODELESS dialog. I have a big OK button on each dialog and the OK button overlaps some. If I set both modeless dialog style in Resource Editor to Popup, everything works fine. If I change the style to Child, then the problems come in. Click on Button 1 to create Dialog Num1. Click on OK button on Dialog Num1 , the button on the main dialog gets the click, seems like the MODELESS dialog is behind the main dialog, even though visually it is on top. Also, Click on button 1 to create Dialog Num 1 and then click on Button 2 to create Dialog Num 2. If I don't move the dialogs, when I click on the OK button on Dialog Num 2, the message for button clicking goes to Dialog Num1 which is create first and underneath of Dialog Num2. It seems that Dialog Num 1 is on top of the Dialog Num 2, even though visually otherwise. Another issue is when those dialog get moved, the redraw does not work correcly. I tried use SetWindowpos with WndTop or WndTopMost, it does not affect the result. I try to use MoveWindow, SetFocus, same thing.

Is this a MFC bug, or simply the MODELESS dialog can not have Child style.

Any help or suggestion is highly apprecaited. thanks in advance.

Dion
GeneralRe: Modeless dialog with Child style Pin
Toni789-Jul-03 13:04
Toni789-Jul-03 13:04 
GeneralPrinting PDF SDK Pin
OBRon9-Jul-03 9:39
OBRon9-Jul-03 9:39 
GeneralAggrivating Dialog Problem Pin
Null Monkey9-Jul-03 8:59
Null Monkey9-Jul-03 8:59 
GeneralRe: Aggrivating Dialog Problem Pin
Toni789-Jul-03 13:07
Toni789-Jul-03 13:07 
GeneralRe: Aggrivating Dialog Problem Pin
Null Monkey10-Jul-03 4:29
Null Monkey10-Jul-03 4:29 
GeneralRe: Aggrivating Dialog Problem Pin
Toni7810-Jul-03 17:53
Toni7810-Jul-03 17:53 
GeneralLink Error: Please help me out Pin
lsanil9-Jul-03 8:17
lsanil9-Jul-03 8:17 
GeneralRe: Link Error: Please help me out Pin
John M. Drescher9-Jul-03 8:33
John M. Drescher9-Jul-03 8:33 
GeneralRe: Link Error: Please help me out Pin
lsanil9-Jul-03 8:38
lsanil9-Jul-03 8:38 
GeneralRe: Link Error: Please help me out Pin
Keith D9-Jul-03 8:34
Keith D9-Jul-03 8:34 
GeneralNavigate(url) in OnTitleChange Pin
vishkhush9-Jul-03 8:05
vishkhush9-Jul-03 8:05 
GeneralBrowse Informaiton (BSC) Files Pin
compiler9-Jul-03 7:44
compiler9-Jul-03 7:44 
GeneralRe: Browse Informaiton (BSC) Files Pin
Neville Franks9-Jul-03 12:23
Neville Franks9-Jul-03 12:23 
GeneralRe: Browse Informaiton (BSC) Files Pin
compiler10-Jul-03 6:38
compiler10-Jul-03 6:38 
Generalmouse event Pin
andyg.1019-Jul-03 7:26
andyg.1019-Jul-03 7:26 
GeneralRe: mouse event Pin
Keith D9-Jul-03 7:33
Keith D9-Jul-03 7:33 
GeneralRe: mouse event Pin
andyg.1019-Jul-03 8:39
andyg.1019-Jul-03 8:39 

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.