Tuesday, March 10, 2009

MDI Programming with MiniGui [Updated 12th March 2009]

Having pushed the very stable HMG to it's limits and as documented in my previous articles, I was encouraged by Sudip and decided to take a serious look at HMG Extended ie MiniGui as most of the apps that I have in mind must be MDI in nature..

This is what I started With


What did I do Next ?

I took the codes from FAS4HMG and copied the Project folder under the MiniGui folder. I was then able to recompile it as a MIDI apps with some minor adjustments.

Code Snippet
DEFINE WINDOW MainForm ;
AT 0,0 ;
WIDTH 600 ;
HEIGHT 480 ;
TITLE 'FAS4MiniGUI' ;
MAIN ;
MDI
DEFINE MAIN MENUEX

Opening First Child Window, containing a BROWSE


Opening two Child Windows & CASCADE


Tiling Vertically

Code Snippet
TILE MDICHILDS VERTICAL

Tiling Horizontally

Code Snippet
TILE MDICHILDS HORIZONTAL

More to come ...

No comments:

Post a Comment