Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Inserting a CStatic member in toolbar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Inserting a CStatic member in toolbar

 Post Reply Post Reply
Author
Message
Raul View Drop Down
Newbie
Newbie
Avatar

Joined: 10 December 2003
Location: Croatia
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Raul Quote  Post ReplyReply Direct Link To This Post Topic: Inserting a CStatic member in toolbar
    Posted: 10 December 2003 at 4:15am

I'm working with MFC and I don't know how to insert a CStatic control in Xtreme toolbar.

SetButtonInfo (8, IDC_COMBOBOX, TBBS_SEPARATOR, nWidth);
CRect rect;
GetItemRect (8, &rect);
rect.bottom = rect.top + nHeight;
m_wndComboBox.Create (WS_CHILD ¦ WS_VISIBLE ¦ WS_VSCROLL ¦
    CBS_SORT ¦ CBS_DROPDOWNLIST, rect, this, IDC_COMBOBOX);

In MFC this code above works yust fine but I don't know how to do it with Xtreme toolkit.

 

Thanks

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.

This page was generated in 0.141 seconds.