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

C / C++ / MFC

 
GeneralRe: Choosing files from a directory Pin
Rick York13-Sep-10 6:42
mveRick York13-Sep-10 6:42 
GeneralRe: Choosing files from a directory Pin
Richard MacCutchan13-Sep-10 9:17
mveRichard MacCutchan13-Sep-10 9:17 
AnswerRe: Choosing files from a directory Pin
«_Superman_»12-Sep-10 18:45
professional«_Superman_»12-Sep-10 18:45 
QuestionHow to move buttons to the left side? Pin
coolhem11-Sep-10 15:40
coolhem11-Sep-10 15:40 
AnswerRe: How to move buttons to the left side? Pin
Code-o-mat12-Sep-10 22:31
Code-o-mat12-Sep-10 22:31 
AnswerRe: How to move buttons to the left side? Pin
Eugen Podsypalnikov13-Sep-10 0:32
Eugen Podsypalnikov13-Sep-10 0:32 
GeneralRe: How to move buttons to the left side? Pin
coolhem13-Sep-10 4:34
coolhem13-Sep-10 4:34 
GeneralRe: How to move buttons to the left side? Pin
Eugen Podsypalnikov13-Sep-10 5:14
Eugen Podsypalnikov13-Sep-10 5:14 
Ups... Big Grin | :-D Sorry ! Smile | :)

...then - we have to overwrite this:
// add ON_WM_NCCALCSIZE() to your message map
void CYourPane::OnNcCalcSize(BOOL bCalcValidRects, NCCALCSIZE_PARAMS FAR* lpncsp)
{
  CDockablePane::OnNcCalcSize(bCalcValidRects, lpncsp);

  // Iterate your button* items
  // and call button->Move(yourNewPoint) for each here:
  // ...
}
...and this Smile | :) :
/*virtual*/ void CYourPane::DrawCaption(CDC* pDC, CRect rectCaption)
{
  // calculate yourNewOffsetForCaptionString
  //..
  rectCaption.Offset(yourNewOffsetForCaptionString, 0);
  CDockablePane::DrawCaption(pDC, rectCaption);
}

virtual void BeHappy() = 0;

QuestionHow to tile multiple windows in a single view Pin
Vaclav_11-Sep-10 8:59
Vaclav_11-Sep-10 8:59 
AnswerRe: How to tile multiple windows in a single view Pin
ShanghaiDan11-Sep-10 9:57
ShanghaiDan11-Sep-10 9:57 
AnswerRe: How to tile multiple windows in a single view Pin
«_Superman_»12-Sep-10 18:50
professional«_Superman_»12-Sep-10 18:50 
GeneralRe: How to tile multiple windows in a single view - SOLVED Pin
Vaclav_13-Sep-10 2:39
Vaclav_13-Sep-10 2:39 
QuestionReference to a pointer question Pin
VentsyV10-Sep-10 11:43
VentsyV10-Sep-10 11:43 
AnswerRe: Reference to a pointer question Pin
MicroVirus10-Sep-10 12:53
MicroVirus10-Sep-10 12:53 
AnswerRe: Reference to a pointer question Pin
Niklas L10-Sep-10 21:04
Niklas L10-Sep-10 21:04 
AnswerRe: Reference to a pointer question Pin
Paul Michalik11-Sep-10 23:17
Paul Michalik11-Sep-10 23:17 
AnswerRe: Reference to a pointer question [modified] Pin
Aescleal12-Sep-10 11:01
Aescleal12-Sep-10 11:01 
QuestionWindow IME language Pin
fusion_nuke@hotmail.com10-Sep-10 7:48
fusion_nuke@hotmail.com10-Sep-10 7:48 
GeneralRe: Window IME language Pin
David Crow10-Sep-10 8:15
David Crow10-Sep-10 8:15 
GeneralRe: Window IME language Pin
Nemanja Trifunovic10-Sep-10 8:48
Nemanja Trifunovic10-Sep-10 8:48 
GeneralRe: Window IME language Pin
David Crow10-Sep-10 9:30
David Crow10-Sep-10 9:30 
GeneralRe: Window IME language Pin
fusion_nuke@hotmail.com10-Sep-10 18:00
fusion_nuke@hotmail.com10-Sep-10 18:00 
AnswerRe: Window IME language Pin
Nemanja Trifunovic10-Sep-10 8:57
Nemanja Trifunovic10-Sep-10 8:57 
QuestionCList with Pointers Pin
VentsyV10-Sep-10 7:05
VentsyV10-Sep-10 7:05 
QuestionRe: CList with Pointers Pin
CPallini10-Sep-10 7:51
mveCPallini10-Sep-10 7:51 

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.