Window Handle / Maximize dos window ??? 
Author Message
 Window Handle / Maximize dos window ???

Is clipper 5.2e DOS capable of providing the Dos window Handle Number
?

i know this can't be done normally .. is there a Lib out there that
can give me this though ??

OR

I need a lib to restore a minimized dos window to whatever it's
previous state was ??

Must work in 98/me/Nt/XP

I need to pass the handle to a VB program so that when the VB program
does something it can re-maximize the Dos window !

Thanks in advance !!

Pete



Sun, 17 Jul 2005 04:08:55 GMT  
 Window Handle / Maximize dos window ???

Quote:
> Is clipper 5.2e DOS capable of providing the Dos window Handle Number
> ?
...
> I need a lib to restore a minimized dos window to whatever it's
> previous state was ??

> Must work in 98/me/Nt/XP

> I need to pass the handle to a VB program so that when the VB program
> does something it can re-maximize the Dos window !

Have you thought about it in reverse?  What if a VB program starts the DOS
app & gets the handle that way (from CreateProcess or something).  It would
probably be easier to have a Windows program handle the interaction between
the parts than to try and get Clipper access to Windows internals.

--
Ray Marron



Sun, 17 Jul 2005 05:16:21 GMT  
 Window Handle / Maximize dos window ???
hi,

Quote:
> Is clipper 5.2e DOS capable of providing the Dos window Handle Number
> ?

not build in "windows" handle

Quote:
> i know this can't be done normally .. is there a Lib out there that
> can give me this though ??

what you need is to call "USER32.DLL"

Quote:
> I need to pass the handle to a VB program so that when the VB program
> does something it can re-maximize the Dos window !

if you realy want to do something like that, have a look at the Thread
"How to prevent clipper app from starting a second time under Windows 98?"
you will find some Xbase++ Routine showing how to call "USER32.DLL" to
"find a Window" and bring it to Front/Back.

greetings by OHR
Jimmy



Sun, 17 Jul 2005 06:15:12 GMT  
 Window Handle / Maximize dos window ???
Remixer

You will be able to control a Clipper window with next version of
Vouch32.lib.

--
Pritpal Bedi, INDIA    |    a student of software analysis & design
http://www.vouchcac.com    |    Vouch, the software that grows with you
http://www.vouchcac.com/harbour/harbour.htm    |    [x]Harbour Demo
http://www.vouchcac.com/vouch32/vouch32.htm    |    Vouch32 . Windows
Extended Library for Clipper, XBase++ & xHarbour



Sat, 16 Jul 2005 21:54:45 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Newbie unable to kill window after Maximizing window.

2. maximizing windows in motif and windows

3. On Windows, don't use a maximize box if the Windows is not resizable

4. error handling / DOS, Windows NT

5. Windows - getting Tkinter or wxPython window handle?

6. win32ui: The window handle does not specify a valid window

7. getting window handle (MS Windows) from PPST

8. compiling summer87 in a dos window of windows 95 b

9. Run Windows prg From Dos window app?

10. Running Fortran application as a DOS Windows under Windows 3.1 or 95

11. Code to maximize console window?

12. Code to maximize console window?

 

 
Powered by phpBB® Forum Software