Search found 115 matches: showwindow

Return to advanced search

Re: WebView window

... does not allow the use of coordinates Maybe this may work: #define SW_HIDE 0 #define SW_NORMAL 1 local oWebView := TWebView():New() ShowWindow( oWebView:GetWindow(), SW_HIDE ) ... then do the required startup code and finally: ShowWindow( oWebView:GetWindow(), SW_NORMAL )
by Antonio Linares
Mon Dec 26, 2022 7:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: WebView window
Replies: 16
Views: 969

Re: Frase se ajuste a un ancho

... from: c:\fwteam\samples\crist.prg => TCWND:HANDLEEVENT( 217 ) Called from: .\source\classes\WINDOW.PRG => _FWH( 3680 ) Called from: => SHOWWINDOW( 0 ) Called from: .\source\classes\WINDOW.PRG => TCWND:ACTIVATE( 1090 )
by Antonio Linares
Fri Oct 07, 2022 11:05 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Frase se ajuste a un ancho
Replies: 22
Views: 2598

Re: Google Chrome Pages as files

The code is simple: 1. Through EnumChildWindows() I get a list of handles of visible windows 2. For each handle I show the window in full screen ShowWindow(hWn, 3) and through SaveWindow(hWn, path+file name, width, height,) I save the DC windows to a file (bmp/jpg/png) Everything is fine, but ...
by Natter
Fri Apr 22, 2022 5:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Google Chrome Pages as files
Replies: 4
Views: 552

Re: Programa Oculto

... Set Date British Set Delete On Set Epoch to 1956 Set Century On SET DECIMALS TO 2 hWnd := FindWindow( 0, "Finder 1.0") IF hWnd != 0 ShowWindow( hWnd, 1 ) MsgAlert("Ya esta corriendo la aplicacion","Advertencia") QUIT ENDIF PRINTER oPrn to "CFDPRINTER" ...
by servicomver
Mon Jul 29, 2019 2:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Programa Oculto
Replies: 4
Views: 974

A problem < keep on top >

... with the same effect. FUNCTION TOP_CLOSE(nType) hWnd := FindWnd( "Keeping at top" ) // Title !!! IF hWnd != NIL IF ISICONIC( hWnd ) SHOWWINDOW( hWnd, SW_RESTORE ) ENDIF IF nType = 1 SETFOREGROUNDWINDOW( hWnd ) ENDIF IF nType = 2 SENDMESSAGE( hWnd, WM_CLOSE ) ENDIF //ELSE // MsgAlert( ...
by ukoenig
Sat Nov 11, 2017 4:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: A problem < keep on top >
Replies: 1
Views: 569

Re: Referencing a dialog from a different class ?

It returns a numeric. So you can't use :hide()

oWdlg:hide()

cannot be replaced with

hDlg := GetActiveWindow( )
hDlg:hide()


However, this does work:

hDlg := GetActiveWindow( )
ShowWindow( hDlg, 0 ) // Hides
then
ShowWindow( hDlg, 1 ) // Shows it again in normal size

Thank you.
by TimStone
Fri Sep 22, 2017 4:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Referencing a dialog from a different class ?
Replies: 11
Views: 2295

Re: Ayuda DLL

Antonio buenos dias, gracias por la ayuda Agrego la VM.LIB (xharbour), y me manda estos errorres :( :( Proyecto: Kept5, Entorno: BorlandDLL: [1]:Harbour.Exe Source\Tseguro.prg /m /n /es2 /ki /iP:\32bits\xharbour\include;P:\32bits\FWH\INCLUDE /i /oObj\Tseguro.c xHarbour Compiler build 1.2.1 (SimpLex)...
by ricardog
Thu Aug 31, 2017 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6286

Re: EJECUTAR UN .EXE

... ::hwndcalc := FindWindow( 0, ::cTitlecalculator ) IF ::hwndcalc <> 0 EXIT ENDIF SYSREFRESH() nLoop += 1 ENDDO // Ocultando la calculadora ShowWindow( ::hwndcalc, 0 ) // Recupera el ancho y alto del área cliente //aRect := GetClientRect( ::hwndcalc ) // Redimensiona el picturebox al ancho ...
by Claudio Leiva
Mon Mar 27, 2017 9:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: EJECUTAR UN .EXE
Replies: 13
Views: 2231

Re: SHOWWINDOW, SETFOREGROUNDWIND

How?
by vilian
Fri Mar 03, 2017 4:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SHOWWINDOW, SETFOREGROUNDWIND
Replies: 2
Views: 494

Re: SHOWWINDOW, SETFOREGROUNDWIND

Enrico,
problem Solved!
Many thanks Again
Marco
by MarcoBoschi
Fri Mar 03, 2017 3:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SHOWWINDOW, SETFOREGROUNDWIND
Replies: 2
Views: 494

SHOWWINDOW, SETFOREGROUNDWIND

... in program MyWin. Is it possible? Bye Marco #include "Fivewin.ch"FUNCTION MOSTRA()    LOCAL cTitle := "MyWin"    SHOWWINDOW( FINDWND( cTitle ), 9 )    SETFOREGROUNDWINDOW( FINDWND( cTitle ) )    RETURN NIL#define GW_HWNDFIRST 0#define ...
by MarcoBoschi
Fri Mar 03, 2017 3:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: SHOWWINDOW, SETFOREGROUNDWIND
Replies: 2
Views: 494

UEStudio Comportamientro del exe muy estraño

... run = Execute Application makef = Show Makefile [Execute Application] Title = Execute $T Cmd0 = $(Command Line Arguments) Depends = $T ShowWindow = 1 DisplayConsole = $(DCon) [Show Makefile] Title=Show makefile Cmd0=uestudio makefile ShowWindow=1 DisplayConsole=0 [InsertFiles] [FileGroups] ...
by Busmatic_wpb
Wed Feb 22, 2017 11:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: UEStudio Comportamientro del exe muy estraño
Replies: 7
Views: 1322

Re: Lista Processi/Programmi in esecuzione

... IF ISEXERUNNING( CFILENAME( HB_ARGV( 0 ) ) ) MsgWait(NOME_PROGRAMMA_TITLE+" è già in esecuzione !","Attenzione") SHOWWINDOW( FINDWINDOW( 0, NOME_PROGRAMMA_TITLE ), 9 ) SETFOREGROUNDWINDOW( FINDWINDOW( 0, NOME_PROGRAMMA_TITLE ) ) RETURN NIL ENDIF La finestra prima ...
by Silvio.Falconi
Fri Feb 17, 2017 12:42 pm
 
Forum: All products support
Topic: Lista Processi/Programmi in esecuzione
Replies: 10
Views: 3320

Re: multiple defintions, forst defined here

I changed the folder I was using to start hbmk2 to where the source code sits, and now am getting undefined instead of duplicates This is due, I guess, to not pulling in the correct library(ies). I added trace to see what was going on (thanks for that tip). Does this and the console listing below he...
by lmheimendinger
Mon Dec 05, 2016 11:37 pm
 
Forum: FiveWin for CA-Clipper
Topic: multiple defintions, forst defined here
Replies: 15
Views: 19744

Re: Abrir EXCEL

Funcionó perfecto!!
Mil gracias.

LORENZO.

PD.: Para aquellos que tengan curiosidad, solo tuve que añadir al final de mi código lo siguiente:

hWnd:=oExcel:hWnd
ShowWindow(hWnd, 3) //SW_MAXIMIZE=3 SW_NORMAL=1 SW_MINIMIZE=6
BringWindowToTop(hWnd)

... y listo!!
by Loren
Thu Jun 02, 2016 11:42 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Abrir EXCEL
Replies: 3
Views: 718
Next

Return to advanced search