command overview for my dockwinow library

Everything else that doesn't fall into one of the other PB categories.
localmotion34
Enthusiast
Enthusiast
Posts: 665
Joined: Fri Sep 12, 2003 10:40 pm
Location: Tallahassee, Florida

command overview for my dockwinow library

Post by localmotion34 »

here are the commands so far in my lib. i thought id post them and get a general opinion on the syntax and style. please given contructive and honest opinions.

Code: Select all

createdockedwindow(parenthandle,x,y,Width,Height,Title$); Create a window in a "Docked" state 

dock_window(dockhandle,parenthandle,x,y,Width,Height);Docks Your Window and Makes it Immobile 

undockwindow(dockhandle,x,y,Width,Height);Undocks Your Window and Makes it a Free Toolwindow

undockToMDI(dockhandle,MDIGadget,newMDIx,newMDIy,newMDIWidth,newMDIHeight) ;Undocks Your Window and sets its parent to a local MDIgadget 

dynamicRelease(dockhandle,MDIGadget);undocks the window and automatically resizes the MDI Gadget to the MDI width + the width of the dockwindow

dynamicDock(dockhandle,MDIGadget);docks the window and automatically resizes the MDI Gadget to the MDI width - the width of the dockwindow

tell me what you think.




Code: Select all

!.WHILE status != dwPassedOut
! Invoke AllocateDrink, dwBeerAmount
!MOV Mug, Beer
!Invoke Drink, Mug, dwBeerAmount
!.endw