Further to my last: I'm using ooDialog 4.2.0 7120 (which I'm almost sure is
the latest download - although the download file says it's build 7123). 
 
I did some further investigation with the simplest program possible (and
with the default ResEdit dialog but with an icon resource added):
 
        ================================================
        /* Test a Dialog Icon with an RcDialog */
 
        .Application~setDefaults("O", "myDlg.h", .false)
        dlg = .MyDlg~new("myDlg.rc", "IDD_DIALOG1")
        dlg~execute("SHOWTOP", "IDI_ICON1")
 
        ::requires ooDialog.cls
 
        ::class myDlg subclass RcDialog
        ================================================

This worked fine. My dialog icon was there at the top left of the dialog.

Then I compiled a resource DLL (using ResEdit) from the .rc file used with
the above, and ran the same program but as a ResDialog:

        ================================================
        /* Test a Dialog Icon with a ResDialog */
        .Application~setDefaults("O", "myDlg.h", .false)
        dlg = .MyDlg~new("myDlg.dll", "IDD_DIALOG1")
        dlg~execute("SHOWTOP", "IDI_ICON1")

        ::requires ooDialog.cls

        ::class myDlg subclass ResDialog
        ================================================

My dialog icon did not appear - I got the default dialog icon. 

Any thoughts?

Many thanks,
Oliver

 

 

 

 

________________________________

From: Oliver Sims [mailto:[email protected]] 
Sent: 07 September 2011 17:11
To: Open Object Rexx Users
Subject: [Oorexx-users] ooDialog - Problem with Dialog Icon in a ResDialog.


I'm having problems getting a dialog icon to appear with a ResDialog. I'm
using the selfsame icon that I use with an RcDialog dialog. No errors are
reported. 
 
Before setting off on further investigations, I just wondered if there are
any known problems with dialog icons for ResDialogs.
 
Thanks,
Oliver


------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
Oorexx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to