The MASM Forum

Projects => Easy Code IDE 32/64-bit => Topic started by: greco558 on August 24, 2012, 06:03:17 AM

Title: Change font edit box
Post by: greco558 on August 24, 2012, 06:03:17 AM
I am not able to change the font in a visual project. After making an edit control the properties will let you select another font but after clicking ok it reverts back to old font. Did something change with this new release?
Title: Re: Change font edit box
Post by: rsala on August 25, 2012, 07:00:03 AM
Hi greco558,

Is the edit control inside a Window or a DialgoBox? If inside a Window, you should not have any problem. If inside a DialogBox, then you cannot change any children font (please see the Easy Code help File).

DialogBoxes are proportionally sized to its font, that is the reason why child controls always have their parent's font and cannot be changed. You just can change the DialogBox font and you will see how it and its children are proportionally resized.

Regards.
Title: Re: Change font edit box
Post by: xandaz on August 25, 2012, 07:49:16 AM
   I didnt know that.... WM_SETFONT,font,0 doesnt work??
Title: Re: Change font edit box
Post by: rsala on August 25, 2012, 11:34:43 PM
Not in Easy Code for controls which are children of a DialogBox.
Title: Re: Change font edit box
Post by: greco558 on August 27, 2012, 09:40:28 PM
Rsala,

Thanks, that explains it my other programs are windows this is a dialog.
By the way easycode is one of the best IDE's I have used, it makes
programming GUI's quick and easy so you can concentrate on your
own code. Thank you for such a great IDE..

John   
Title: Re: Change font edit box
Post by: rsala on August 28, 2012, 04:41:49 AM
greco558,

Thank you very much for your kind words. I'm really glad to hear that, since that was the original idea for programming Easy Code.

Regards!