Click here to Skip to main content
15,901,122 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Unicode streams and ASCII files Pin
Bobby Mihalca30-Jun-05 22:25
Bobby Mihalca30-Jun-05 22:25 
GeneralRe: Unicode streams and ASCII files Pin
valikac1-Jul-05 8:19
valikac1-Jul-05 8:19 
Generalofstream adding in start of file Pin
SimpleProgramer28-Jun-05 0:56
SimpleProgramer28-Jun-05 0:56 
GeneralRe: ofstream adding in start of file Pin
CP Visitor28-Jun-05 6:57
CP Visitor28-Jun-05 6:57 
GeneralSTL Deque problem...again ! Pin
mmagnani7127-Jun-05 23:27
mmagnani7127-Jun-05 23:27 
GeneralRe: STL Deque problem...again ! Pin
Stuart Dootson28-Jun-05 21:36
professionalStuart Dootson28-Jun-05 21:36 
GeneralRe: STL Deque problem...again ! Pin
mmagnani7128-Jun-05 22:54
mmagnani7128-Jun-05 22:54 
GeneralProblems with toolbar when using TBSTYLE_EX_MIXEDBUTTONS Pin
retro_coder27-Jun-05 21:43
retro_coder27-Jun-05 21:43 
Hi,

I have a toolbar where I dynamically create the buttons. It uses the TBSTYLE_EX_MIXEDBUTTONS style. Everything seems to work fine, however when I resize my window, there is no drop-down on the RHS ( ">>" ) to access the buttons that have been clipped.

Buttons without text work fine. Obviously I am missing something. Here is my code to create the rebar:
<br />
    HWND hWndCustomToolBar = CreateSimpleToolBarCtrl(m_hWnd, IDR_CUSTOM, FALSE, ATL_SIMPLE_TOOLBAR_PANE_STYLE  | TBSTYLE_LIST & ~TBSTYLE_TOOLTIPS);<br />
    CToolBarCtrl = hWndCustomToolBar;<br />
    m_customToolbar.SetImageList(*m_sysImageList.GetImageList());<br />
    m_customToolbar.SetExtendedStyle(TBSTYLE_EX_MIXEDBUTTONS);<br />
    m_customToolbar.SetMaxTextRows(1);<br />
    m_customToolbar.AutoSize();<br />
    CreateSimpleReBar(ATL_SIMPLE_REBAR_NOBORDER_STYLE);<br />
    AddSimpleReBarBand(hWndCustomToolBar, NULL, TRUE);<br />

Then to add my buttons I use the following styles:
<br />
    button.fsState |= TBSTATE_ENABLED;<br />
    button.fsStyle |= TBSTYLE_AUTOSIZE | BTNS_SHOWTEXT;<br />
    m_customToolbar.AddButtons(1, &button);<br />

Is there anything else I need to do?

Thanks in advance.
GeneralSTL Notation Pin
Jack Puppy27-Jun-05 17:20
Jack Puppy27-Jun-05 17:20 
GeneralRe: STL Notation Pin
Christian Graus27-Jun-05 18:17
protectorChristian Graus27-Jun-05 18:17 
GeneralRe: STL Notation Pin
Douglas Troy1-Jul-05 7:01
Douglas Troy1-Jul-05 7:01 
Questiondoes BHO have max memory limit? Pin
petevam26-Jun-05 23:11
petevam26-Jun-05 23:11 
AnswerRe: does BHO have max memory limit? Pin
Douglas Troy27-Jun-05 4:47
Douglas Troy27-Jun-05 4:47 
GeneralRe: does BHO have max memory limit? Pin
petevam27-Jun-05 6:20
petevam27-Jun-05 6:20 
GeneralDS_FIXEDSYS in WTL project VS2005 Pin
vassilux@26-Jun-05 4:18
vassilux@26-Jun-05 4:18 
GeneralRe: DS_FIXEDSYS in WTL project VS2005 Pin
toxcct26-Jun-05 5:19
toxcct26-Jun-05 5:19 
GeneralRe: DS_FIXEDSYS in WTL project VS2005 Pin
Jörgen Sigvardsson26-Jun-05 5:59
Jörgen Sigvardsson26-Jun-05 5:59 
GeneralRe: DS_FIXEDSYS in WTL project VS2005 Pin
vassilux@26-Jun-05 9:03
vassilux@26-Jun-05 9:03 
Generalstoring of struct in vector Pin
itkid23-Jun-05 19:55
itkid23-Jun-05 19:55 
GeneralRe: storing of struct in vector Pin
toxcct24-Jun-05 0:35
toxcct24-Jun-05 0:35 
GeneralRe: storing of struct in vector Pin
Nathan Addy26-Jun-05 6:03
Nathan Addy26-Jun-05 6:03 
GeneralGDI+, SetWorldTransform and transformation of objects Pin
flamy23-Jun-05 17:57
flamy23-Jun-05 17:57 
GeneralUsing templates for selecting overloaded functions Pin
ComplexLifeForm23-Jun-05 3:10
ComplexLifeForm23-Jun-05 3:10 
GeneralRe: Using templates for selecting overloaded functions Pin
Joaquín M López Muñoz23-Jun-05 11:37
Joaquín M López Muñoz23-Jun-05 11:37 
GeneralAutomatically scroll a view when using drag and drop Pin
retro_coder22-Jun-05 23:34
retro_coder22-Jun-05 23:34 

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.