Shared Samples

Try out source code samples stored in Bitbucket repositories.
Showing results for 
Search instead for 
Do you mean 

Application textView

by Technical Evangelist on ‎09-09-2015 07:23 AM - edited on ‎03-29-2016 11:25 AM by Anonymous (308 Views)

Example Type

Application

 

Purpose

To demonstrate different EML frame-parts offered by the ERDAS IMAGINE 8.5 Developers´ Toolkit

 

Files

textView.c        (C source code)

textView.eml    (EML script)

eml.ico (ERDAS icon)(Windows Only)

textView.dsp    (Visual C++ Project)(Windows Only)

 

Description

 

The textView programming example is intended to showcase various frameparts that are made available to the developer by ERDAS IMAGINE 8.5 Developers´ Toolkit. The following frameparts are used in the EML script included as a part of this example:

 

  1. i) Menu

 

  1. ii) Toolbar

 

iii) Status Bar

 

  1. iv) Filename part

 

  1. v) Radio button

 

  1. vi) Checkbox

 

vii) Edit box

 

viii) Button

 

  1. ix) Meternumber part

 

 

Additionally, this example demonstrates how to write an application function (e.g., ShowFileHeader) and how to add callbacks (e.g., ‘okPartCB’ for the OK button) for frame-parts. These functions serve as means of communication between the EML script and the application. This example demonstrates how to use the following functions:

 

eeml_ParseVa

 

eeml_FindPart

 

eeml_AddCallback

 

 

Interface

 demo.jpg

 

 

Note

 

            Change the Header Size in order to see more than 1 bytes.

 

 

Source Code:

https://bitbucket.org/HGDN/hgdn_erdas_imagine/src/e1ade3b7d148b0f2f1aa6427044dfa4bce6226ee/App_textV...

Overview
Contributors