Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » GridCtrl questions
Re: GridCtrl questions [message #31822 is a reply to message #31775] Wed, 30 March 2011 02:24 Go to previous messageGo to previous message
sergeynikitin is currently offline  sergeynikitin
Messages: 748
Registered: January 2008
Location: Moscow, Russia
Contributor

1-st in header of TopWindow-class

ToolButton allShipments;
void TEST() {PromptOK("TEST WINDOWS");}
void ShipmentsToolBar(Bar& bar);


2-nd - after initialization (usialy in window constructor)

listbox.SetToolBar();
listbox.WhenToolBar = THISBACK(ShipmentsToolBar);

allShipments.Image(Icons::AllShipments());
allShipments.Label(t_("All shipments"));
allShipments.Text(t_("All Shipments"));
allShipments.Tip(t_("Show All Shipments in single window"));
allShipments.WhenAction = THISBACK(TEST);


3-d - Function to adding additional ToolButton:

void ProjectEditDlg::ShipmentsToolBar(Bar& bar){
    listbox.StdToolBar(bar);
    bar.Separator();
    bar.Add(allShipments);
} 


SergeyNikitin<U++>( linux, wine )
{
    under( Ubuntu || Debian || Raspbian );
}

[Updated on: Wed, 30 March 2011 02:31]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Newbie question: ArrayCtrl::IsModified(int ii) not work at expected.
Next Topic: DropGrid improvement proposals
Goto Forum:
  


Current Time: Tue May 14 02:57:28 CEST 2024

Total time taken to generate the page: 0.02499 seconds