Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > IDL > Re: pState stru...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 4 Topic 218 of 233
Post > Topic >>

Re: pState structure without widgets?

by Gianluca Li Causi <licausi@[EMAIL PROTECTED] > May 13, 2008 at 08:32 AM

On May 13, 4:48 pm, David Fanning <n...@[EMAIL PROTECTED]
> wrote:
> Gianluca Li Causi writes:
> > I'm developing an application that should be used in widget-mode as
> > well as in non-widget-mode, basing on the user's choice.
>
> > As usual, I'm using the pState structure to communicate between widget
> > functions and store widget's values, but how can I still use this
> > variable in the non-widget-mode?
>
> > I've originally coded the program in widget-mode, now I would try to
> > make it work in non-widget-node without to re-write the full code....
>
> > Could someone help?
>
> Probably not, since I lack the imagination to even think how
> this could even happen. :-)
>
> I'd write the darn thing as an object, though, with
> a GUI method for displaying the widget part of the
> program. Your pState structure then becomes the
> object member data, and you can use the program with
> or without a graphical front end.
>
> Cheers,
>
> David

I see, you're right that I must fully separate graphical front end
from the rest of the code, nd this can be well done only with object
coding...

Thanks
Gianluca
 




 4 Posts in Topic:
pState structure without widgets?
Gianluca Li Causi <lic  2008-05-13 07:26:41 
Re: pState structure without widgets?
David Fanning <news@[E  2008-05-13 08:48:48 
Re: pState structure without widgets?
Gianluca Li Causi <lic  2008-05-13 08:32:47 
Re: pState structure without widgets?
Robbie <retsil@[EMAIL   2008-05-14 15:58:31 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Oct 11 12:14:08 CDT 2008.