Click here to Skip to main content
16,005,141 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: SetWindowPos() woes Pin
Roger Stoltz29-Nov-06 1:44
Roger Stoltz29-Nov-06 1:44 
QuestionRe: SetWindowPos() woes Pin
prasad_som29-Nov-06 2:43
prasad_som29-Nov-06 2:43 
AnswerRe: SetWindowPos() woes Pin
Roger Stoltz29-Nov-06 4:21
Roger Stoltz29-Nov-06 4:21 
GeneralRe: SetWindowPos() woes Pin
prasad_som29-Nov-06 22:14
prasad_som29-Nov-06 22:14 
GeneralRe: SetWindowPos() woes Pin
Roger Stoltz29-Nov-06 23:27
Roger Stoltz29-Nov-06 23:27 
GeneralRe: SetWindowPos() woes Pin
prasad_som29-Nov-06 23:38
prasad_som29-Nov-06 23:38 
GeneralRe: SetWindowPos() woes Pin
Roger Stoltz30-Nov-06 0:17
Roger Stoltz30-Nov-06 0:17 
AnswerRe: SetWindowPos() woes Pin
CPallini29-Nov-06 1:51
mveCPallini29-Nov-06 1:51 
Have you put the line in the right place (I mean, after the main window has been created...)?
The following code snippet (to show the right place inside the InitInstance) works fine on my system:
// The one and only window has been initialized, so show and update it.
m_pMainWnd->ShowWindow(SW_SHOW);
m_pMainWnd->SetWindowPos( &CWnd::wndTopMost, 10, 10, 110, 110, SWP_NOZORDER);
m_pMainWnd->UpdateWindow();


hope that helps.
Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

QuestionRe: SetWindowPos() woes Pin
David Crow29-Nov-06 2:43
David Crow29-Nov-06 2:43 
QuestionCRecordset Limitation Pin
Pasha829-Nov-06 1:11
Pasha829-Nov-06 1:11 
AnswerRe: CRecordset Limitation [modified] Pin
prasad_som29-Nov-06 2:30
prasad_som29-Nov-06 2:30 
QuestionRe: CRecordset Limitation Pin
David Crow29-Nov-06 2:47
David Crow29-Nov-06 2:47 
AnswerRe: CRecordset Limitation Pin
prasad_som29-Nov-06 2:51
prasad_som29-Nov-06 2:51 
GeneralRe: CRecordset Limitation Pin
Pasha829-Nov-06 3:36
Pasha829-Nov-06 3:36 
GeneralRe: CRecordset Limitation Pin
prasad_som29-Nov-06 22:17
prasad_som29-Nov-06 22:17 
GeneralRe: CRecordset Limitation Pin
Pasha81-Dec-06 19:38
Pasha81-Dec-06 19:38 
QuestionCRecordset Limitation Pin
Pasha829-Nov-06 1:06
Pasha829-Nov-06 1:06 
Questionsockets Pin
69 Bay29-Nov-06 1:01
69 Bay29-Nov-06 1:01 
AnswerRe: sockets Pin
Mark Salsbery29-Nov-06 5:01
Mark Salsbery29-Nov-06 5:01 
Questionhow to use project files inside another project Pin
singersinger29-Nov-06 0:52
singersinger29-Nov-06 0:52 
GeneralRe: how to use project files inside another project Pin
prasad_som29-Nov-06 2:35
prasad_som29-Nov-06 2:35 
Questionbitmaps & buttons in a dialog Pin
69 Bay29-Nov-06 0:51
69 Bay29-Nov-06 0:51 
AnswerRe: bitmaps & buttons in a dialog Pin
Waldermort29-Nov-06 5:06
Waldermort29-Nov-06 5:06 
GeneralRe: bitmaps & buttons in a dialog Pin
69 Bay29-Nov-06 6:23
69 Bay29-Nov-06 6:23 
QuestionNeed some help with recording audio Pin
Jogeboy29-Nov-06 0:47
Jogeboy29-Nov-06 0:47 

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.