Search found 85 matches: getactivewindow

Return to advanced search

Re: ¿Cómo enviar a Excel reporte con TPrinter?

... := Super:New( cDoc, lUser, lPreview,, lModal, lSelection ) Endif Return Self METHOD Activate() CLASS TMPrinter Local oPagina Local hActWnd := GetActiveWindow() ::hOldRes := GetResources() #ifdef __CLIPPER__ SET RESOURCES TO "preview.dll" #else SET RESOURCES TO "prev32.dll" ...
by ManolinM2008
Fri Jun 19, 2009 12:02 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: ¿Cómo enviar a Excel reporte con TPrinter?
Replies: 14
Views: 6032

Re: Impressora

FranciscoA wrote:Para obter o nome da impressora padrão, acho que você pode usar GetPrintDefault( GetActiveWindow() )
Saudações


Isto eu sei.

Quero nome do compartilhamento!!

Printer default -> \\computador\epson lx-300
Share name -> \\computador\epson <<<
Port Name -> LPT1
by Anderson.OL
Mon Jun 01, 2009 3:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Impressora
Replies: 7
Views: 992

Re: Impressora

Para obter o nome da impressora padrão, acho que você pode usar GetPrintDefault( GetActiveWindow() )
Saudações
by FranciscoA
Mon Jun 01, 2009 2:34 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Impressora
Replies: 7
Views: 992

Re: FWH/xHarbour Menus

... dialog // "U" if empty ::nLastKey = 0 ++nDlgCount hActiveWnd = If( ::oWnd != nil, ::oWnd:hWnd,; If( nDlgCount > 1 .or. lWRunning(),; GetActiveWindow(), GetWndApp() ) ) ::lCentered = lCentered ::lModal = lModal ::bLClicked = bLClicked ::bRClicked = bRClicked ::bWhen = bWhen ::bValid ...
by E. Bartzokas
Mon May 25, 2009 3:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH/xHarbour Menus
Replies: 20
Views: 7760

Re: Error impresora en Vista

... //iniciamos impresora PrinterInit() DeleteDC( oDevice:hDC ) // Sugestion by Enrico M. Giordano // temporal printer oDevice:hDC := GetPrintDefault( GetActiveWindow() ) SysRefresh() // default printer again WriteProfString( "windows", "device", cPrinter ) RETURN nil He leido a ...
by Manuel Valdenebro
Tue May 12, 2009 7:52 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error impresora en Vista
Replies: 4
Views: 792

Re:

... //iniciamos impresora PrinterInit() DeleteDC( oDevice:hDC ) // Sugestion by Enrico M. Giordano // temporal printer oDevice:hDC := GetPrintDefault( GetActiveWindow() ) SysRefresh() // default printer again WriteProfString( "windows", "device", cPrinter ) RETURN nil I have now, ...
by Manuel Valdenebro
Tue May 12, 2009 7:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Can not Print in Vista SP1.
Replies: 14
Views: 4253

Re: No Printers installed

I recall having this problem a long time ago. I think my problem was related to GetActiveWindow(). It was a one off program so I did not persue the problem. I think I solved it by passing the main window through as a static to replace the DC ie ... GetPrintDefault( ...
by Jonathan Hodder
Tue May 05, 2009 9:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: No Printers installed
Replies: 2
Views: 1453

Re: How do HIDETASKBAR / HIDESTARTICON functional for DIALOGs ?

... for: I found with Google's help: SIP = Soft Input Panel = keyboard - I didn't knew that If you would also like to hide the SIP SHFullScreen( GetActiveWindow(), SHFS_HIDESIPBUTTON ),;
by Otto
Sun Apr 05, 2009 10:07 am
 
Forum: FiveWin for Pocket PC
Topic: How do HIDETASKBAR / HIDESTARTICON functional for DIALOGs ?
Replies: 2
Views: 559

A mi me funciona de la siguiente forma:

SHELLEXECUTE (GetActiveWindow(), "open", cFichero, ' ', ' ', 5)

Siendo cFichero el nombre del fichero + extensión que quieres abrir.
by Manuel Valdenebro
Wed Dec 03, 2008 8:39 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: LEER INFORMACION PDF
Replies: 3
Views: 766

... Servidor Desconhecido" elseif nStatus = 16777217 ; return "Impressora POWER_SAVE" endif Sino intenta con: LOCAL hDCP := GetPrintDefault(GetActiveWindow()) si da 0 debería ser porque no hay ninguna impresora activa Sino a lo mejor con: LOCAL hDCP := GetPrintDefault(GetActiveWindow()) ...
by karinha
Wed Nov 12, 2008 11:34 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: comprobar si una impresora está fuera de línea o en línea
Replies: 6
Views: 1471

... Servidor Desconhecido" elseif nStatus = 16777217 ; return "Impressora POWER_SAVE" endif Sino intenta con: LOCAL hDCP := GetPrintDefault(GetActiveWindow()) si da 0 debería ser porque no hay ninguna impresora activa Sino a lo mejor con: LOCAL hDCP := GetPrintDefault(GetActiveWindow()) ...
by antolin
Wed Nov 12, 2008 7:06 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: comprobar si una impresora está fuera de línea o en línea
Replies: 6
Views: 1471

getActiveWindow()?

Dear Antonio and friends. I get the handle of dialog when I call the function getActiveWindow(). But, when I try to use oWndFromhWnd( getActiveWindow() ), this function returns to me nothing! Nil. getActiveWindow() -> 2427216 oWndFromhWnd( getActiveWindow() ...
by JC
Mon Sep 08, 2008 2:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: getActiveWindow()?
Replies: 2
Views: 557

GetActiveWindow() --> hWnd It is a Windows API function that returns the Windows handle to the active window associated with the thread that calls the function. GetWndDefault() --> oWnd It is a FWH function that returns ...
by JC
Fri Aug 22, 2008 4:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Get the Active window/dialog?
Replies: 2
Views: 543

GetActiveWindow() --> hWnd

It is a Windows API function that returns the Windows handle to the active window associated with the thread that calls the function.

GetWndDefault() --> oWnd

It is a FWH function that returns the currently managed window or dialog object (FWH object).
by Antonio Linares
Fri Aug 22, 2008 2:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Get the Active window/dialog?
Replies: 2
Views: 543

Get the Active window/dialog?

The best way for get the active window or dialog before activate any another dialog is with the function getActiveWindow() or getWndDefault()

How is the difference really?
by JC
Thu Aug 21, 2008 11:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Get the Active window/dialog?
Replies: 2
Views: 543
PreviousNext

Return to advanced search