Menu on dialowindow

just curious if there are any samples on adding a menu to a dialogwindow. i’m having a hard time doing this for some reason. I guess i thought it would be pretty simple.


Why not just use a DocumentWindow? DialogWindow isn’t really designed to have a menu.

Thanks Jules. I tried a documentwindow that is not my mainwindow and had a problem when I quit the mainwindow/app with an exception probably a memory leak. any ideas on that.

Yes. Don’t leak memory.