Hi, I haven't an IDE environment here so I can't test if ATTR_LEFT is correct for panels, but I can suggest you to try with this:
SetPanelAttribute (auxpanelHandle, ATTR_LEFT, 10000);
With SetPanelAttribute you don't need to pass the "name" (panelID) of the panel since its instance is fully identified by the panel handle.
Different is the case for SetCtrlAttribute: you must pass control name (controlID defined in the UIR editor) to identify the individual control onto the panel pointed to by the panel handle, since every panel can have multiple controls.
Remember that, if you want to fully set panel position (top and left) you can use SetPanelPos (panelHandle, top, left) function.
Finally, on every function you can obtain the corresponding function panel by pressing Ctr+P (or right-clicking and selecting Open function panel or something likethis): in case you had tried with your line the editor would have warned you of the incorrect number of parameters This is an useful tool to help writing code: you don't need to rely only on your memory.
Hope this helps
Roberto
Message Edited by Roberto Bozzolo on 11-05-2005 09:40 AM