Click here to Skip to main content
15,887,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: disable CString value Pin
Rajesh R Subramanian3-Jan-10 22:15
professionalRajesh R Subramanian3-Jan-10 22:15 
AnswerRe: disable CString value Pin
Michael Schubert4-Jan-10 5:10
Michael Schubert4-Jan-10 5:10 
GeneralRe: disable CString value Pin
CPallini4-Jan-10 11:36
mveCPallini4-Jan-10 11:36 
GeneralRe: disable CString value Pin
Michael Schubert4-Jan-10 22:00
Michael Schubert4-Jan-10 22:00 
GeneralRe: disable CString value Pin
CPallini4-Jan-10 22:27
mveCPallini4-Jan-10 22:27 
QuestionAssertion error in SetWindowPos() Pin
Anu_Bala3-Jan-10 19:01
Anu_Bala3-Jan-10 19:01 
AnswerRe: Assertion error in SetWindowPos() Pin
KingsGambit3-Jan-10 19:34
KingsGambit3-Jan-10 19:34 
AnswerRe: Assertion error in SetWindowPos() Pin
«_Superman_»3-Jan-10 19:36
professional«_Superman_»3-Jan-10 19:36 
I believe you're calling SetWindowPos in a place where the window has not been created yet.
Is it in the WM_SIZE handler?

Add a condition before you call SetWindowPos.
if (::IsWindow(this->m_hWnd))
    this->SetWindowPos(&CWnd::wndBottom,0,80,100,800,SWP_NOSIZE);


«_Superman
I love work. It gives me something to do between weekends.

Microsoft MVP (Visual C++)

GeneralRe: Assertion error in SetWindowPos() Pin
Anu_Bala3-Jan-10 20:09
Anu_Bala3-Jan-10 20:09 
GeneralRe: Assertion error in SetWindowPos() Pin
KingsGambit3-Jan-10 20:22
KingsGambit3-Jan-10 20:22 
GeneralRe: Assertion error in SetWindowPos() Pin
Anu_Bala3-Jan-10 22:13
Anu_Bala3-Jan-10 22:13 
QuestionMatrix class h Pin
richard cyper3-Jan-10 13:19
richard cyper3-Jan-10 13:19 
AnswerRepost. Pin
CPallini3-Jan-10 13:44
mveCPallini3-Jan-10 13:44 
AnswerRe: Matrix class h Pin
Cedric Moonen3-Jan-10 20:27
Cedric Moonen3-Jan-10 20:27 
AnswerRe: Matrix class h Pin
Alan Balkany6-Jan-10 4:00
Alan Balkany6-Jan-10 4:00 
QuestionDrawing 32 bit bitmaps Pin
softwaremonkey3-Jan-10 10:53
softwaremonkey3-Jan-10 10:53 
AnswerRe: Drawing 32 bit bitmaps Pin
«_Superman_»3-Jan-10 15:43
professional«_Superman_»3-Jan-10 15:43 
AnswerRe: Drawing 32 bit bitmaps Pin
Joe Woodbury3-Jan-10 15:58
professionalJoe Woodbury3-Jan-10 15:58 
AnswerRe: Drawing 32 bit bitmaps Pin
Naveen3-Jan-10 16:54
Naveen3-Jan-10 16:54 
AnswerRe: Drawing 32 bit bitmaps - Solution [modified] Pin
softwaremonkey3-Jan-10 20:42
softwaremonkey3-Jan-10 20:42 
GeneralRe: Drawing 32 bit bitmaps - Solution Pin
Naveen4-Jan-10 16:43
Naveen4-Jan-10 16:43 
GeneralRe: Drawing 32 bit bitmaps - Solution Pin
softwaremonkey4-Jan-10 20:02
softwaremonkey4-Jan-10 20:02 
QuestionHelp Help Help Pin
richard cyper3-Jan-10 4:29
richard cyper3-Jan-10 4:29 
AnswerRe: Help Help Help Pin
Luc Pattyn3-Jan-10 4:38
sitebuilderLuc Pattyn3-Jan-10 4:38 
AnswerRe: Help Help Help Pin
Jimmanuel3-Jan-10 4:50
Jimmanuel3-Jan-10 4:50 

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.