Search found 85 matches: getactivewindow

Return to advanced search

Re: Tftp - Directory no retorna la hora - Funciona a Medias

... Si encuentra un primer fichero lo carga en memoria para analizar { ultdir = dirtemp; hexUltAccessOfFile = ultdir.ftLastWriteTime ; //MessageBox( GetActiveWindow(), ultdir.cFileName, "1er Fich encontrado", 0x40 ); if( fichero ) { fprintf( fichero, "%s\t%X\t%X\n", dirtemp.cFileName, ...
by Verhoven
Mon Jun 24, 2013 5:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Tftp - Directory no retorna la hora - Funciona a Medias
Replies: 5
Views: 1416

ShellExecute nao abre excel

Tentei assim: cArqExcel:="c:\temp\test.xls" ShellExecute( 0, "open", cArqExcel ) // nao abre ShellExecute(GetActiveWindow(), "open", "excel", cArqExcel,"",5) // nao abre ShellExecute(0, "OPEN", cArqExcel, "", "", ...
by Sistem
Tue Mar 12, 2013 4:35 pm
 
Forum: All products support
Topic: ShellExecute nao abre excel
Replies: 2
Views: 1481

Re: MsgYesNoCancel

... this application"  static function MsgYesNoCancel( cMsg, cTitle ) return MessageBox( GetActiveWindow(), cMsg, cTitle, ; nOR( MB_ICONQUESTION, MB_YESNOCANCEL ) ) ***************************************** The options appear in ...
by acwoo1
Mon Dec 05, 2011 1:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MsgYesNoCancel
Replies: 10
Views: 2125

Re: msgyesno - ESC - é possível?

... está esta función: /* **************************************************** */ static function MsgYesNoCancel( cMsg, cTitle ) return MessageBox( GetActiveWindow(), cMsg, cTitle, ; nOR( MB_ICONQUESTION, MB_YESNOCANCEL ) ) /* **************************************************** */ Pruébala.
by FiveWiDi
Wed Oct 27, 2010 10:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: msgyesno - ESC - é possível?
Replies: 3
Views: 537

Re: "No Default Printer" message on Windows 7 64-bit

... linking in printer.prg and inserting a code to inspect the return value of the following elseif cModel == nil      ::hDC  := GetPrintDefault( GetActiveWindow() ) ::hDC seems to always be 0 eventhough GetActiveWindow() returns a valid handle iv ComDlgXErr() in printer.prg always ...
by hua
Mon Sep 27, 2010 7:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: "No Default Printer" message on Windows 7 64-bit
Replies: 18
Views: 6132

Re: Se necesita ayuda en el wiki !

... puestas muchas, pero muchas tildes que faltaban. Parece que había mucha copia directa sin corregir, desde los chm de FiveWin. Ahora ya está bien. GetActiveWindow() GetAllWin() GetASyncKey() Getbkcolor() GetCapture() GetCaretPos() GetClassName() GetClientRect() GetClpData() GetCommError() GetCoors() ...
by Cgallegoa
Sun Feb 21, 2010 10:35 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Se necesita ayuda en el wiki !
Replies: 12
Views: 5504

Re: Capturar la Pantalla y salvarla como JPG ( Para Antonio)

... lo ve el usuario: he usado la siguiente secuencia : DibWrite( "screen.bmp", DibFromBitmap( WndBitmap( oWnd:hWnd ) ) ) , ; ShellExecute( GetActiveWindow() ,nil, cFilePath(GetModuleFileName(GetInstance())) + "screen.bmp",'','',5) ) El resultado que me muestra es la primera pantalla ...
by FiveWiDi
Wed Jan 27, 2010 9:47 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Capturar la Pantalla y salvarla como JPG (para Antonio)
Replies: 5
Views: 1257

Re: Capturar la Pantalla y salvarla como JPG ( Para Antonio)

... lo ve el usuario: he usado la siguiente secuencia : DibWrite( "screen.bmp", DibFromBitmap( WndBitmap( oWnd:hWnd ) ) ) , ; ShellExecute( GetActiveWindow() ,nil, cFilePath(GetModuleFileName(GetInstance())) + "screen.bmp",'','',5) ) El resultado que me muestra es la primera pantalla ...
by devtuxtla
Wed Jan 27, 2010 9:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Capturar la Pantalla y salvarla como JPG (para Antonio)
Replies: 5
Views: 1257

Re: preview alpha 2

... , "" ) WriteProfString( "windows", "device", cOption ) SysRefresh() PrinterInit() ::oDevice:hDC := GetPrintDefault( GetActiveWindow() ) SysRefresh() WriteProfString( "windows", "device", cPrinter ) RETURN nil //----------------------------------------------------------------------------// ...
by dobfivewin
Thu Jan 14, 2010 10:08 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: preview alpha 2
Replies: 2
Views: 2033

Re: Problemas con TRichEdit

... //----------------------------------------------------------------------------// static function MsgYesNoCancel( cMsg, cTitle ) return MessageBox( GetActiveWindow(), cMsg, cTitle, ; nOR( MB_ICONQUESTION, MB_YESNOCANCEL ) ) //----------------------------------------------------------------------------// ...
by triumvirato
Fri Dec 11, 2009 7:17 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problemas con TRichEdit
Replies: 13
Views: 4781

Nombre del recurso compartido

... resuelto con ALLTRIM(GetEnv("LOGONSERVER"))+'\' Ahora solo me falta el nombre de la impresora compartida. Probé con GetPrintDefault( GetActiveWindow() ), pero no hay manera. ¿ Es posible ? Mil gracias LORENZO.
by Loren
Thu Dec 10, 2009 11:12 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Nombre del recurso compartido
Replies: 0
Views: 207

Re: GetPrintDC()

... M. Giordano // Insert here the function to create the report // oWnd:End() // George - To close current preview oDevice:hDC := GetPrintDefault( GetActiveWindow() ) SysRefresh() WriteProfString( "windows", "device", cPrinter ) RETURN nil
by jbrita
Tue Nov 24, 2009 11:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: GetPrintDC()
Replies: 4
Views: 2708

Varias posibilidades con TICKETS

...      oPrn:say(1,1,'empenzando a imprimir...')      ...     ENDIF ¿La variable vRuta se podría depurar con vRuta:=GetPrintDefault( GetActiveWindow() ) b) NO compartida en RED ¿ El código sería el mismo que en la opción anterior ? A la espera de respuestas, saluda LORENZO Fdez. Cádiz, ...
by Loren
Wed Nov 18, 2009 12:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Varias posibilidades con TICKETS
Replies: 1
Views: 504

Vista Printing issue

... PRINTERNAME is the name of the printer to use as acquired from the PRINTERSETUP() function as follows: PRINTERSETUP() hDC := GetPrintDefault( GetActiveWindow() ) PRINTERNAME := PRNGETNAME() If, however in the vista environment, I call Tprinter:new with the 2cnd parameter to force the printer ...
by don lowenstein
Tue Oct 06, 2009 6:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Vista Printing issue
Replies: 2
Views: 626

Eliminar archivos con la API de Windows ShFile()

... #define FO_DELETE 0x0003 #define FOF_ALLOWUNDO 0x0040 #define FOF_NOCONFIRMATION 0x0010 y el programa hace esto: FUNCTION Borra( cFile ) ShFile( GetActiveWindow(), FO_DELETE, cFile + Chr( 0 ), Nil, nAnd( FOF_ALLOWUND, FOF_NOCONFIRMATION)) RETURN .T. la idea seria borrar estos archivos temporales ...
by VPOZO
Thu Sep 03, 2009 11:07 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Eliminar archivos con la API de Windows ShFile()
Replies: 7
Views: 1232
PreviousNext

Return to advanced search