Re: opening windoze

new topic     » goto parent     » topic index » view thread      » older message » newer message

Sorry, timmy, but i am doing other things, and don't have time or real
incentive to learn C or gui programming so i can understand what
win32lib/windoze wants. I was hoping someone else here knew and would simply
tell me how to do it. Since the Eu program knows it's own name, can't it
just

procedure onOpen
setWindow(mainwindow,notActive)
setWindow(mainwindow,Minimize)

etc

 How do i do that?

Kat


----- Original Message -----
From: timmy <tim781 at PACBELL.NET>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Monday, January 17, 2000 4:34 AM
Subject: Re: opening windoze


> Hi Kat, I'm still beginner. But, I think you need
> to use david's sendMessage() function.
> By going through win95
> this way, I think win95 will give focus back to
> the program you were typing in after your other euphoria program
> minimizes.( Use onPaint()  ). Using sendMessage() this way is like
clicking on
> the
> minimize button at the top of win95 programs. You don't need (I think)
> to know anything about the previous window/program because
> win95 knows.  I'm going to start learning
> c_func() and c_proc().
>
> ...Timmy
>
> Kat wrote:
>
> > Nope, it made the Eu minimize ok, but it still took focus, the icon
button
> > on the taskbar is depressed. Losing the focus on the app i am typing in
gets
> > to be really annoying, and i want this Eu code to launch transparently.
> >
> > Kat
> >
> > ----- Original Message -----
> > From: Dan B Moyer <DANMOYER at PRODIGY.NET>
> > To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
> > Sent: Sunday, January 16, 2000 10:53 PM
> > Subject: Re: opening windoze
> >
> > > Kat,
> > >
> > > Would just replacing "Normal" with "Minimize" in WinMain work for you?
It
> > > makes a minimized icon on the taskbar, but I'm not sure about NOT
taking
> > > focus away from current app.
> > >
> > > Dan Moyer
> > >
> > >
> > >
> > > >I was wondering how to open a window in win95, minimized, AND without
it
> > > >taking focus away from whatever current app is on top.
> > > >
> > > >-- code --
> > > >
> > > >-- Windows 'Hooks'
> > > >onOpen[MainWindow]=routine_id("onOpenMainWindow")
> > > >onEvent[MainWindow]=routine_id("onEventMainWindow")
> > > >onClose[MainWindow]=routine_id("onCloseMainWindow")
> > > >
> > > >-------------------------------------------------------
> > > >
> > > >WinMain(MainWindow,Normal)
> > >
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu