VpeSetResourceString

<< Click to Display Table of Contents >>

Navigation:  Management Functions >

VpeSetResourceString

Previous pageReturn to chapter overviewNext page

[Windows platform only; not supported by the Community Edition]

If you set the GUILanguage to UserDefined, you can specify freely any text in any language for each element of the GUI.

void VpeSetResourceString(

VpeHandle hDoc,

int resource_id,

LPCTSTR text

)

VpeHandle hDoc

Document Handle

int resource_id

possible values are:

Constant

Value

Comment

VRSCID_COPY_OF

0

"Copy %u of %u"

VRSCID_PAGE_OF

1

"Page %u of %u"

VRSCID_BAND

2

"Band %u" (i.e. "stripe" = "band")

VRSCID_ERROR

3

"Error"

VRSCID_WARNING

4

"Warning"

VRSCID_PRINTING

5

"Printing"

VRSCID_CANCEL

6

"Cancel"

VRSCID_OK

7

"Ok"

 

 

 

Printer Setup Dialog:

 

 

VRSCID_PD_TITLE

8

dialog title "Print"

VRSCID_PD_PRINTER

9

group box "Printer"

VRSCID_PD_PROPERTIES

10

button "&Properties"

VRSCID_PD_NAME

11

printer name combo box "&Name:"

VRSCID_PD_RANGE

12

group box "Print range"

VRSCID_PD_ALL

13

radio button "&All"

VRSCID_PD_PAGES

14

radio button "Pa&ges"

VRSCID_PD_FROM

15

static text "&from:"

VRSCID_PD_TO

16

static text "&to:"

VRSCID_PD_COPIES

17

group box "Copies"

VRSCID_PD_NUM_COPIES

18

static text "Number of &copies:"

VRSCID_PD_COLLATE

19

static text "C&ollate"

 

 

 

Tooltips:

 

 

VRSCID_PRINT_DOC

20

"Print the Document"

VRSCID_FULL_PAGE

21

"Show Full Page"

VRSCID_PAGE_WIDTH

22

"Fit Page Width"

VRSCID_ZOOM_IN

23

"Zoom in"

VRSCID_ZOOM_OUT

24

"Zoom out"

VRSCID_FIRST_PAGE

25

"Go to First Page"

VRSCID_PREV_PAGE

26

"Go to Previous Page"

VRSCID_NEXT_PAGE

27

"Go to Next Page"

VRSCID_LAST_PAGE

28

"Go to Last Page"

VRSCID_HELP

29

"Help on Control"

VRSCID_INFORMATION

30

"Program Information"

VRSCID_CLOSE_PREVIEW

31

"Close Preview"

VRSCID_GRID

32

"Show / Hide Grid"

VRSCID_ENTER_PAGENO

33

"enter page# with mouse-click"

VRSCID_ZOOM_FACTOR

34

"Zoom Factor"

VRSCID_STATUS

35

"Status"

VRSCID_READY

36

"Ready"

VRSCID_EMAIL

37

"eMail"

VRSCID_OPEN

38

"Open"

VRSCID_SAVE

39

"Save"

 

 

 

Other:

 

 

VRSCID_ERROR_OPEN

40

"Could not open file!"

VRSCID_ERROR_WRITE

41

"Could not write file!"

 

 

 

Usage Help Dialog:

 

 

VRSCID_USAGE

42

"Usage" (caption of the help-dialog)

VRSCID_MOUSE

43

"Mouse"

VRSCID_USAGE_MOUSE

44

<all mouse usage text, lines separated by "\n" (carriage return or linefeed)>

VRSCID_KEYBOARD

45

"Keyboard"

VRSCID_USAGE_KEYBOARD

46

<all keyboard usage text, lines separated by "\n" (carriage return or linefeed)>

LPCTSTR text

The text that shall be used for the specified resource.