#include "FiveWin.ch"
#include "WColors.ch"
static oWnd
static oMruRCs
static oBar
static nBackColorA := 8215601
//----------------------------------------------------------------------------//
Function Main()
local nH := ScreenHeight()
local nW := ScreenWidth()
local cItemText := ""
FW_SetUnicode( .T. )
DEFINE WINDOW oWnd FROM 3, 6 TO 20, 70 ;
TITLE FWVERSION + " Resources Editor" ;
MENU BuildMenu() //MDI
ACTIVATE WINDOW oWnd MAXIMIZED
return nil
//----------------------------------------------------------------------------//
function BuildMenu()
local oMenu
MENU oMenu 2007
MENUITEM "&File"
MENU
MENUITEM "&New" RESOURCE "new2"
MENUITEM "&Open" RESOURCE "Open2"
MENUITEM "&Save as..."
SEPARATOR
MENUITEM "Recent files"
MENU
MRU oMruRCs ;
FILENAME ".\re.ini" ;
SECTION "Recent RC files" ;
ACTION MsgInfo( cMruItem ) ;
MESSAGE "Open this file" ;
SIZE 10
ENDMENU
SEPARATOR
MENUITEM "&Exit..." ACTION oWnd:End() RESOURCE "Exit2"
ENDMENU
MENUITEM "&Edit"
MENU
MENUITEM "Primero" FILE ".\FiveRes\test26\adddbf_26.png"
SEPARATOR
MENUITEM "Segundo"
SEPARATOR
MENUITEM "Tercero" FILE ".\FiveRes\test26\addprg_26.png"
ENDMENU
//oMenu:AddMDI()
oMenu:AddHelp( "FiveWin Resources Editor", "FiveTech 1993-2007" )
ENDMENU
return oMenu
//----------------------------------------------------------------------------//
MENU oMenu 2013 FONT oFont_daten COLORMENU MENUCOLOR1, MENUCOLOR2 HEIGHT 3 COLORSEPARATOR MENUCOLOR3 COLORSELECT MENUCOLOR1,MENUCOLOR2,MENUCOLOR1 COLORLEFT MENUCOLOR2 COLORRIGHT MENUCOLOR1 NOBORDER
MENU oMenu 2013 FONT oFont_daten COLORMENU MENUCOLOR1, MENUCOLOR2 COLORSEPARATOR MENUCOLOR3 COLORSELECT MENUCOLOR1,MENUCOLOR2,MENUCOLOR1 COLORLEFT MENUCOLOR2 COLORRIGHT MENUCOLOR1 NOBORDER ADJUST
byte-one wrote:LEFTWIDTH has only in top-level menu an affect!
You must calculate the error-linenumber -9 as i compile with #pragma begindump!
hOldFont = SelectObject( lpdis->hDC, hFont );
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 49 guests