Next to Slider, Button, ScrollFrame templates there are "Frame" template.
You are probably looking for sth like a DialogBoxTemplate.
Check:
http://www.wowinterface.com/forums/s...54&postcount=1
You will find a pretty deep list of Frame templates. Try them out. I would start with "UIPanelDialogTemplate". You can actually combine templates.
Thus you can do this:
Lua Code:
local sf = CreateFrame("ScrollFrame", "MYSCROLLFRAMENAME", UIParent, "UIPanelScrollFrameTemplate, UIPanelDialogTemplate")
That works for all templates that do not counterfit each other. One template my do artwork, the other may do functional stuff etc.