Search found 85 matches: getactivewindow

Return to advanced search

... FMimeDec(cTemp,cTemp2) //Esta es la funcion que nos permite leer la imagen en la base de datos if file(cTemp2) ShellExecute(GetActiveWindow(),"open",cTemp2) else MsgAlert("No ha sido posible leer la imagen de la base de datos" ,oApp:cEmpresa) endif else MsgInfo("No existe ...
by ricardog
Tue Jul 15, 2008 1:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Necesito gaurdar un BMP nen un campo BLOB en una tabla Mysq
Replies: 3
Views: 901

Problem with Editor of Source

... nFor-- ENDDO // nFor endif MsgAlert(elTexto,"No hay mas coincidencias con ") retu .t. // 27/06/2005 FUNCTION busca2Script(UNO,DOS) local hWnd := GetActiveWindow() Local nFor:=1,cLine Local nLines IF VALTYPE(UNO)="U";retu .t.;endif IF VALTYPE(oMemo)="U";retu .t.;endif nLines:=len(oMemo:aLines) ...
by Vladimir Zorrilla
Wed Jun 18, 2008 10:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Problem with Editor of Source
Replies: 1
Views: 1526

Editor de Codigo con syntaxis coloreada interperte y texto i

... nFor-- ENDDO // nFor endif MsgAlert(elTexto,"No hay mas coincidencias con ") retu .t. // 27/06/2005 FUNCTION busca2Script(UNO,DOS) local hWnd := GetActiveWindow() Local nFor:=1,cLine Local nLines IF VALTYPE(UNO)="U";retu .t.;endif IF VALTYPE(oMemo)="U";retu .t.;endif nLines:=len(oMemo:aLines) ...
by Vladimir Zorrilla
Wed Jun 18, 2008 10:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Editor de Codigo con syntaxis coloreada interperte y texto i
Replies: 1
Views: 2163

Re: Scanner automation

... *********************************************************** METHOD New( cFile, hWnd ) CLASS TSCAN32 IF Empty( hWnd ) ::hWnd := GetActiveWindow() ENDIF IF Empty( cFile ) ::cFile := "TestTscan32.jpg" ELSE ::cFile := cFile ENDIF tw_setapptitle("Software XP Office Packages") tw_setapplicationkey(00000000) ...
by Marco Turco
Sat Jun 07, 2008 1:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Scanner automation
Replies: 7
Views: 4137

... EndDo MsgRun("") DbCloseall() Use \WINCAP\TEMP\CONTROL NEW ZAP APPEND BLANK REPLACE CONTROL->FECHAJUSTI WITH DFIN Shellexecute(GetActiveWindow(), 'Open',"\WINCAP\TEMP\justenva.EXE",,,1) DBcloseall() sYSREFRESH() RETURN NIL FUNCTION LISTb(PathData, dfin) LOCAL nCont, oDbf, nsum, ...
by Ramón J.
Sun May 25, 2008 8:56 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: parse error at '@' ?
Replies: 11
Views: 2150

... does suggest me that??? This function is for the LAST object used by FW. Antonio, functions of FW don't have that, it should be something similar GetActiveWindow, GetFocus (), etc, see the examples that I passed you. Remember, I can have several open windows, and any one can be the window activates
by ericmagaldi
Thu Apr 24, 2008 6:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Read Handle of any type Window ACTIVE
Replies: 15
Views: 3802

... 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 Manuel Valdenebro
Thu Feb 28, 2008 4:30 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: RPREVIEW modificada por Manuel Valdenebro ?
Replies: 8
Views: 3370

... considered that a main window or dialog has to be created before) If you try this without creating a window, Windows is returning zero: MsgInfo( GetActiveWindow() ) In order to have GetTasks() running fine, call it from a running window: DEFINE BUTTON OF oBar ACTION MsgInfo( Len( GetTasks() ) )
by Antonio Linares
Wed Jan 30, 2008 9:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: GetTasks
Replies: 4
Views: 818

Thank you. If I use printer-class it does not work.
What I find out is that printer-class uses GetPrintDC( GetActiveWindow()...
but the function TextOut works.

TextOut( oDevice:hDC, 100, 100,"Does work , horizontal printing" )

Now I can do what I wanted - the real CC.
by Otto
Thu Nov 29, 2007 10:13 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printer metafile
Replies: 13
Views: 2580

... * ( pFilter + wLen + 1 ) = 0; _bset( ( char * ) &ofn, 0, sizeof( OPENFILENAME ) ); ofn.lStructSize = sizeof( OPENFILENAME ); ofn.hwndOwner = GetActiveWindow(); ofn.lpstrFilter = pFilter; ofn.lpstrFile = pFile; ofn.lpstrInitialDir = pDir; ofn.lpstrTitle = pTitle; ofn.lpstrCustomFilter = 0; ...
by sysctrl2
Thu Nov 29, 2007 7:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Selección de múltiples archivos
Replies: 4
Views: 1718

... } } SCAN_DeallocateBuffer(lpScanBuffer); } state = FALSE; SCAN_SetSoftTrigger(hScanner, &state); } else { MessageBox( GetActiveWindow(), L"Error en SCAN_Enable", L"Ok", 0 ); } } else { MessageBox( GetActiveWindow(), L"Error en SCAN_Open", L"Ok", 0 ); } } #pragma ENDDUMP
by cdmmaui
Sun Sep 09, 2007 11:19 am
 
Forum: FiveWin for Pocket PC
Topic: FWPPC and MC3000 scan button
Replies: 13
Views: 5603

... "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 edu_parada
Wed Aug 29, 2007 7:07 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: seleccionar impresora en preview
Replies: 3
Views: 1126

Antonio:

Don't know if those docs refer to a MAPI logon dlg or similar, because
passing a 0 instead of GetActiveWindow() (or even passing Outlook's hWnd) makes no difference.

Or the docs are wrong, or MS is screwing us up!

Thanks!

Luis
by Luis Krause
Thu May 31, 2007 7:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MAPISendMail forcing calling FWH app MODAL
Replies: 3
Views: 2206

MAPISendMail forcing calling FWH app MODAL

... to behave MODLESS instead of forcing the calling app to remain MODAL till it's done? I noticed (in mapi.c) that the call to mapisendmail uses GetActiveWindow() as one of it's parameters. From our app I tried doing a SetActiveWindow() to Outlook's hWnd (which I already know and I'm positive ...
by Luis Krause
Thu May 31, 2007 6:45 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MAPISendMail forcing calling FWH app MODAL
Replies: 3
Views: 2206

MC1000

... } } SCAN_DeallocateBuffer(lpScanBuffer); } state = FALSE; SCAN_SetSoftTrigger(hScanner, &state); } else { MessageBox( GetActiveWindow(), L"Error en SCAN_Enable", L"Ok", 0 ); } } else { MessageBox( GetActiveWindow(), L"Error en SCAN_Open", L"Ok", 0 ); } } HB_FUNC (STILLRUN) ...
by ramirezosvaldo
Mon Mar 26, 2007 5:26 pm
 
Forum: FiveWin para Pocket PC
Topic: MC1000
Replies: 8
Views: 3865
PreviousNext

Return to advanced search