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

C / C++ / MFC

 
AnswerRe: Problem about deque::push_back Pin
Cedric Moonen25-Sep-08 20:06
Cedric Moonen25-Sep-08 20:06 
Questionwaiting until a window closes (or, check window's state) Pin
Green Fuze25-Sep-08 12:50
Green Fuze25-Sep-08 12:50 
AnswerRe: waiting until a window closes (or, check window's state) Pin
PJ Arends25-Sep-08 20:02
professionalPJ Arends25-Sep-08 20:02 
AnswerRe: waiting until a window closes (or, check window's state) Pin
Joseph Marzbani25-Sep-08 20:22
Joseph Marzbani25-Sep-08 20:22 
GeneralRe: waiting until a window closes (or, check window's state) Pin
Green Fuze26-Sep-08 0:42
Green Fuze26-Sep-08 0:42 
Questionscan code for F1-F12 keys Pin
emmmatty125-Sep-08 8:59
emmmatty125-Sep-08 8:59 
AnswerRe: scan code for F1-F12 keys Pin
Mark Salsbery25-Sep-08 9:26
Mark Salsbery25-Sep-08 9:26 
QuestionSetWindowPos does nothing Pin
Joschwenk66625-Sep-08 7:48
Joschwenk66625-Sep-08 7:48 
Hi,

I try to resize a Custom Control in the OnSize Function of my Views OnSize Function. There is no Error, but nothing happens:

afx_msg void CCustomView::OnSize(UINT nType, int cx, int cy) {
	
	if (::IsWindow(m_datagrid)) {
		m_datagrid.SetWindowPos(&wndTopMost, 12, 48, 500, 500, SWP_NOZORDER | SWP_NOMOVE);
	}

	CView::OnSize(nType, cx, cy);
}


What am I do wrong? m_datagrid.SetWindowPos is executed, I checked it by debugging.

Thank you for your help,

Johannes
AnswerRe: SetWindowPos does nothing Pin
Mark Salsbery25-Sep-08 9:31
Mark Salsbery25-Sep-08 9:31 
GeneralRe: SetWindowPos does nothing Pin
Joschwenk66626-Sep-08 5:04
Joschwenk66626-Sep-08 5:04 
GeneralRe: SetWindowPos does nothing Pin
Mark Salsbery26-Sep-08 5:17
Mark Salsbery26-Sep-08 5:17 
GeneralRe: SetWindowPos does nothing Pin
Joschwenk66628-Sep-08 21:53
Joschwenk66628-Sep-08 21:53 
QuestionHow can I understand if a named pipe is existing? Pin
sashoalm25-Sep-08 6:30
sashoalm25-Sep-08 6:30 
AnswerRe: How can I understand if a named pipe is existing? Pin
JudyL_MD25-Sep-08 11:34
JudyL_MD25-Sep-08 11:34 
GeneralRe: How can I understand if a named pipe is existing? Pin
sashoalm25-Sep-08 12:31
sashoalm25-Sep-08 12:31 
GeneralRe: How can I understand if a named pipe is existing? Pin
JudyL_MD25-Sep-08 12:36
JudyL_MD25-Sep-08 12:36 
QuestionWM_NOTIFY in VS 2008 Pin
Cpt Rick25-Sep-08 4:47
Cpt Rick25-Sep-08 4:47 
QuestionRe: WM_NOTIFY in VS 2008 Pin
Mark Salsbery25-Sep-08 5:29
Mark Salsbery25-Sep-08 5:29 
AnswerRe: WM_NOTIFY in VS 2008 Pin
Cpt Rick25-Sep-08 6:31
Cpt Rick25-Sep-08 6:31 
GeneralRe: WM_NOTIFY in VS 2008 Pin
Mark Salsbery25-Sep-08 7:19
Mark Salsbery25-Sep-08 7:19 
AnswerRe: WM_NOTIFY in VS 2008 Pin
Mark Salsbery25-Sep-08 5:35
Mark Salsbery25-Sep-08 5:35 
QuestionTimer code that executes a script after a fixed interval Pin
yonifra25-Sep-08 4:33
yonifra25-Sep-08 4:33 
AnswerRe: Timer code that executes a script after a fixed interval Pin
led mike25-Sep-08 4:40
led mike25-Sep-08 4:40 
GeneralRe: Timer code that executes a script after a fixed interval Pin
yonifra25-Sep-08 5:04
yonifra25-Sep-08 5:04 
QuestionMPEG4 Conversion Pin
lal001225-Sep-08 3:44
lal001225-Sep-08 3:44 

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.