GEOS SDK TechDocs
|
|
5.1 FoamProgressDialog Instance Data
|
5.3 Using a FoamProgressDialog
A
FoamProgressDialogClass
object (and its children) should be contained within its own resource. The resource should remain unattached to the application tree. The routine
PutUpDialogViaUIThread()
will take care of copying and attaching the group of objects.
To set up your template, perform the following steps:
notDetachable
.
FoamProgressDialogClass
object.
descriptionText
instance field with text describing the action.
statusText
with text to reside along the status indicator.Code Display 2-12 FoamProgressDialog Template
@start FoamProgressDialogTemplate, notDetachable;
@chunk TCHAR DescriptionText[] = "While, we're waiting a series of dots will appear below."
@chunk TCHAR StatusText[] = "Here are the dots: ";
@object FoamProgressDialogClass ProgressSample = {
FPDI_descriptionText = @DescriptionText;
FPDI_statusText = @StatusText;
GII_attrs = (@default | GIA_SYS_MODAL) & ~GIA_MODAL;
GI_states = (@default) & ~GS_USABLE;
HINT_DRAW_IN_BOX;
}
@end FoamProgressDialogTemplate;
GEOS SDK TechDocs
|
|
5.1 FoamProgressDialog Instance Data
|
5.3 Using a FoamProgressDialog