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 » Menus&Toolbars » CtrlImg::new_doc()
CtrlImg::new_doc() [message #10785] Sat, 28 July 2007 23:42 Go to previous message
Mark999 is currently offline  Mark999
Messages: 6
Registered: July 2007
Promising Member
I was looking at the example UWord; trying to get a toolbar working. And came across this code:

void UWord::FileBar(Bar& bar)
{
bar.Add("New", CtrlImg::new_doc(), THISBACK(New))
.Key(K_CTRL_N)
.Help("Open new window");


What is CtrlImg::new_doc()? I realize its an image but what do I need in order to use the built in images?


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Toolbar and gray color in layout
Next Topic: General Menu Construction
Goto Forum:
  


Current Time: Wed May 08 18:58:25 CEST 2024

Total time taken to generate the page: 0.01423 seconds