Click here to Skip to main content
15,905,028 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to use combobox property TAB? Pin
Member 135496215-Sep-04 6:50
Member 135496215-Sep-04 6:50 
GeneralReverse array Pin
Johnny Peszek14-Sep-04 8:44
Johnny Peszek14-Sep-04 8:44 
GeneralRe: Reverse array Pin
Joaquín M López Muñoz14-Sep-04 8:58
Joaquín M López Muñoz14-Sep-04 8:58 
GeneralRe: Reverse array Pin
Laing,James14-Sep-04 9:05
Laing,James14-Sep-04 9:05 
GeneralRe: Reverse array Pin
Johnny Peszek14-Sep-04 9:31
Johnny Peszek14-Sep-04 9:31 
GeneralCTime and Dialog question. Pin
crimsongrape14-Sep-04 8:27
crimsongrape14-Sep-04 8:27 
GeneralRe: CTime and Dialog question. Pin
Anonymous14-Sep-04 8:54
Anonymous14-Sep-04 8:54 
QuestionWhen are CControlBar marked as floating ? Pin
Maximilien14-Sep-04 8:19
Maximilien14-Sep-04 8:19 
I have a couple of CControlBar derived classes floating control bars.

when the application starts, I create them , and load their state, either visible or docked, or floating; but when I try setting the text on the floating frame ( CMiniDockFrameWnd ) but it does not really work well. Frown | :(

I had a peek at Cristi Posea's CSizingControlBar , and in one method, there's :
if (IsFloating() && GetParentFrame()->IsKindOf(RUNTIME_CLASS(CMiniDockFrameWnd)))
{
  m_pDockBar->SetWindowText((LPCTSTR) lParam); // update dockbar
  GetParentFrame()->DelayRecalcLayout(); // refresh miniframe
}


but if I call a method with this in the OnCreate of my MainFrame ( where the CControlBar are created ), they are not yet floating; but they actually are floating.

if I call the same code from an test menu command, it works like it should and change the caption of the floating frames.

Is there a "Post Create" handler that I can use when creating the mainframe ?

Thanks.

Max.



Maximilien Lincourt
Your Head A Splode - Strong Bad
AnswerRe: When are CControlBar marked as floating ? Pin
Way_newBe14-Sep-04 12:12
Way_newBe14-Sep-04 12:12 
GeneralRe: When are CControlBar marked as floating ? Pin
Maximilien14-Sep-04 12:49
Maximilien14-Sep-04 12:49 
GeneralChanging form resource in a CFormView class Pin
Fernando A. Gomez F.14-Sep-04 7:55
Fernando A. Gomez F.14-Sep-04 7:55 
GeneralRe: Changing form resource in a CFormView class Pin
Bob Stanneveld14-Sep-04 8:14
Bob Stanneveld14-Sep-04 8:14 
GeneralRe: Changing form resource in a CFormView class Pin
Roger Allen14-Sep-04 12:15
Roger Allen14-Sep-04 12:15 
GeneralKnowing the directory in which an App resides Pin
0v3rloader14-Sep-04 7:31
0v3rloader14-Sep-04 7:31 
GeneralRe: Knowing the directory in which an App resides Pin
Maximilien14-Sep-04 7:42
Maximilien14-Sep-04 7:42 
GeneralRe: Knowing the directory in which an App resides Pin
Fernando A. Gomez F.14-Sep-04 8:10
Fernando A. Gomez F.14-Sep-04 8:10 
GeneralRe: Knowing the directory in which an App resides Pin
John M. Drescher14-Sep-04 9:19
John M. Drescher14-Sep-04 9:19 
GeneralRe: Knowing the directory in which an App resides Pin
BlackDice14-Sep-04 9:36
BlackDice14-Sep-04 9:36 
GeneralRe: Knowing the directory in which an App resides Pin
David Crow14-Sep-04 9:56
David Crow14-Sep-04 9:56 
GeneralRe: Knowing the directory in which an App resides Pin
BlackDice14-Sep-04 10:20
BlackDice14-Sep-04 10:20 
GeneralRe: Knowing the directory in which an App resides Pin
David Crow14-Sep-04 10:37
David Crow14-Sep-04 10:37 
GeneralRe: Knowing the directory in which an App resides Pin
BlackDice14-Sep-04 10:40
BlackDice14-Sep-04 10:40 
Generalflicker problem in mfc continued... Pin
towd14-Sep-04 6:12
towd14-Sep-04 6:12 
GeneralRe: flicker problem in mfc continued... Pin
John M. Drescher14-Sep-04 9:14
John M. Drescher14-Sep-04 9:14 
GeneralRe: flicker problem in mfc continued... Pin
towd15-Sep-04 4:22
towd15-Sep-04 4:22 

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.