IonicWind Software

IWBasic => General Questions => Topic started by: Brian on November 18, 2010, 01:40:17 PM

Title: Dialog Applications
Post by: Brian on November 18, 2010, 01:40:17 PM
Hi,

I've just started my latest program as a Dialog Application. All OK so far, except
that I want to draw a circle or ellipse, and it doesn't show. Is this possible,
or not? If not, I suppose I can always go back to a normal window app

Brian
Title: Re: Dialog Applications
Post by: LarryMc on November 18, 2010, 02:52:08 PM
I don't think you can draw on a dialog just like you can't set the color of the dialog.
The workaround in the past has been to create a captionless child window on the dialog(the same size as the client area of the dialog) and do your coloring and drawing on it.

To me if you are going to draw on your main form it doesn't make sense to use a dialog.

Now if it was a modal dialog as part of a bigger program and you needed/wanted to draw/color then it makes sense.
To me anyway.

LarryMc
Title: Re: Dialog Applications
Post by: Brian on November 18, 2010, 04:07:35 PM
Thanks, Larry,

I thought that maybe that was the case. I'll just move to a normal window, then,
and swap things about a bit - well, a lot!

Brian