Click here to Skip to main content
15,891,423 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CreateProcess Pin
Jörgen Sigvardsson28-Jul-04 14:03
Jörgen Sigvardsson28-Jul-04 14:03 
GeneralRe: CreateProcess Pin
Paul Selormey28-Jul-04 14:40
Paul Selormey28-Jul-04 14:40 
Questiondig fuction for Windows ?? Pin
otrcomm28-Jul-04 10:57
otrcomm28-Jul-04 10:57 
General(Probably easy to answer:) Initializing splitter pane sizes with other controls in the mainframe client area (Doc/View) Pin
Scolex28-Jul-04 10:53
Scolex28-Jul-04 10:53 
GeneralRe: (Probably easy to answer:) Initializing splitter pane sizes with other controls in the mainframe client area (Doc/View) Pin
Johan Rosengren28-Jul-04 20:06
Johan Rosengren28-Jul-04 20:06 
GeneralRe: (Probably easy to answer:) Initializing splitter pane sizes with other controls in the mainframe client area (Doc/View) Pin
Scolex29-Jul-04 9:48
Scolex29-Jul-04 9:48 
GeneralRe: (Probably easy to answer:) Initializing splitter pane sizes with other controls in the mainframe client area (Doc/View) Pin
David Crow29-Jul-04 2:35
David Crow29-Jul-04 2:35 
GeneralRe: (Probably easy to answer:) Initializing splitter pane sizes with other controls in the mainframe client area (Doc/View) Pin
Scolex29-Jul-04 16:47
Scolex29-Jul-04 16:47 
DavidCrow wrote:
In the OnSize() method, after calling the base class, check to see if the splitter window has been created. If it has, get the height/width of the toolbar and the status bar and subtract both of those from the height/width of the client area. Then for each row/column call SetRowInfo()/SetColumnInfo() using half of the width/height for the second parameter, followed by a call to RecalcLayout().

Thanks a lot for the info. I have done as you suggested, but a previous problem is still causing me difficulty. Even if the splitter has been enabled and the frame has valid handles to the controls, when OnSize is called, the controls have not yet been sized to fit the frame window. Therefore, when I try to get their window dimensions I get 0, 0, 0, 0 and 0, 0, -2, -2 Confused | :confused: When exactly does the framework adjust the size of the controls to fit the parent window and how do I check for it? Oh, and thanks again for your assistance.
GeneralRe: (Probably easy to answer:) Initializing splitter pane sizes with other controls in the mainframe client area (Doc/View) Pin
Scolex29-Jul-04 16:55
Scolex29-Jul-04 16:55 
GeneralTandem Pin
bikram singh28-Jul-04 9:51
bikram singh28-Jul-04 9:51 
Generalrebar animation Pin
alex.barylski28-Jul-04 9:23
alex.barylski28-Jul-04 9:23 
GeneralDialog Pin
S.DARWIN PAUL RAJ28-Jul-04 9:18
S.DARWIN PAUL RAJ28-Jul-04 9:18 
GeneralRe: Dialog Pin
David Crow28-Jul-04 9:28
David Crow28-Jul-04 9:28 
GeneralRe: Dialog Pin
Anonymous28-Jul-04 19:38
Anonymous28-Jul-04 19:38 
GeneralRe: Dialog Pin
David Crow29-Jul-04 3:47
David Crow29-Jul-04 3:47 
QuestionHow to redirect output to a file using shellexecute. Pin
RobJones28-Jul-04 8:41
RobJones28-Jul-04 8:41 
AnswerRe: How to redirect output to a file using shellexecute. Pin
Jaime Stuardo28-Jul-04 8:55
Jaime Stuardo28-Jul-04 8:55 
GeneralRe: How to redirect output to a file using shellexecute. Pin
RobJones28-Jul-04 9:02
RobJones28-Jul-04 9:02 
GeneralFigured it out. Pin
RobJones28-Jul-04 9:11
RobJones28-Jul-04 9:11 
GeneralRe: How to redirect output to a file using shellexecute. Pin
David Crow28-Jul-04 9:27
David Crow28-Jul-04 9:27 
GeneralRe: How to redirect output to a file using shellexecute. Pin
RobJones28-Jul-04 9:29
RobJones28-Jul-04 9:29 
AnswerRe: How to redirect output to a file using shellexecute. Pin
SOCM_FP_CPP29-Jul-04 1:06
SOCM_FP_CPP29-Jul-04 1:06 
GeneralHWND to CWND Pin
LudaLuda28-Jul-04 7:28
LudaLuda28-Jul-04 7:28 
GeneralRe: HWND to CWND Pin
jmkhael28-Jul-04 7:40
jmkhael28-Jul-04 7:40 
GeneralRe: HWND to CWND Pin
LudaLuda28-Jul-04 8:03
LudaLuda28-Jul-04 8:03 

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.