Search found 18 matches: hwndnext

Return to advanced search

Re: Hierarchy of windows

... HB_FUNC (GETNEXTWINDOW){   HWND hWnd     = (HWND) HMG_parnl (1);   HWND hWndNext = GetWindow (hWnd, GW_HWNDNEXT);   HMG_retnl ((LONG_PTR) hWndNext );} GW_HWNDNEXT 2 Returns a handle to the window ...
by Jimmy
Wed Aug 10, 2022 8:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Hierarchy of windows
Replies: 6
Views: 528

Re: How to keep a appl. on top of the dialog on resize ?

Both needed solutions are working fine now using FUNCTION TOP_CLOSE(nType) !!! bring on top nType = 1 close nType = 2 Download : http://www.pflegeplus.com/DOWNLOADS/TestPick2.zip #define GW_CHILD 5 #define GW_HWNDNEXT 2 #define SW_RESTORE 9 ,,, ,,, FUNCTION TOP_CLOSE(nType) hWnd := FindWnd( "CO...
by ukoenig
Sat Aug 01, 2015 1:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to keep a appl. on top of the dlg on resize ? (solved)
Replies: 5
Views: 2436

Re: Control ID en un diálogo

Hola ICO coloca estos define, seguro los necesitaras #define GW_HWNDNEXT 2 #define GW_CHILD 5 #define GWL_ID (-12) GW_CHILD es un "flag" que usa la funcion GetWindow, por eso el prefijo (GW) http://msdn.microsoft.com/en-us/library/ms633515(VS.85).aspx GWL es para la fun...
by Daniel Garcia-Gil
Thu Jan 14, 2010 6:00 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Control ID en un diálogo
Replies: 10
Views: 1781

Re: fwh\samples\RE.prg - FiveWin Resources Editor underrated

After a long time I had again a look into re.prg. I changed the code to get the ID of the control into the dialog. But I can’t find out how to do with comboboxes. It would also be fine to have the caption of the says. The dialog is saved to clipboard and you can paste it to your source code. Would y...
by Otto
Sun Aug 30, 2009 6:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: fwh\samples\RE.prg - FiveWin Resources Editor underrated
Replies: 38
Views: 11658

Re: FWH/xHarbour Menus

* DIALOG.PRG (Modified for using a brush to standard window color dialogs) * The brush is called WPAPER2 and it should be included in the .RC file ! // Add this line to your .RC file // WPAPER2 BITMAP "./Bitmaps/WPAPER2.BMP" #include "FiveWin.ch" #include "Constant.ch" ...
by E. Bartzokas
Mon May 25, 2009 3:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH/xHarbour Menus
Replies: 20
Views: 7760

Re:

Muy buenas, es ese el problema que tenía al principio con GetModuleHandle( cNombreAplicacion ) solo me devuelve le handle de los procesos con ventana pero los procesos sin ventana no me devuelve el handle, entonces pense en recoger el handle de todos los procesos y así tener el handle del proceso, p...
by softruz
Mon Jul 07, 2008 10:19 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Terminar proceso sin Ventana
Replies: 13
Views: 1767

Function GetWindow( hCtrl, GW_HWNDNEXT ) not find MDI windows . For this I to used FindWindowEx. Then I want get handles of controls on this MDI window by function GetWindow, but can't do it. I read that can to use EnumChildWindows for it.
by Natter
Mon Jun 23, 2008 9:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: EnumChildWindows
Replies: 5
Views: 1075

AQUI ESTA

AQUI ESTA MI MINI CODIGO LO CHECO Y LO CHECO Y NO VEO NADA RARO. #include "FiveWin.ch" #include "Splitter.ch" #include "xbrowse.ch" #Include "TGraph.Ch" #include "report.ch" #define ID_MEMO 110 #define BLANCO 1 #define ROJO 2 #define AMARILLO 3 #define AZUL 4 #define VERDE 5 static lExit := .F. stat...
by AIDA
Thu Apr 17, 2008 1:25 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: PASA ALGO MUY RARO AL CERRAR MI PROGRAMA(RESUELTO)
Replies: 14
Views: 2870

Antonio, adicionei o código e funcionou, porém ao editar uma célula (leditcol), agora estou tendo que apertar a tecla ESC duas vezes para sair da edição? MINHA TWBROWE: // Modificaciones y Agregados a la TWBrowse version FW2.1 // ====================================================== // 1) Nueva var...
by FWHISHOW
Wed Dec 12, 2007 4:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: TWBROWSE - bkeydown não aceita VK_UP?
Replies: 9
Views: 4177

si eso esta bien, el detalle que encuentro es que ese tipo de ventanas no puedo escanear una parte del nombre, tiene que ser completa, asi que si por el internet explorer tiene abierta una pagina que de nombre sea "Pornografia tu lugar favorito - Microsoft Internet Explorer" esa pagina no se cierra...
by FiveWiDi
Sun Dec 09, 2007 5:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ayuditaa con captura de ventanas
Replies: 11
Views: 2351

Thank you Richard. Does this work on minimized? I tested your code but it does not bring a minimized window to the foreground. This is my test: FindWnd1 is your code FindWnd1 hWnd = 36700336 and cTitle = xRechnung FindWnd the way with INI-file hWnd=38732612 and cTitle = W i n H o t e l * 2007-Juni D...
by Otto
Fri Nov 23, 2007 8:34 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Set Multiple
Replies: 25
Views: 5674

Otto This is a sample #include "FiveWin.ch" #define GW_CHILD 5 #define GW_HWNDNEXT 2 function Main() local oWnd if IsExeRunning( cFileName( HB_ARGV( 0 ) ) ) ShowApplication() else DEFINE WINDOW oWnd TITLE "Test" ACTIVATE WINDOW oWnd endif return nil function ShowApplication() local hWnd := FindWnd( ...
by Richard Chidiak
Fri Nov 23, 2007 8:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Set Multiple
Replies: 25
Views: 5674

Éric,

> If Control be in SysTabControl32( TFolder ), not know how read.

Use GetClassName( hCtrlWnd ) to check for SysTabControl32 and check its childs

> if Control be Disable, GetNextDlgTabItem skip handle control.

Use GetWindow( hWnd, GW_CHILD ) and GW_HWNDNEXT
by Antonio Linares
Thu Mar 08, 2007 11:24 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Read all handles of controls, associate ONLY handle Win/Dlg
Replies: 1
Views: 755

GetWindow/GetModuleFileName

Tested with XP. This code works here with FW but not with FWH. FHW: msginfo(cTask) has always the same value. Regards Otto #INCLUDE "BOX.CH" #INCLUDE "FILEIO.CH" #INCLUDE "FIVEWIN.CH" #INCLUDE "FOLDER.CH" #INCLUDE "INKEY.CH" #INCLUDE "REPORT.CH" #define BIF_RETURNONLYFSDIRS 1 #define BIF_DONTGOBELOW...
by Otto
Fri Jul 28, 2006 8:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: GetWindow/GetModuleFileName
Replies: 3
Views: 889

Here 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_VE...
by Otto
Thu Jul 27, 2006 6:20 pm
 
Forum: FiveWin for CA-Clipper
Topic: VISTA BETA 2- ShowWindow
Replies: 12
Views: 4535
Next

Return to advanced search