Well its been awhile since my last project, but with coming expansions alot had to be relearned to support Changes in the WoTLK patch 3.2.
One simple task needed to tackle is using Default UI minimap optons for buttons and calling frames with <framename>:ShowOrHide();
Click Red ? Minimap button to show simple frame
/drshow 1 "Show or Hide simple frame"
/drshow 2 "Show or Hide minimap button frame"
Drshow.toc "table of contents"
Drshow.xml "renders the simple frame"
DrshowForm.xml "renders minimap button frame"
Drshow.lua "contains simple script for calling frames by name and number" I.E. /drshow 1
Readme.txt "contains change log for releases"
Hopefully the example will help someone somewhere add a minimap button to there addon LMAO. I say this because i spent 31 hours learning to do so myself and think if i had an expample like this i would have been done in one hour.
Drshow aka Drshamy - Dragonblight - Failure is Not an Option F.i.N.a.O