Maybe I can help out. This is how I make the frame movable in rActionBarStyler:
lua Code:
--holder frame
local bar = CreateFrame("Frame","rABS_ExtraActionBar",UIParent,"SecureHandlerStateTemplate")
bar:SetSize(barcfg.buttonsize,barcfg.buttonsize)
bar:SetPoint(barcfg.pos.a1,barcfg.pos.af,barcfg.pos.a2,barcfg.pos.x,barcfg.pos.y)
bar:SetHitRectInsets(-cfg.barinset, -cfg.barinset, -cfg.barinset, -cfg.barinset)
bar:SetScale(barcfg.barscale)
cfg.applyDragFunctionality(bar,barcfg.userplaced,barcfg.locked)
--the frame
local f = ExtraActionBarFrame
f:SetParent(bar)
f:ClearAllPoints()
f:SetPoint("CENTER", 0, 0)
f:EnableMouse(false)
f.ignoreFramePositionManager = true
--the button
local b = ExtraActionButton1
b:SetSize(barcfg.buttonsize,barcfg.buttonsize)
bar.button = b
The drag function is this one:
http://code.google.com/p/rothui/sour...config.lua#186
Unlocking/locking is done via slash command:
http://code.google.com/p/rothui/sour...s/slashcmd.lua
If additional styling is needed I have an example for this aswell:
http://code.google.com/p/rothui/sour...er/core.lua#68
Maybe that helps.