IceDesign has been updated in version 1.2.0
New features:
A few changes in the code generated in the Event Loop,
indentation according to the containers in the interface.
Add Anchors with
Lock Top, Left, Bottom & Right checkboxes. To denote which edges are fixed and in which directions each gadget should stretch on a resize event. A demo is posted in the
2nd post here
Add an option "
Use Short Name for Controls" in Settings.
It allows to use the Short Name for the Controls Instead of the Full Name (ex: #Btn, #Opt,...).
Here is a list of short names:
Window,Btn,BtnImg,Calend,Canv,CanvCont,Check,Combo,Cont,Date,Edit,ExpCombo,ExpList,ExpTree,Frame,Hyper,
Img,IPAdd,ListIcon,ListView,OpenGL,Opt,Panel,Progres,Scint,ScrlArea,ScrlBar,Spin,String,Txt,Track,Tree,Web
Add an option "
Rename Ctrl with Caption Name" in Settings.
It allows to auto rename the Controls Name when the Caption is Changed.
The option is only available for Buttons, CheckBoxes and Options (ex: #Btn_CaptionName)
Add support for some
Windows Controls Styles.
In IceDesign, these flags are added below the PB constants.
To identify them, their names begin with # (ex: #BS_Bottom) to apply it when creating the Gadget
or with _# (ex: _#BS_Bottom used for OptionGadget) to apply it after with SetWindowLongPtr.
The styles are visible in the Designer (WYSIWYG) and written in the generated code.
It is possible to use "
+#CRLF$+" (as is without space) in captions to manage multiline. in combination with multiline gadget style.
Ex: Caption = Button+#CRLF$+In 2 Lines ==> "Button" +#CRLF$+ "In 2 Lines"
Option available for Button, CheckBox, Option, Text and StringGadget (Same as editor but without going through AddGadgetItem).
Add an option "
Enable DPI Aware for Preview" in Settings. It is also written at the bottom of the code created under IDE Options.
And other small things...
Quite a lot of improvement.
Thanks to blueb for the short name and auto-raname controls idea and his proposal list of short names.
And Thanks to jacdelad for his suggestion to use Windows Controls Styles in addition, with a list of starting styles. To be completed as needed.