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

C / C++ / MFC

 
AnswerRe: can a dynamically created variable hold a const value? Pin
Maximilien22-Jun-05 3:00
Maximilien22-Jun-05 3:00 
AnswerRe: can a dynamically created variable hold a const value? Pin
Christian Graus22-Jun-05 3:01
protectorChristian Graus22-Jun-05 3:01 
GeneralRe: can a dynamically created variable hold a const value? Pin
Tom Archer22-Jun-05 3:07
Tom Archer22-Jun-05 3:07 
GeneralRe: can a dynamically created variable hold a const value? Pin
David Crow22-Jun-05 3:26
David Crow22-Jun-05 3:26 
GeneralRe: can a dynamically created variable hold a const value? Pin
Blake Miller22-Jun-05 4:28
Blake Miller22-Jun-05 4:28 
GeneralRe: can a dynamically created variable hold a const value? Pin
David Crow22-Jun-05 4:38
David Crow22-Jun-05 4:38 
QuestionHow to create our Own Paragraph Formatting in Rich Edit Controls Pin
GnanaprakashJebaraj22-Jun-05 2:28
GnanaprakashJebaraj22-Jun-05 2:28 
GeneralFunction/handler not working Pin
laiju22-Jun-05 1:31
laiju22-Jun-05 1:31 
I have the handlers and message maps as below.
Whenever a child window is visible the following hanldler and its update function is not invoked.
When the Child window is closed they are invoked..
Can anyone explain this behaviour.


ON_COMMAND(ID_VIEW_DRAWTOOLBAR, OnDrawToolBar)
ON_UPDATE_COMMAND_UI(ID_VIEW_DRAWTOOLBAR, OnUpdateDrawToolBar)

void CMainFrame::OnDrawToolBar()
{
if (m_bUICtrlBar)
{
m_bUICtrlBar = false;
ShowControlBar(&m_UICtrlsBar, m_bUICtrlBar, false );
}
else
{
m_bUICtrlBar = true;
ShowControlBar(&m_UICtrlsBar, m_bUICtrlBar, false );
}
}
void CMainFrame::OnUpdateDrawToolBar(CCmdUI *pCmdUI)
{

if (m_UICtrlsBar.IsVisible())
m_bUICtrlBar = TRUE;
else
m_bUICtrlBar = FALSE;
if (m_bUICtrlBar)
{
pCmdUI->SetCheck(TRUE);
//AfxMessageBox("visible so check");
}
else
{
pCmdUI->SetCheck(FALSE);
//AfxMessageBox("Invisible so Uncheck");
}
}

laiju
Generalcheck box creation on runtime Pin
softtec22-Jun-05 1:10
softtec22-Jun-05 1:10 
GeneralRe: check box creation on runtime Pin
khan++22-Jun-05 1:44
khan++22-Jun-05 1:44 
GeneralRe: check box creation on runtime Pin
softtec22-Jun-05 2:56
softtec22-Jun-05 2:56 
GeneralRe: check box creation on runtime Pin
Maximilien22-Jun-05 3:07
Maximilien22-Jun-05 3:07 
GeneralRe: check box creation on runtime Pin
softtec22-Jun-05 3:29
softtec22-Jun-05 3:29 
GeneralRe: check box creation on runtime Pin
khan++22-Jun-05 23:20
khan++22-Jun-05 23:20 
GeneralStretchBlt for Icons Pin
laiju22-Jun-05 0:49
laiju22-Jun-05 0:49 
GeneralRe: StretchBlt for Icons Pin
Blake Miller22-Jun-05 4:26
Blake Miller22-Jun-05 4:26 
GeneralStrecthing icon Pin
laiju22-Jun-05 0:48
laiju22-Jun-05 0:48 
GeneralVC++ 6 stability compiling STL Pin
hairy_hats22-Jun-05 0:02
hairy_hats22-Jun-05 0:02 
GeneralRe: VC++ 6 stability compiling STL Pin
toxcct22-Jun-05 0:10
toxcct22-Jun-05 0:10 
GeneralRe: VC++ 6 stability compiling STL Pin
hairy_hats22-Jun-05 0:19
hairy_hats22-Jun-05 0:19 
GeneralWindows Service description Pin
Kri521-Jun-05 23:54
Kri521-Jun-05 23:54 
GeneralRe: Windows Service description Pin
Blake Miller22-Jun-05 4:59
Blake Miller22-Jun-05 4:59 
GeneralRe: Windows Service description Pin
Kri522-Jun-05 6:17
Kri522-Jun-05 6:17 
GeneralRe: Windows Service description Pin
skornel22-Jun-05 5:02
skornel22-Jun-05 5:02 
GeneralRe: Windows Service description Pin
Kri522-Jun-05 6:17
Kri522-Jun-05 6:17 

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.