Click here to Skip to main content
15,914,013 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: hmmmm- why cant we send msgs to the App? Pin
dabs18-Jul-02 2:28
dabs18-Jul-02 2:28 
GeneralRe: hmmmm- why cant we send msgs to the App? Pin
Ravi Bhavnani18-Jul-02 3:32
professionalRavi Bhavnani18-Jul-02 3:32 
GeneralBest database access technology Pin
Don Miguel17-Jul-02 5:29
Don Miguel17-Jul-02 5:29 
GeneralRe: Best database access technology Pin
Robert Vista17-Jul-02 6:16
Robert Vista17-Jul-02 6:16 
GeneralRe: Best database access technology Pin
Don Miguel17-Jul-02 6:25
Don Miguel17-Jul-02 6:25 
GeneralCalendar Control broken Pin
Anonymous17-Jul-02 5:26
Anonymous17-Jul-02 5:26 
GeneralStrange popup window problem. Pin
Steven Don17-Jul-02 4:53
sussSteven Don17-Jul-02 4:53 
GeneralCToolBarCtrl::AddButtons question Pin
ns17-Jul-02 4:52
ns17-Jul-02 4:52 
Hello,
I looked for sample code on the web and msdn to see how to use this to make buttons show up dynamically. I'm not sure how to use this function. CAn someone give me a sample of how to use this?

I tried:

void CMainFrame::OnAddbutton()
{
TBBUTTON tbButton[2];
tbButton[1].fsStyle = TBSTYLE_BUTTON;
m_wndToolBar.GetToolBarCtrl().AddButtons(2,tbButton);
}

but I'm sure I'm missing something.
Thanks you,
ns
GeneralRe: CToolBarCtrl::AddButtons question Pin
KaЯl17-Jul-02 6:25
KaЯl17-Jul-02 6:25 
GeneralThumbnail using IExtractImage Pin
toon17-Jul-02 4:14
toon17-Jul-02 4:14 
GeneralRe: Thumbnail using IExtractImage Pin
Anonymous17-Jul-02 5:11
Anonymous17-Jul-02 5:11 
GeneralRe: Thumbnail using IExtractImage Pin
toon17-Jul-02 21:20
toon17-Jul-02 21:20 
GeneralRe: Thumbnail using IExtractImage Pin
KaЯl17-Jul-02 5:59
KaЯl17-Jul-02 5:59 
GeneralInserting a PropertyPage in a specific index Pin
Martin Laporte17-Jul-02 4:08
Martin Laporte17-Jul-02 4:08 
GeneralSetting Listview items color in icon view Pin
CaesarCZ17-Jul-02 3:59
CaesarCZ17-Jul-02 3:59 
GeneralRe: Setting Listview items color in icon view Pin
KaЯl17-Jul-02 6:07
KaЯl17-Jul-02 6:07 
GeneralRe: Setting Listview items color in icon view Pin
CaesarCZ17-Jul-02 10:05
CaesarCZ17-Jul-02 10:05 
GeneralRe: Setting Listview items color in icon view Pin
KaЯl17-Jul-02 21:39
KaЯl17-Jul-02 21:39 
GeneralRe: Setting Listview items color in icon view Pin
CaesarCZ17-Jul-02 23:14
CaesarCZ17-Jul-02 23:14 
GeneralRe: Setting Listview items color in icon view Pin
KaЯl18-Jul-02 2:24
KaЯl18-Jul-02 2:24 
GeneralAbout MS excel Pin
Old Gun17-Jul-02 3:54
Old Gun17-Jul-02 3:54 
GeneralVC++ Application Design Pin
Paul Ingles17-Jul-02 3:43
Paul Ingles17-Jul-02 3:43 
GeneralRe: VC++ Application Design Pin
Brian Azzopardi17-Jul-02 3:57
Brian Azzopardi17-Jul-02 3:57 
GeneralRe: VC++ Application Design Pin
Paul Ingles17-Jul-02 5:18
Paul Ingles17-Jul-02 5:18 
GeneralA very basic socket question Pin
Dave_17-Jul-02 3:21
Dave_17-Jul-02 3:21 

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.