A conundrum:
 
Using ResEdit, I specified a dialog with a Minimize box and a Maximize box
(the boxes at the right of the title bar).
 
Looking at the .rc file, and after some experimentation, it appears that the
Min Box was specified by dialog style WS_GROUP, and the max box by dialog
style WS_TABSTOP.
 
This seemed odd, so I looked up the MSDN resource, which said that the
styles to use were WS_MINIMIZEBOX  and WS_MAXIMIZEBOX - which made more
sense. So I edited the .rc file and changed WS_GROUP to WS_MINIMIZEBOX and 
WS_TABSTOP to WS_MAXIMIZEBOX. Then I ran ResEdit against the .rc file - and
the min/max boxes were there OK. 
 
But would ooDialog be OK with such a change? So I changed the styles in the
.rc file that one of my ooDialog programs uses - WS_GROUP to WS_MINIMIZEBOX
(the dialog didn't have a maxbox). It worked fine. 
 
So I conclude that for Dialog styles in a .rc file, to get a min box I can
use either style, and ditto for a maxbox.
 
Is this a valid conclusion?
 
Thanks,
Oliver

 

 

<<attachment: winmail.dat>>

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to