Click here to Skip to main content
15,911,890 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: SDI Application Pin
«_Superman_»31-Aug-09 3:29
professional«_Superman_»31-Aug-09 3:29 
GeneralRe: SDI Application Pin
susanne131-Aug-09 3:41
susanne131-Aug-09 3:41 
GeneralRe: SDI Application Pin
«_Superman_»31-Aug-09 6:16
professional«_Superman_»31-Aug-09 6:16 
AnswerRe: SDI Application Pin
Cedric Moonen31-Aug-09 4:42
Cedric Moonen31-Aug-09 4:42 
QuestionRe: SDI Application Pin
Maximilien31-Aug-09 5:09
Maximilien31-Aug-09 5:09 
AnswerRe: SDI Application Pin
susanne131-Aug-09 23:41
susanne131-Aug-09 23:41 
AnswerRe: SDI Application Pin
Joe Woodbury31-Aug-09 9:25
professionalJoe Woodbury31-Aug-09 9:25 
QuestionRe: SDI Application Pin
David Crow31-Aug-09 16:12
David Crow31-Aug-09 16:12 
AnswerRe: SDI Application Pin
Adam Roderick J31-Aug-09 20:55
Adam Roderick J31-Aug-09 20:55 
AnswerRe: SDI Application Pin
Iain Clarke, Warrior Programmer1-Sep-09 1:25
Iain Clarke, Warrior Programmer1-Sep-09 1:25 
AnswerRe: SDI Application Pin
basementman1-Sep-09 4:27
basementman1-Sep-09 4:27 
Questionhow to use external function in a dll from c Pin
mohant$.net31-Aug-09 2:13
mohant$.net31-Aug-09 2:13 
QuestionRe: how to use external function in a dll from c Pin
David Crow31-Aug-09 2:45
David Crow31-Aug-09 2:45 
AnswerRe: how to use external function in a dll from c Pin
mohant$.net31-Aug-09 2:54
mohant$.net31-Aug-09 2:54 
QuestionRe: how to use external function in a dll from c Pin
David Crow31-Aug-09 3:26
David Crow31-Aug-09 3:26 
AnswerRe: how to use external function in a dll from c Pin
mohant$.net31-Aug-09 3:33
mohant$.net31-Aug-09 3:33 
AnswerRe: how to use external function in a dll from c Pin
Joe Woodbury31-Aug-09 9:26
professionalJoe Woodbury31-Aug-09 9:26 
QuestionSCardTransmit Returns 0x0000000e. Pin
deepakect31-Aug-09 0:34
deepakect31-Aug-09 0:34 
QuestionInheriting Struct Pin
kumar sanghvi31-Aug-09 0:34
kumar sanghvi31-Aug-09 0:34 
AnswerRe: Inheriting Struct Pin
Rajesh R Subramanian31-Aug-09 0:42
professionalRajesh R Subramanian31-Aug-09 0:42 
AnswerRe: Inheriting Struct Pin
Richard MacCutchan31-Aug-09 3:32
mveRichard MacCutchan31-Aug-09 3:32 
QuestionProblem with Visual studio 2008 feature pack's CMFCToolBar - not being displayed Pin
Sternocera30-Aug-09 23:53
Sternocera30-Aug-09 23:53 
Hello,

I'm upgrading my MFC application to make use of some of the new user interface elements from the Visual studio 2008 feature pack. My first concern is upgrading my CToolBar to the pack's new CMFCToolBar, to use large icons, rollover buttons, etc.

I use much the same boilerplate code in CMainFrame::OnCreate() as ever:

if (CFrameWnd::OnCreate(lpCreateStruct) == -1)
	return -1;

// I've attempted to simplify the code to the greatest possible extent to isolate the problem:
	
// The this pointer points to CMainFrame class which extends the CFrameWnd class.
if (!m_wndToolBar.CreateEx (this, TBSTYLE_TRANSPARENT) ||
    !m_wndToolBar.LoadToolBar (IDR_MAINFRAME))
{
    TRACE0("Failed to create toolbar\n");
    return -1;      // fail to create
}


However, no toolbar is visible when the application starts - it is simply omitted. Switching the class of m_wndToolBar from CMFCToolBar back to CToolBar once again makes the toolbar visible.

Why might the framework fail to display my CMFCToolBar? How can I fix the problem?

Regards,
Sternocera
AnswerRe: Problem with Visual studio 2008 feature pack's CMFCToolBar - not being displayed Pin
Prasann Mayekar31-Aug-09 2:37
Prasann Mayekar31-Aug-09 2:37 
QuestionShadow Pin
thanhvinh090630-Aug-09 23:36
thanhvinh090630-Aug-09 23:36 
AnswerRe: Shadow Pin
Cedric Moonen30-Aug-09 23:45
Cedric Moonen30-Aug-09 23:45 

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.