Search found 85 matches: getactivewindow

Return to advanced search

Antonio,

Así la estoy pasando:

cPathAddons := Strtran(alltrim(CurDir()+"\")," ","_")

ShellExecute( GetActiveWindow() , "open", CurDir()+"\addons\addons1.exe", cPathAddons )


Un Saludo,
Joaquín
by jmartial
Fri Mar 09, 2007 4:50 pm
 
Forum: FiveWin para Pocket PC
Topic: Problema urgente con nueva versión
Replies: 5
Views: 1853

Problema urgente con nueva versión

... Desde que instalé la nueva versión, tengo un problema que no había visto porque no daba error. Desde mi aplicación llamo a otra: ShellExecute( GetActiveWindow() , "open", CurDir()+"\addons\addons1.exe", "DirQueQuier") Y en la otra recibo el parámetro con esto: Function Main() Parameters cPath ...
by jmartial
Thu Mar 08, 2007 5:53 pm
 
Forum: FiveWin para Pocket PC
Topic: Problema urgente con nueva versión
Replies: 5
Views: 1853

Prueba de esta forma: IF GetPrintDefault(GetActiveWindow())<>0 oPrn:=PrintBegin("",.F.,,,.T.) oPrn:SetPage(1) PrintEnd() ELSE MsgAlert("Configure una impresora como predeterminada"+CRLF+ ; "o no podrá visualizar los reportes.","Precaución!") ...
by Alfredo Arteaga
Thu Mar 08, 2007 3:34 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: PrnGetName() falla
Replies: 5
Views: 1434

otra de menu para Jose Murugosa y Silvio en Italia

... foco o activa * asi de esta manera puedo aplicar el menu a cualquier ventana que yo * seleccione previamente o lo solicite. IF !( cx := GetProp( GetActiveWindow(), "WP" ) ) == 0 oWin := GetAllWin() [cx] ELSE oWin := Twindow() oWin:hWnd := GetActiveWindow() ENDIF *---------- fin MENU oMenu FOR ...
by sildata
Tue Dec 26, 2006 12:47 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: otra de menu para Jose Murugosa y Silvio en Italia
Replies: 2
Views: 1391

... "windows", "device", cCbx ) SysRefresh() PrinterInit() DeleteDC( oDevice:hDC ) // Sugestion by Enrico M. Giordano oDevice:hDC := GetPrintDefault( GetActiveWindow() ) oWnd:End() // To close current preview // Insert here the function to create the report SysRefresh() WriteProfString( "windows", ...
by George
Mon Aug 21, 2006 11:43 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: PDF From Preview
Replies: 22
Views: 9185

GetWindow/GetModuleFileName

... return nil function bldMenu() LOCAL oMenu MENU oMenu MENUITEM "Start" ; ACTION f_code() ENDMENU return oMenu func f_code LOCAL hWnd := GetWindow( GetActiveWindow(), GHW_HWNDFIRST ) LOCAL cTask := "" *-------------------------------------------- while hWnd != 0 cTask = GetModuleFileName( GetWindowWord( ...
by Otto
Fri Jul 28, 2006 8:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: GetWindow/GetModuleFileName
Replies: 3
Views: 889

... is my code. Regards Otto func ziRechnung LOCAL cHSTIni := ".\INI\WINHOTEL.INI" LOCAL WIN_HOT_VER := "" LOCAL nPos := "" LOCAL hWnd := GetWindow( GetActiveWindow(), GHW_HWNDFIRST ) LOCAL cTask :="" LOCAL ktowahlaufruf := 0 local cTest :="" *-------------------------------------------- WIN_HOT_VER ...
by Otto
Thu Jul 27, 2006 6:20 pm
 
Forum: FiveWin for CA-Clipper
Topic: VISTA BETA 2- ShowWindow
Replies: 12
Views: 4548

You can checking this:

local cLink := "http://www.lesoir.be"
SHELLEXECUTE (GetActiveWindow(), nil, cLink, '', '', 5)
by Manuel Valdenebro
Wed Jun 21, 2006 11:51 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ole with IE and xharbour
Replies: 3
Views: 1088

Problems with shellexecute()

Hello, Today , i have problems , when i try to use : ? Shellexecute(GetActiveWindow(),"open",xlsfile) // returns 42 , not a error The xlsfile is created with ClipWks (for xharbour) and can be launched from windows with clicking on it. FUNC MAIN(cFile) IF cFile ...
by Frank Demont
Fri Jun 16, 2006 9:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problems with shellexecute()
Replies: 1
Views: 614

Aplicación en exclusiva

... puedan manipular libremente la pda y solo quieren que éjecuten su aplicación en exclusiva. Para ello, esto nos puede servir. ON INIT SHFullScreen(GetActiveWindow() , 0x0020 ) Válido para Pocket y WCE. Saludos Toni Sales Adjunto imágenes con y sin la aplicacion en exclusiva. Aplicacndo lo anterior ...
by tsales
Wed Jun 07, 2006 6:35 am
 
Forum: FiveWin para Pocket PC
Topic: Aplicación en exclusiva
Replies: 1
Views: 802

... GetProfString( "windows", "device" , "" ) WriteProfString( "windows", "device", cCbx ) SysRefresh() PrinterInit() oDevice:hDC := GetPrintDefault( GetActiveWindow() ) SysRefresh() WriteProfString( "windows", "device", cPrinter ) RETURN nil Manuel, Haz concemplado el cambio de resolucion por eltipo ...
by wmormar
Sat May 27, 2006 4:34 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: PREVIEW + SELECCION IMPRESORA
Replies: 5
Views: 1836

... GetProfString( "windows", "device" , "" ) WriteProfString( "windows", "device", cCbx ) SysRefresh() PrinterInit() oDevice:hDC := GetPrintDefault( GetActiveWindow() ) SysRefresh() WriteProfString( "windows", "device", cPrinter ) RETURN nil
by Manuel Valdenebro
Sat May 27, 2006 2:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: PREVIEW + SELECCION IMPRESORA
Replies: 5
Views: 1836

... Aca va mi GetTasks() //----------------------------------------------------------------------------// Function GetTask() local hWnd := GetWindow( GetActiveWindow(), GHW_HWNDFIRST ) local aTasks := {} local cTask while hWnd != 0 #ifdef __CLIPPER__ cTask = GetModuleFileName( GetWindowWord( hWnd, ...
by Jorge Jaurena
Mon Apr 24, 2006 12:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Saber si la aplicacion ya esta corriendo
Replies: 3
Views: 869

... James --------------------- Posted: 12/25/03 Evans, Try putting this line in your main prg before open any databases. xHd := GetPrintDefault( GetActiveWindow() ) Regards and Merry Christmas -- Kleyber Derick Batalha Ribeiro Diretor de Produtos TK Informídia Ltda email: kleyber@tkinformidia.net ...
by Richard Chidiak
Tue Mar 14, 2006 8:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: tdosprn usb port
Replies: 7
Views: 1941

... James --------------------- Posted: 12/25/03 Evans, Try putting this line in your main prg before open any databases. xHd := GetPrintDefault( GetActiveWindow() ) Regards and Merry Christmas -- Kleyber Derick Batalha Ribeiro Diretor de Produtos TK Informídia Ltda email: kleyber@tkinformidia.net ...
by James Bott
Tue Mar 14, 2006 5:29 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: tdosprn usb port
Replies: 7
Views: 1941
PreviousNext

Return to advanced search