Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29249 Discussions

Print and Save commands in Windows SDI app

davewardle
Beginner
599 Views
I have never used the Fortran Windows Application before. When using the Quickwin application the menu contained print and save commands as default. How can the commands be added to a Fortran Windows Single Document Interface application. Below is some of the code for the menu bar.
How can I add a case (IDM_PRINT and case (IDM_SAVE).
Any help will be greatly appreciated.

! WM_COMMAND: user command
case (WM_COMMAND)
select case ( IAND(wParam, 16#ffff ) )

case (IDM_EXIT)
ret = SendMessage( hWnd, WM_CLOSE, 0, 0 )
MainWndProc = 0
return

case (IDM_PRINT)

0 Kudos
0 Replies
Reply