■ 아래 한글의 도구 모음줄 표시하는 방법을 보여준다.
▶ 예제 코드 (VB)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
pHwpCtrl.SetToolBar 0, "FilePreview, Print, Separator, Undo, Redo, Separator, Cut, Copy, Paste," + _ "Separator, ParaNumberBullet, MultiColumn, SpellingCheck, HwpDic, Separator, PictureInsertDialog, MacroPlay1" pHwpCtrl.SetToolBar 1, "DrawObjCreatorLine, DrawObjCreatorRectangle, DrawObjCreatorEllipse," + _ "DrawObjCreatorArc, DrawObjCreatorPolygon, DrawObjCreatorCurve, DrawObjTemplateLoad," + _ "Separator, ShapeObjSelect, ShapeObjGroup, ShapeObjUngroup, Separator, ShapeObjBringToFront," + _ "ShapeObjSendToBack, ShapeObjDialog, ShapeObjAttrDialog" pHwpCtrl.SetToolBar 2, "StyleCombo, CharShapeLanguage, CharShapeTypeFace, CharShapeHeight," + _ "CharShapeBold, CharShapeItalic, CharShapeUnderline, ParagraphShapeAlignJustify, ParagraphShapeAlignLeft," + _ "ParagraphShapeAlignCenter, ParagraphShapeAlignRight, Separator, ParaShapeLineSpacing," + _ "ParagraphShapeDecreaseLeftMargin, ParagraphShapeIncreaseLeftMargin" pHwpCtrl.ShowToolBar True |