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

C / C++ / MFC

 
QuestionSetWindowPos() basic question Pin
PatrykDabrowski14-Jan-07 7:14
PatrykDabrowski14-Jan-07 7:14 
AnswerRe: SetWindowPos() basic question Pin
PJ Arends14-Jan-07 7:28
professionalPJ Arends14-Jan-07 7:28 
GeneralRe: SetWindowPos() basic question Pin
PatrykDabrowski14-Jan-07 7:44
PatrykDabrowski14-Jan-07 7:44 
AnswerRe: SetWindowPos() basic question Pin
CPallini14-Jan-07 7:43
mveCPallini14-Jan-07 7:43 
GeneralRe: SetWindowPos() basic question Pin
PatrykDabrowski14-Jan-07 8:04
PatrykDabrowski14-Jan-07 8:04 
GeneralRe: SetWindowPos() basic question Pin
CPallini14-Jan-07 8:51
mveCPallini14-Jan-07 8:51 
GeneralRe: SetWindowPos() basic question Pin
PatrykDabrowski14-Jan-07 9:06
PatrykDabrowski14-Jan-07 9:06 
AnswerRe: SetWindowPos() basic question [modified] Pin
Mark Salsbery14-Jan-07 7:43
Mark Salsbery14-Jan-07 7:43 
PatrykDabrowski wrote:
How to setup window's position before it is shown?


You could override PreCreateWindow().

In the override, call the base class PreCreateWindow() then change the x,y,cx,cy members of the
passed CREATESTRUCT.


Or not for a dialog Smile | :)

Mark



-- modified at 13:51 Sunday 14th January, 2007
AnswerRe: SetWindowPos() basic question Pin
Michael Dunn14-Jan-07 9:52
sitebuilderMichael Dunn14-Jan-07 9:52 
GeneralRe: SetWindowPos() basic question Pin
PatrykDabrowski14-Jan-07 10:03
PatrykDabrowski14-Jan-07 10:03 
AnswerRe: SetWindowPos() basic question Pin
#realJSOP14-Jan-07 23:31
mve#realJSOP14-Jan-07 23:31 
Questionifstream problem Pin
gxkendall14-Jan-07 6:39
gxkendall14-Jan-07 6:39 
AnswerRe: ifstream problem Pin
CPallini14-Jan-07 6:57
mveCPallini14-Jan-07 6:57 
GeneralRe: ifstream problem Pin
gxkendall14-Jan-07 6:59
gxkendall14-Jan-07 6:59 
QuestionRe: ifstream problem Pin
CPallini14-Jan-07 7:21
mveCPallini14-Jan-07 7:21 
AnswerRe: ifstream problem Pin
gxkendall14-Jan-07 7:32
gxkendall14-Jan-07 7:32 
AnswerRe: ifstream problem Pin
Michael Dunn14-Jan-07 8:55
sitebuilderMichael Dunn14-Jan-07 8:55 
GeneralRe: ifstream problem Pin
gxkendall14-Jan-07 8:56
gxkendall14-Jan-07 8:56 
GeneralRe: ifstream problem Pin
Michael Dunn14-Jan-07 9:54
sitebuilderMichael Dunn14-Jan-07 9:54 
GeneralRe: ifstream problem Pin
CPallini14-Jan-07 10:47
mveCPallini14-Jan-07 10:47 
GeneralRe: ifstream problem Pin
gxkendall14-Jan-07 11:22
gxkendall14-Jan-07 11:22 
GeneralRe: ifstream problem Pin
Michael Dunn14-Jan-07 14:21
sitebuilderMichael Dunn14-Jan-07 14:21 
GeneralRe: ifstream problem Pin
PJ Arends14-Jan-07 15:00
professionalPJ Arends14-Jan-07 15:00 
GeneralRe: ifstream problem Pin
Michael Dunn14-Jan-07 15:17
sitebuilderMichael Dunn14-Jan-07 15:17 
GeneralRe: ifstream problem Pin
CPallini15-Jan-07 9:15
mveCPallini15-Jan-07 9:15 

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.