Click here to Skip to main content
15,906,574 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to change the font size of an Edit control? Pin
Cyrus Dang23-Apr-04 4:59
Cyrus Dang23-Apr-04 4:59 
AnswerRe: How to change the font size of an Edit control? Pin
David Crow23-Apr-04 5:29
David Crow23-Apr-04 5:29 
GeneralRe: How to change the font size of an Edit control? Pin
Cyrus Dang23-Apr-04 5:33
Cyrus Dang23-Apr-04 5:33 
GeneralRe: How to change the font size of an Edit control? Pin
Navin23-Apr-04 5:36
Navin23-Apr-04 5:36 
GeneralRe: How to change the font size of an Edit control? Pin
David Crow23-Apr-04 6:04
David Crow23-Apr-04 6:04 
GeneralRe: How to change the font size of an Edit control? Pin
Cyrus Dang23-Apr-04 6:06
Cyrus Dang23-Apr-04 6:06 
GeneralSwitch btwn nested and non-nested Splitters Pin
mike-o23-Apr-04 4:56
mike-o23-Apr-04 4:56 
GeneralRe: Switch btwn nested and non-nested Splitters Pin
Gary R. Wheeler23-Apr-04 11:30
Gary R. Wheeler23-Apr-04 11:30 
I've recently been through this process with an application of mine. The key to managing the content of splitter windows is the dialog control ID and parent window assigned to the windows in the splitter panes.

CSplitterWnd requires that the windows that occupy each pane be child windows of the splitter, and have the control ID returned by the CSplitterWnd function IdFromRowCol(int row,int col). This function returns the control ID required for a given row and column within the splitter. Use SetDlgCtrlId() to set the control ID for the window you want to occupy the splitter pane at row,col. You also need to call SetParent for that same window to set its parent to be the splitter.

Note that the window occupying a splitter pane can be another splitter.


Software Zen: delete this;
QuestionHow to convert CBitmap to DIB and backwards Pin
uus9923-Apr-04 4:51
uus9923-Apr-04 4:51 
AnswerRe: How to convert CBitmap to DIB and backwards Pin
Chris Losinger23-Apr-04 7:28
professionalChris Losinger23-Apr-04 7:28 
AnswerRe: How to convert CBitmap to DIB and backwards Pin
John R. Shaw23-Apr-04 17:20
John R. Shaw23-Apr-04 17:20 
GeneralRe: How to convert CBitmap to DIB and backwards Pin
uus9923-Apr-04 21:14
uus9923-Apr-04 21:14 
GeneralRe: How to convert CBitmap to DIB and backwards Pin
John R. Shaw27-Apr-04 5:43
John R. Shaw27-Apr-04 5:43 
GeneralManaged Pointer Problems Pin
Darkhonor23-Apr-04 4:09
Darkhonor23-Apr-04 4:09 
GeneralRe: Managed Pointer Problems Pin
BlackDice23-Apr-04 9:51
BlackDice23-Apr-04 9:51 
GeneralSimple Question...... Pin
monn23-Apr-04 4:05
monn23-Apr-04 4:05 
GeneralRe: Simple Question...... Pin
David Crow23-Apr-04 4:31
David Crow23-Apr-04 4:31 
GeneralRe: Simple Question...... Pin
Prakash Nadar23-Apr-04 6:30
Prakash Nadar23-Apr-04 6:30 
GeneralRe: Simple Question...... Pin
David Crow23-Apr-04 6:46
David Crow23-Apr-04 6:46 
GeneralRe: Simple Question...... Pin
Prakash Nadar23-Apr-04 16:40
Prakash Nadar23-Apr-04 16:40 
GeneralRe: Simple Question...... Pin
Navin23-Apr-04 5:40
Navin23-Apr-04 5:40 
GeneralRe: Simple Question...... Pin
John R. Shaw23-Apr-04 17:40
John R. Shaw23-Apr-04 17:40 
Questioncoordinates of a child window bug?? Pin
Alton Williams23-Apr-04 4:03
Alton Williams23-Apr-04 4:03 
AnswerRe: coordinates of a child window bug?? Pin
Antony M Kancidrowski23-Apr-04 4:47
Antony M Kancidrowski23-Apr-04 4:47 
AnswerRe: coordinates of a child window bug?? Pin
Ravi Bhavnani23-Apr-04 7:03
professionalRavi Bhavnani23-Apr-04 7: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.