U++ framework
Do not panic. Ask here before giving up.

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: Sat Sep 12 16:09:18 GMT+2 2026

Total time taken to generate the page: 0.00604 seconds