Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionchild control flickers [modified] Pin
followait5-May-08 22:47
followait5-May-08 22:47 
AnswerRe: child control flicks Pin
Nelek6-May-08 1:55
protectorNelek6-May-08 1:55 
GeneralRe: child control flicks Pin
followait6-May-08 3:40
followait6-May-08 3:40 
GeneralRe: child control flicks Pin
Rajkumar R6-May-08 4:46
Rajkumar R6-May-08 4:46 
GeneralRe: child control flicks Pin
followait6-May-08 13:09
followait6-May-08 13:09 
GeneralRe: child control flicks Pin
followait6-May-08 13:56
followait6-May-08 13:56 
GeneralRe: child control flicks Pin
Rajkumar R6-May-08 23:56
Rajkumar R6-May-08 23:56 
QuestionDoModal() Dialog Position Pin
mehmetned5-May-08 22:19
mehmetned5-May-08 22:19 
I have a dialog and this dialog's domodal function(myDlg->DoModal) is called from another cpp file. I got rectangle of this dialog at the end of the oninitdialog function and a button clicked event after the dialog had been visible but these two rectangle values were different. Does domodal function do something about position of the dialog after oninitdialog function of this dialog?

<br />
other.cpp:<br />
<br />
 myDlg->domodal()<br />
<br />
<br />
myDlg.cpp:<br />
 <br />
myDlg::OnInitDialog<br />
{<br />
 //other code<br />
 ......<br />
 ......<br />
 GetWindowRect(&rect); //  top=29 bottom=221 left=165 right=1033<br />
 //end of function<br />
}<br />
myDlg::ButtonClick //i clicked button while the dialog was on the screen<br />
{<br />
 GetWindowRect(&rect); //  top=431 bottom=623 left=407 right=1275 <br />
}<br />

Why are these two rectangle diffenrent? Thanks.
AnswerRe: DoModal() Dialog Position Pin
Cedric Moonen5-May-08 22:23
Cedric Moonen5-May-08 22:23 
AnswerRe: DoModal() Dialog Position Pin
Nibu babu thomas5-May-08 22:39
Nibu babu thomas5-May-08 22:39 
AnswerRe: DoModal() Dialog Position Pin
wct27-Mar-11 21:00
wct27-Mar-11 21:00 
QuestionHow to find component properties when i hold the object hWnd ? Pin
Yanshof5-May-08 22:09
Yanshof5-May-08 22:09 
AnswerRe: How to find component properties when i hold the object hWnd ? Pin
spsharma6-May-08 0:01
spsharma6-May-08 0:01 
GeneralRe: How to find component properties when i hold the object hWnd ? Pin
Yanshof6-May-08 0:45
Yanshof6-May-08 0:45 
GeneralRe: How to find component properties when i hold the object hWnd ? Pin
Rajkumar R6-May-08 2:40
Rajkumar R6-May-08 2:40 
QuestionProblems with string as member variable Pin
piul5-May-08 22:05
piul5-May-08 22:05 
AnswerRe: Problems with string as member variable Pin
Cedric Moonen5-May-08 22:13
Cedric Moonen5-May-08 22:13 
QuestionRe: Problems with string as member variable Pin
CPallini5-May-08 22:15
mveCPallini5-May-08 22:15 
AnswerRe: Problems with string as member variable Pin
piul5-May-08 22:31
piul5-May-08 22:31 
GeneralRe: Problems with string as member variable Pin
CPallini5-May-08 22:40
mveCPallini5-May-08 22:40 
GeneralRe: Problems with string as member variable Pin
piul5-May-08 23:08
piul5-May-08 23:08 
GeneralRe: Problems with string as member variable Pin
Cedric Moonen5-May-08 23:21
Cedric Moonen5-May-08 23:21 
GeneralRe: Problems with string as member variable Pin
CPallini5-May-08 23:42
mveCPallini5-May-08 23:42 
GeneralRe: Problems with string as member variable Pin
toxcct5-May-08 23:43
toxcct5-May-08 23:43 
AnswerRe: Problems with string as member variable Pin
Nibu babu thomas5-May-08 22:20
Nibu babu thomas5-May-08 22:20 

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.