Click here to Skip to main content
15,901,283 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Save as.. and open Pin
antonio3435-Nov-11 10:42
antonio3435-Nov-11 10:42 
GeneralRe: Save as.. and open Pin
Erudite_Eric6-Nov-11 20:41
Erudite_Eric6-Nov-11 20:41 
QuestionSelecting "title bar" disables edit control in modal dialog( MFC) Pin
Vaclav_2-Nov-11 4:33
Vaclav_2-Nov-11 4:33 
AnswerRe: Selecting "title bar" disables edit control in modal dialog( MFC) Pin
Richard MacCutchan2-Nov-11 5:44
mveRichard MacCutchan2-Nov-11 5:44 
GeneralRe: Selecting "title bar" disables edit control in modal dialog( MFC) Pin
Vaclav_2-Nov-11 6:35
Vaclav_2-Nov-11 6:35 
GeneralRe: Selecting "title bar" disables edit control in modal dialog( MFC) Pin
Richard MacCutchan2-Nov-11 6:41
mveRichard MacCutchan2-Nov-11 6:41 
Question[Solved]Splitter within splitter within propertysheet resize issue Pin
Roger Allen2-Nov-11 2:15
Roger Allen2-Nov-11 2:15 
AnswerRe: Splitter within splitter within propertysheet resize issue Pin
Roger Allen2-Nov-11 7:50
Roger Allen2-Nov-11 7:50 
Well, after a day banging my head against the wall on this issue. I finally tracked down the issue.

Its not my code at all. Its the windows kernal.

Apparently, the stack used for nested windows is in the kernal memory and their is a max limit of the nesting depth at which a call to MoveWindow will fail to send a WM_SIZE message to the re-sized window.

To get around this my CSplitterWnd derived class (I already had one), just uses a PostMessage to itself to defer the call to RecalcLayout which does the MoveWindow calls. If I do this the windows get resized in stages down the window chain and they all work correctly as the kernal stack limit never gets hit.
If you vote me down, my score will only get lower

QuestionAbout C+ + Builder. Pin
nnc20151-Nov-11 20:49
nnc20151-Nov-11 20:49 
AnswerRe: About C+ + Builder. Pin
Richard MacCutchan1-Nov-11 22:50
mveRichard MacCutchan1-Nov-11 22:50 
QuestionWhere are my messages going? Pin
Kyudos1-Nov-11 11:20
Kyudos1-Nov-11 11:20 
AnswerRe: Where are my messages going? Pin
Software_Developer1-Nov-11 11:57
Software_Developer1-Nov-11 11:57 
GeneralRe: Where are my messages going? Pin
Kyudos1-Nov-11 12:19
Kyudos1-Nov-11 12:19 
AnswerRe: Where are my messages going? Pin
Chuck O'Toole1-Nov-11 12:56
Chuck O'Toole1-Nov-11 12:56 
GeneralRe: Where are my messages going? Pin
Kyudos1-Nov-11 13:17
Kyudos1-Nov-11 13:17 
GeneralRe: Where are my messages going? Pin
Chuck O'Toole1-Nov-11 13:32
Chuck O'Toole1-Nov-11 13:32 
GeneralRe: Where are my messages going? Pin
Kyudos1-Nov-11 13:55
Kyudos1-Nov-11 13:55 
GeneralRe: Where are my messages going? Pin
Chuck O'Toole1-Nov-11 14:01
Chuck O'Toole1-Nov-11 14:01 
GeneralRe: Where are my messages going? Pin
Chuck O'Toole1-Nov-11 15:21
Chuck O'Toole1-Nov-11 15:21 
GeneralRe: Where are my messages going? Pin
Kyudos1-Nov-11 15:36
Kyudos1-Nov-11 15:36 
GeneralRe: Where are my messages going? Pin
Kyudos1-Nov-11 16:25
Kyudos1-Nov-11 16:25 
AnswerRe: Where are my messages going? Pin
Albert Holguin2-Nov-11 5:31
professionalAlbert Holguin2-Nov-11 5:31 
AnswerRe: Where are my messages going? - *#@!ing MS! Pin
Kyudos1-Nov-11 17:08
Kyudos1-Nov-11 17:08 
GeneralRe: Where are my messages going? - *#@!ing MS! Pin
Chuck O'Toole1-Nov-11 18:36
Chuck O'Toole1-Nov-11 18:36 
AnswerRe: Where are my messages going? Pin
Roger Allen2-Nov-11 3:10
Roger Allen2-Nov-11 3:10 

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.