Click here to Skip to main content
15,920,383 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Save as.. and open Pin
antonio3436-Nov-11 23:17
antonio3436-Nov-11 23:17 
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 
This problem is using VC2010,a lthiugh I suspect the same issue would be present in VC6

I have an MDI view, within this view is a splitter window with 2 views. The pane on the right contains a propertysheet.

Some of the page of the sheet contain splitter windows, one such page has a 1 row by 3 columns, of this splitter panes 1 and 3 contain their own splitters of 2 rows by 1 column.

Visual representation:
+------++---------------------------------+
| pane ||+-------------------------------+|
|      |||propertySheet                  ||
|      |||+-----------------------------+||
|      ||||PropertyPage                 |||
|      ||||+---------------------------+|||
|      ||||| Splitter                  ||||
|      |||||+-------++--------++------+||||
|      ||||||       ||        ||      |||||
|      ||||||  Row1 ||        || Row1 |||||
|      ||||||       ||        ||      |||||
|      ||||||       ||        ||      |||||
|      |||||+-------+|        |+------+||||
|      ||||||       ||        ||      |||||
|      ||||||  Row2 ||        || Row2 |||||
|      ||||||       ||        ||      |||||
|      |||||+-------++--------++------+||||
|      ||||+---------------------------+|||
|      |||+-----------------------------+||
|      ||+-------------------------------+|
+------++---------------------------------+

If the main view is not maximized, dragging any of the internal splitters, everything re-sizes and works correctly.

If you resize the view by dragging one of its edges, everything but the panes lebelled row1/2 in the above diagram resize correctly. Row1/2 receive a WM_SIZE message, resize their controls, BUT those controls do not actually resize or redraw.

If you maximize the view, these panes do not receive a WM_SIZE message. A restore message, they do.

Clues:
I have a similar view layout for another document type. This one does not have the propertysheet, but does have the internal layout of the page within the propertysheet. All these views resize correctly on all events.

This leads me to beleive that the propertysheet/page is somehow killing the messages or locking the windows somehow (LockWindowUpdate), it could be down to parent/child window chains. It could even be down to the styles of the window(s) (or extended styles).

Basically I am looking for ideas/pointers in this area to try and get me out of the hole I am in.

Any suggestions or help appreciated.
If you vote me down, my score will only get lower


modified 2-Nov-11 13:50pm.

AnswerRe: Splitter within splitter within propertysheet resize issue Pin
Roger Allen2-Nov-11 7:50
Roger Allen2-Nov-11 7:50 
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 

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.