Lescasse Consulting
 Home    Company    News    Prices    Download    Buy    Forums   
Read Me
Buy
Forums
Resume
AntiSpam 1.2
wBackup 1.11
NetAccess 2.0
Visual APL 1.0 
APL+Win 8.0 
APL+Win Products 
APL+Win Objects™ 
APL+Win Training 
     • Packages
     • Feedback
     • World Map
     • Updates
     • Pack 1
     • Pack 2
     • Pack 3
     • Pack 4
     • Pack 5
     • Pack 6
     • Pack 7
     • Pack 8
     • Pack 9
     • Pack 10
     • Pack 11
     • Pack 12
     • Pack 13
     • Pack 14
APL+Web Services
APL+Web Component 
APL+ History
Dyalog.Net Tutorial
Conferences 
Powerpoint
White Papers
Web Hosting
References
Links
 
APL+Win Objects™ 6.0

TADO5
TADO5 Tutorial
TAPLDraw5
TAPLEdit5
TAPLSession5
TAbale5
TAboutBox5
TAccess5
TAgent5
TBlatMail5
TButton5
TCDO5
TCRC5
TCancelButton5
TCheck5
TCheckGroup5
TChildForm5
TChooseColor5
TChooseFont5
TClipBoard5
TClock5
TCodeStats5
TColors5
TCombo5
TComboDrive5
TComboFilter5
TComboList5
TComboTree5
TCommandBar5
TCommandButton5
TControlClass5
TCueCard5
TDHTML5
TDHTMLEditor5
TDateTime5
TDateTimeFr5
TDates5
TDemoHandlers5
TDisplay5
TDOS5
TDualSelect5
TEdit5
TEditAmount5
TEditDir5
TEditEnter5
TEditFile5
TEditGrid5
TEditList5
TEditListview5
TEditMenu5
TEditNum5
TEditSelect5
TEditSpin5
TEmail5
TError5
TExampleForm5
TExcel5
TExcel5 Tutorial
TFindReplace5
TFOne5
TFTP5
TFTP5 Tutorial
TFileCompare5
TFileMenu5
TFileMenuDef5
TFlatButton5
TForm5
TFormClass5
TFormEditor5
TFrame5
TGetDir5
TGif5
TGifForm5
TGifWb5
TGoMenu5
TGraphX5
TGrid5
TGridDisplay5
TGridPrint5
TGUID5
THLine5
THTML5
THTML5 Tutorial
THTTP5
THelp5
THelpMenu5
TImagelist5
TInfo5
TIniFile5
TInstall5
TInternet5
TJpg5
TJpgWb5
TLabel5
TList5
TListview5
TLock5
TLogs5
TMAPI5
TMath5
TMDIForm5
TMSOutlook5
TMaskEdit5
TMedia5
TMenu5
TMessage5
TModalCall5
TMsgBox5
TNavigator5
TNetwork5
TNonVisualClass5
TODBC5
TOKButton5
TObject5
TOpenFile5
TOption5
TOptionGroup5
TOutlook5
TOutlookMail5
TOWCSpread5
TPDF5
TPFKeys5
TPage5
TPassword5
TPicture5
TPing5
TPopupMenu5
TPowerpoint5
TPowerpoint5 Tutorial
TPrinter5
TProgress5
TProgressDlg5
TQuestion5
TRegistry5
TRegistryKey5
TResource5
TRichEdit5
TSPX5
TSQLDMO5
TScheduler5
TScroll5
TSelector5
TSpinner5
TSplitter5
TStatus5
TStopWatch5
TTest5
TTestError5
TTextFile5
TTimer5
TTip5
TTipForm5
TTLI5
TToolBar5
TToolbox5
TToolsMenu5
TTrackbar5
TTranslate5
TTree5
TVLine5
TViewMenu5
TWebBrowser5
TWebServer5
TWebSite5
TWebSiteNet5
TWinMenu5
TWord5
TYesNo5
    Visits:  2438 (25 on line) Last Update: Nov 23, 2003  
    APL+Win Training Pack 4    Printer Friendly  
How to write Dialog Boxes
An APL+Win Spy
Download APL+Win Training Pack 4 (642 K)

The APL+Win Training Pack SETUP4.ZIP file includes:
  • an 83 pages WinWord document full of APL+Win hints and techniques
  • a SPY.W3 workspace (an APL+Win spy application + utilities)
  • a SPYMIN.W3 workspace with the 4 basic functions to spy any form
  • a TEMPLATE.W3 workspace with a GuiTemplate dialog box model function

Microsoft Visual C++® includes a Spy++® application which helps C++ developers spy any GUI object and find about events and messages occuring on this window. Moreover, with Spy++ you can select the events and Windows messages you want to spy through a complete message selection form.

Our SPY.W3 workspace contains a reusable APL+Win Spy application which allows you to perform similar spying on APL+Win objects as Spy++ does on C++ forms and objects.

By reading the DISK4.DOC WinWord training document you will learn how to use low level Windows API calls to subclass any of your APL+Win forms in order to enhance their system menu with the following new options:

Selecting Events in this new system menu will help you select any of your form and form children objects as well as any events you want to spy on these objects, through the use of the following dynamic form:

Then, when selecting the new system menu Spy option, you will immediately start spying your form: messages will start flooding over your APL session as they really occur in your application and in the exact order they really occur. This APL+Win Spy will serve you as a very valuable help in writing APL+Win applications as well as a good APL+Win form's debugger. Here is a sample APL session spy output:



Exit on fmEvents.fEv.ck27 (Œwarg=fmEvents.fEv.ck29)
Unfocus on fmEvents.fEv.ck27
Focus on fmEvents.fEv.ck29
Paint on fmEvents.fEv.ck27
MouseUp on fmEvents.fEv.ck29 (Œwarg=0.375 0.75 1 0 0)
Click on fmEvents.fEv.ck29
MouseMove on fmEvents.fEv.ck29 (Œwarg=0.375 0.75 0 0 0)
MouseMove on fmEvents.fEv.ck29 (Œwarg=0.375 2.5 0 0 0)
MouseMove on fmEvents.fEv.ck29 (Œwarg=0.1875 9.875 0 0 0)
MouseMove on fmEvents.fEv.ck48 (Œwarg=0.125 2.375 0 0 0)
MouseMove on fmEvents.fEv.ck47 (Œwarg=0.6875 9.75 0 0 0)
MouseMove on fmEvents.fEv.ck66 (Œwarg=0.4375 4.625 0 0 0)
MouseMove on fmEvents (Œwarg=145 500 0 0 0)
MouseMove on fmEvents.lsClass (Œwarg=0.75 7.75 0 0 0)
MouseMove on fmEvents (Œwarg=145 619 0 0 0)
MouseMove on fmEvents.ckSync (Œwarg=0.6875 12 0 0 0)
MouseMove on fmEvents.ckSync (Œwarg=0.6875 10.625 0 0 0)
MouseMove on fmEvents (Œwarg=124 512 0 0 0)
MouseMove on fmEvents.ckSync (Œwarg=0.6875 0.375 0 0 0)
MouseDown on fmEvents.ckSync (Œwarg=0.625 1 1 1 0)
Exit on fmEvents.fEv.ck29 (Œwarg=fmEvents.ckSync)
Unfocus on fmEvents.fEv.ck29
Focus on fmEvents.ckSync
MouseUp on fmEvents.ckSync (Œwarg=0.625 1 1 0 0)
Click on fmEvents.ckSync
MouseMove on fmEvents.ckSync (Œwarg=0.625 1 0 0 0)
Paint on fmEvents.fEv.ck29
MouseMove on fmEvents.ckSync (Œwarg=0.5625 1.5 0 0 0)
MouseMove on fmEvents.ckSync (Œwarg=0.125 2.375 0 0 0)
MouseMove on fmEvents.bnNone (Œwarg=1.0625 3.25 0 0 0)
MouseMove on fmEvents.bnNone (Œwarg=0.4375 3.375 0 0 0)
MouseMove on fmEvents (Œwarg=82 546 0 0 0)
MouseMove on fmEvents.bnAll (Œwarg=0.8125 4 0 0 0)
MouseMove on fmEvents (Œwarg=56 550 0 0 0)
MouseMove on fmEvents.bnCancel (Œwarg=0.5625 5.75 0 0 0)
MouseMove on fmEvents (Œwarg=31 572 0 0 0)
MouseMove on fmEvents.bnOK (Œwarg=1.1875 7.5 0 0 0)
MouseMove on fmEvents.bnOK (Œwarg=0.625 7.625 0 0 0)
MouseDown on fmEvents.bnOK (Œwarg=0.625 7.625 1 1 0)
Exit on fmEvents.ckSync (Œwarg=fmEvents.bnOK)
Unfocus on fmEvents.ckSync
Focus on fmEvents.bnOK
MouseUp on fmEvents.bnOK (Œwarg=0.625 7.625 1 0 0)
Click on fmEvents.bnOK
Close on fmEvents
Unfocus on fmEvents
Unfocus on fmEvents.bnOK
Hide on fmEvents
Destroy on fmEvents


The SETUP4.ZIP file also contains the following useful APL+Win training information and reusable software:

  • eplanations about how to write APL+Win dialog boxes
    • how to pass data from APL to the dialog
    • how to return data from the dialog to APL
    • how to implement style-sheets techniques for consistency
    • how to encapsulate callbacks
    • how to write Resize handlers
  • a reusable GuiTemplate function to serve as a start point for developing any APL+Win form
  • reusable Events, Properties and Methods functions to return classes events, properties and method names
  • a reusable SystemMenu function to enhance any APL+Win form's system menu
  • how to write APL+Win User Commands with parameters and options
  • how to write a Spy application in APL+Win
  • how to use several low level Windows API calls (AppendMenu, GetSystemMenu, CheckMenuItem ...)
  • how to write APL+Win filters and how to handle low level Windows messages
  • how to write dynamic forms
  • how to best use events in an APL+Win applications
 This entire Web site has been dynamically generated by APL+Win Objects™ 6.0
 For all questions contact:  info@lescasse.com
 Copyright © 2003-2005 Lescasse Consulting. All rights reserved.