Hello everybody,
I am new FWH 8.09 user and I try to build application with our local Croatian codepage characters.
q: Can someone teach me how to get Croatian fonts on button bar. All fonts are OK in all other aspects (indexing, seek, browse, say, get) but not on button bar.
Here is piece of known source and screen shoot with wrong fonts on button bar and good fonts on bottom of screen.
Thanks,
Boris Shibila
*-----------------------------------------------------------------------------
#include "FiveWin.ch"
REQUEST HB_LANG_HR1250
REQUEST HB_CODEPAGE_HR1250
static oWnd
function Main()
local oBar, oPopup, oBtn
public oBrw, cString, oWndMain
HB_langselect( "HR1250" )
HB_SetCodePage( "HR1250" )
*
*
*
SetBalloon( .T. ) // Balloon shape required for tooltips
DEFINE WINDOW oWndMain TITLE "TC2008" MDI
DEFINE BUTTONBAR oBar OF oWndMain SIZE 60, 60 2007
DEFINE BUTTON OF oBar RESOURCE "attach" PROMPT "ŠĐŽČĆ"
DEFINE BUTTON OF oBar RESOURCE "telefon" PROMPT "Telefon"
SET MESSAGE OF oWndMain TO "Codepage characters: ŠĐŽČĆb " CLOCK KEYBOARD 2007
ACTIVATE WINDOW oWndMain MAXIMIZED
return nil
*-----------------------------------------------------------------------------