1. Windows console

Hi everyone

After creating a full screen window with IDE, is it possible to write on 
that window instead of on the windows console I tried the folling code 
and many variations as to where the statements are positioned. In the 
best of case, I see my window with nothing on it. Then after Enter, the 
window console with my text.  Here is the code:

include get.e
include Win32Lib.ew
without warning
object x,i
	x = "Jos"

constant SLWindow2 = createEx( Window, "Serge Window", 0, Default, 
Default, 400, 300, 0, 0 )
	
procedure ABC()

WinMain( SLWindow2,Maximize )
	position (10,10)
	puts(1,x)
	puts (1,"\n")
	i = wait_key()
end procedure

ABC()

--  code generated by Win32Lib IDE v0.17.0

new topic     » topic index » view message » categorize

2. Re: Windows console

> Thanks to Brian and Bernie. I have a slightly better understanding of
> how to built and use a window. I'l read more thoroughly the win32lib
> documentation. However, IDE does shield you a lot about the actual
> coding (good or bad?)

IMHO, I think one should learn at least the basics of Win32Lib first, then
step up to using the IDE. This way you're not programming in a paradigm,
that is knowing that it works, but not knowing *how* it works

new topic     » goto parent     » topic index » view message » categorize

3. Re: Windows console

--- Greg Haberek <g.haberek at comcast.net> wrote:

> > Thanks to Brian and Bernie. I have a slightly better understanding of
> > how to built and use a window. I'l read more thoroughly the win32lib
> > documentation. However, IDE does shield you a lot about the actual
> > coding (good or bad?)
> 
> IMHO, I think one should learn at least the basics of Win32Lib first, then
> step up to using the IDE. This way you're not programming in a paradigm,
> that is knowing that it works, but not knowing *how* it works

I think it's probably better to start with the IDE, the same as it's probably
better to start with something like win23lib before trying to write your own
wrappers for the windows API.

The IDE will handle a lot of little details that will frustrate you and slow
you down.  As you code, the windows paradigm will become clearer, and you'll
also start to understand how to deal with it in Euphoria.  Just because you
start crawling, doesn't mean you can't learn to walk.

Matt Lewis



__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu