
05-03-2007, 11:45 PM
|
Incubator
|
 |
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
|
|
showimg() is simply exists for compatibility and is really just creating a TShowImg object. The GuiShowImgCtrl object extends GuiControl then implements TShowImg which adds support for offset inside of the control itself and interactions with other GUI Controls.
The findimg() function creates a new image (TShowImg) of the specified ID if one cannot be found. However, objects that extend GuiControl are all static and can be changed from distant objects, this might or might not be useful in your case.
In the end, I would suggest using GuiShowImgCtrl because it inherits all features of GuiControl, obviously designed for GUIs. Using showImg() will not give you these features. |
|
|