Create
Create a new Notes window.
BOOL Create( int nOption = CREATE_VISIBLE, LPCSTR lpcszFilePathName = NULL )
Returns TRUE on successful exit and FALSE on failure.
EX1
int Note_Create_ex1() { Note note; note.Create(); // Create a new empty Notes window if( note.IsValid() ) { note.Text = "This is a bunch of text\nI want to write out to an\nOrigin Note window."; } return 0; }
Create a new empty Notes window (page) or a new Notes window with the contents of the sepcified text file.
origin.h