📄 fabout.c
字号:
//////////////////////////////////////////////////////////////////////////////
// fabout.c
// Code for the "about" form.
// Copyright (c) 1999, Robert Mykland. All rights reserved.
//////////////////////////////////////////////////////////////////////////////
//////////////
// Includes //
//////////////
#include "app.h" // The definitions for this application
///////////////////////
// Global Prototypes //
///////////////////////
Boolean aboutFormEventHandler( EventPtr spEvent );
//////////////////////
// Global Functions //
//////////////////////
//----------------------------------------------------------------------------
Boolean aboutFormEventHandler(
//----------------------------------------------------------------------------
// Handles events for this form.
// Returns true if it fully handled the event.
//----------------------------------------------------------------------------
EventPtr spEvent )
//----------------------------------------------------------------------------
{
// Handle the event
switch( spEvent->eType )
{
// A control was selected
case ctlSelectEvent:
// Return to the calling form
FrmReturnToForm( 0 );
return( false );
// A menu item was selected
case menuEvent:
// Handle the menu event
aboutFormMenuEventHandler( spEvent );
return( true );
}
// We're done
return( false );
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -