Click here to Skip to main content
15,901,205 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Invisible Dialog Pin
David Crow20-Jun-05 3:18
David Crow20-Jun-05 3:18 
Generalplease help me Pin
suroor45317-Jun-05 19:41
suroor45317-Jun-05 19:41 
GeneralRe: please help me Pin
Christian Graus17-Jun-05 21:29
protectorChristian Graus17-Jun-05 21:29 
GeneralRe: please help me Pin
Bob Stanneveld18-Jun-05 5:16
Bob Stanneveld18-Jun-05 5:16 
GeneralRe: please help me Pin
Bob Stanneveld18-Jun-05 5:20
Bob Stanneveld18-Jun-05 5:20 
Generalsending data to a dialog Pin
pardis17-Jun-05 18:56
pardis17-Jun-05 18:56 
GeneralRe: sending data to a dialog Pin
Ravi Bhavnani17-Jun-05 19:04
professionalRavi Bhavnani17-Jun-05 19:04 
GeneralHandler Not Invoked Pin
laiju17-Jun-05 18:49
laiju17-Jun-05 18:49 
Iam using MDI Appln.
I added the foll. menus under the Veiw menu created by default by the appln.
1)"OSDToolBar" (whose ID is ID ID_VIEW_DRAWTOOLBAR)
2)"ActionEditor"(whose ID is ID ID_VIEW_ACTIONEDITOR)

the handler for ID_VIEW_ACTIONEDITOR is called before and after creating the first MDI Child Window.
But strangely the handler for ID_VIEW_DRAWTOOLBAR wont invoke after creating the first MDI Child Window.
Can anyone let me know where I am going wrong / is there anything Iam overlooking.The message map and handlers are given below.

BEGIN_MESSAGE_MAP(CMainFrame, CMDIFrameWnd)
ON_WM_CREATE()
ON_COMMAND(ID_VIEW_DRAWTOOLBAR, OnDrawToolBar)
ON_UPDATE_COMMAND_UI(ID_VIEW_DRAWTOOLBAR, OnUpdateDrawToolBar)
ON_COMMAND(ID_VIEW_ACTIONEDITOR, OnViewFunction)
ON_UPDATE_COMMAND_UI(ID_VIEW_ACTIONEDITOR, OnUpdateViewFunction)
END_MESSAGE_MAP()

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 );
}
}


laiju
Generalprint preview Pin
khlins17-Jun-05 16:56
khlins17-Jun-05 16:56 
GeneralI don't want to autoscroll in a CRichEdit! Pin
KellyR17-Jun-05 13:22
KellyR17-Jun-05 13:22 
GeneralRe: I don't want to autoscroll in a CRichEdit! Pin
KellyR17-Jun-05 14:13
KellyR17-Jun-05 14:13 
GeneralDrawing transparent bitmaps using GDI+ Pin
Anonymous17-Jun-05 9:28
Anonymous17-Jun-05 9:28 
GeneralRe: Drawing transparent bitmaps using GDI+ Pin
Blake Miller17-Jun-05 10:49
Blake Miller17-Jun-05 10:49 
GeneralWidescreen display problem Pin
Cpt Rick17-Jun-05 8:53
Cpt Rick17-Jun-05 8:53 
GeneralRe: Widescreen display problem Pin
Christian Graus17-Jun-05 21:31
protectorChristian Graus17-Jun-05 21:31 
Questiongraphing program classes? Pin
htuba17-Jun-05 8:18
htuba17-Jun-05 8:18 
AnswerRe: graphing program classes? Pin
PJ Arends17-Jun-05 8:29
professionalPJ Arends17-Jun-05 8:29 
GeneralNumber of top level windows open Pin
heman15417-Jun-05 7:57
heman15417-Jun-05 7:57 
GeneralRe: Number of top level windows open Pin
David Crow17-Jun-05 8:18
David Crow17-Jun-05 8:18 
GeneralRe: Number of top level windows open Pin
Toby Opferman20-Jun-05 19:03
Toby Opferman20-Jun-05 19:03 
GeneralRe: Number of top level windows open Pin
David Crow21-Jun-05 2:19
David Crow21-Jun-05 2:19 
GeneralRe: Number of top level windows open Pin
Toby Opferman21-Jun-05 5:24
Toby Opferman21-Jun-05 5:24 
GeneralRe: Number of top level windows open Pin
Toby Opferman21-Jun-05 8:59
Toby Opferman21-Jun-05 8:59 
Generaldetect Physical Memory size Pin
heman15417-Jun-05 7:29
heman15417-Jun-05 7:29 
GeneralRe: detect Physical Memory size Pin
Ravi Bhavnani17-Jun-05 7:42
professionalRavi Bhavnani17-Jun-05 7:42 

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.