Click here to Skip to main content
16,007,843 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ifstream works, ofstream works, fstream doesn't.. Pin
Bernhard23-Oct-01 20:23
Bernhard23-Oct-01 20:23 
GeneralRe: ifstream works, ofstream works, fstream doesn't.. Pin
markkuk23-Oct-01 20:41
markkuk23-Oct-01 20:41 
QuestionHow Can I set a CDialog's location when it display? Pin
Bing Ding23-Oct-01 4:30
Bing Ding23-Oct-01 4:30 
AnswerRe: How Can I set a CDialog's location when it display? Pin
#realJSOP23-Oct-01 4:50
professional#realJSOP23-Oct-01 4:50 
GeneralRe: How Can I set a CDialog's location when it display? Pin
Bing Ding23-Oct-01 4:57
Bing Ding23-Oct-01 4:57 
GeneralRe: Which line do u put MoveWindow? Pin
Masaaki Onishi23-Oct-01 5:23
Masaaki Onishi23-Oct-01 5:23 
GeneralRe: Which line do u put MoveWindow? Pin
Carlos Antollini23-Oct-01 5:42
Carlos Antollini23-Oct-01 5:42 
GeneralRe: Which line do u put MoveWindow? Pin
Bing Ding23-Oct-01 5:52
Bing Ding23-Oct-01 5:52 
Thanks all.

I have found the reason.

I call the MoveWindow function with parameters (0,0,200,200),
if i change it to (1,1,200,200).it will locate rightly.

if the first and the second parameters are both zero
then this function will only modified the Dialog's Width and Height,don't modified the window's left_top corner coordinate

but how i enforce the dialog move to (0,0) ?
GeneralRe: Which line do u put MoveWindow? Pin
#realJSOP23-Oct-01 6:14
professional#realJSOP23-Oct-01 6:14 
GeneralRe: Which line do u put MoveWindow? Pin
Carlos Antollini23-Oct-01 6:14
Carlos Antollini23-Oct-01 6:14 
GeneralRe: Which line do u put MoveWindow? Pin
#realJSOP23-Oct-01 6:10
professional#realJSOP23-Oct-01 6:10 
AnswerRe: How Can I set a CDialog's location when it display? Pin
Michael Dunn23-Oct-01 9:36
sitebuilderMichael Dunn23-Oct-01 9:36 
Generalusing #import Pin
23-Oct-01 4:19
suss23-Oct-01 4:19 
GeneralRe: using #import Pin
Steen Krogsgaard23-Oct-01 4:22
Steen Krogsgaard23-Oct-01 4:22 
GeneralRe: using #import Pin
23-Oct-01 21:40
suss23-Oct-01 21:40 
GeneralMessage Mapping Pin
Chambers23-Oct-01 4:16
Chambers23-Oct-01 4:16 
GeneralRe: Message Mapping Pin
Steen Krogsgaard23-Oct-01 4:20
Steen Krogsgaard23-Oct-01 4:20 
GeneralRe: Message Mapping Pin
Chambers23-Oct-01 4:28
Chambers23-Oct-01 4:28 
GeneralRe: Message Mapping Pin
Steen Krogsgaard23-Oct-01 4:38
Steen Krogsgaard23-Oct-01 4:38 
QuestionCan anybody help me,please? Pin
Daniel Visan23-Oct-01 3:13
Daniel Visan23-Oct-01 3:13 
AnswerRe: Can anybody help me,please? Pin
Daniel Visan23-Oct-01 3:20
Daniel Visan23-Oct-01 3:20 
GeneralPLEASE, STOP SENDING ME FILES!!!!! Pin
Daniel Visan23-Oct-01 3:53
Daniel Visan23-Oct-01 3:53 
GeneralRe: PLEASE, STOP SENDING ME FILES!!!!! Pin
Christian Graus23-Oct-01 9:39
protectorChristian Graus23-Oct-01 9:39 
GeneralMutiple language Pin
23-Oct-01 2:43
suss23-Oct-01 2:43 
GeneralRe: Mutiple language Pin
Tomasz Sowinski23-Oct-01 2:53
Tomasz Sowinski23-Oct-01 2:53 

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.