[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LOGO-L> dll question



Note that someone recently sent me some code to change
the MSWLogo Graphics Screen title. But the problem
was after exiting the Editor it gets refreshed to
the standard name. This is due to the library I'm using
and it would take some hacking (which I don't plan on doing
right now) to work around it.

neuwirth wrote:
> 
> i need help from an expert
> for callung dll's and using the windows api in mswlogo.
> 
> at the end of this message
> you will find 2 procedures which allow to hide and show
> the commander window from within logo.
> 
> for running some demos, this can be quite nice.
> i would like tod add 2 more twists.
> 
> i want to give the graphics window a caption of my choice
> (instead of MSWLogo)
> and i want to be able to hide the menu line in the graphics window.
> 
> is there anybody out there
> knowing this stuff well enough to help me?
> 
> erich neuwirth
> 
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 
> to hidecommander
> ; Load the User System Kernel
> dllload "user32.dll
> ; Get Handle to Commander Window (Note args are in REVERSE order)
> make "hwnd dllcall [l FindWindowA s [Commander] l 0]
> ; Hide commander Window
> make "status dllcall (list "l "ShowWindow "l "0 "l :hwnd)
> dllfree
> end
> 
> to showcommander
> ; Load the User System Kernel
> dllload "user32.dll
> ; Get Handle to Commander Window (Note args are in REVERSE order)
> make "hwnd dllcall [l FindWindowA s [Commander] l 0]
> ; Show commander Window
> make "status dllcall (list "l "ShowWindow "l "5 "l :hwnd)
> dllfree
> end
> 
> --
> Erich Neuwirth <neuwirth@smc.univie.ac.at>
> Computer Supported Didactics Working Group, Univ. Vienna
> Visit our SunSITE at http://sunsite.univie.ac.at
> 
> ---------------------------------------------------------------
> Please post messages to the Logo forum to logo-l@gsn.org.  Mail
> questions about the list administration to logofdn@gsn.org.  To
> unsubscribe send    unsubscribe logo-l    to majordomo@gsn.org.

-- 
===============================================================
George Mills
email: mills@softronix.com
http://www.softronix.com
The www page contains some very powerful educational software.
Our single most important investment is our kids.
---------------------------------------------------------------
Please post messages to the Logo forum to logo-l@gsn.org.  Mail
questions about the list administration to logofdn@gsn.org.  To
unsubscribe send    unsubscribe logo-l    to majordomo@gsn.org.



Global SchoolNet Foundation - Linking Kids Around the World!
Copyright GSN - All Rights Reserved - Comments & Questions
Visit GSN's Global Schoolhouse for more exciting learning resources!
Search our Site - Home