Hi,
I want to add a help menu item to a menu. To do this I just want to use the text file reader to read an existing text file.
I have tried calling gui_draw_read_selected, but can't get it to work.
Next I tried to fake the text file reader into thinking that my existing file was the last file read. This doesn't work, but at least it doesn't crash.
Does anyone have a better suggestion?
{LANG_MENU_MY_HELP, MENUITEM_PROC, (int*)gui_my_help },
...
void gui_my_help(int arg) {
strcpy(conf.reader_file,"A:/CHDK/BOOKS/myhelp.txt");
gui_draw_read_last(1);
}