Diff of /ooDialog/trunk/examples/propertySheet.tabControls/PropertySheetDemo.rex [r9762] .. [r9763] Maximize Restore

  Switch to side-by-side view

--- a/ooDialog/trunk/examples/propertySheet.tabControls/PropertySheetDemo.rex
+++ b/ooDialog/trunk/examples/propertySheet.tabControls/PropertySheetDemo.rex
@@ -98,7 +98,7 @@
     -- created without the SHAREIMAGES styles, so it takes care of releasing the
     -- image list when the program ends.
     image = .Image~getImage(sd"rc\propertySheetDemoListView.bmp")
-    imageList = .ImageList~create(.Size~new(16, 16), .Image~toID(ILC_COLOR8), 4, 0)
+    imageList = .ImageList~create(.Size~new(16, 16), COLOR8, 4, 0)
     if \image~isNull,  \imageList~isNull then do
         imageList~add(image)
         lv~setImageList(imageList, SMALL)
@@ -175,10 +175,10 @@
     -- Create and set the ImageList for the tree view items
     sd = locate()
     image = .Image~getImage(sd"rc\propertySheetDemoTreeView.bmp")
-    imageList = .ImageList~create(.Size~new(32, 32), .Image~toID(ILC_COLOR8), 10, 0)
+    imageList = .ImageList~create(.Size~new(32, 32), COLOR8, 10, 0)
     if \image~isNull,  \imageList~isNull then do
           imageList~add(image)
-          tv~setImageList(imageList, .Image~toID(TVSIL_NORMAL))
+          tv~setImageList(imageList, NORMAL)
           image~release
     end
 
@@ -504,7 +504,7 @@
    image = .Image~getImage(sd"rc\propertySheetDemoTab.bmp")
 
    -- Create our image list, as a masked image list.
-   flags = .DlgUtil~or(.Image~toID(ILC_COLOR24), .Image~toID(ILC_MASK))
+   flags = 'COLOR24 MASK'
    imageList = .ImageList~create(.Size~new(16, 16), flags, 10, 0)
    if \image~isNull,  \imageList~isNull then do
       -- The bitmap is added and the image list deduces the number of images